javax.rad.application
Interface IWorkScreen

All Superinterfaces:
IComponent, IContent, IMessageConstants, IResource
All Known Implementing Classes:
RemoteWorkScreen, WorkScreen

public interface IWorkScreen
extends IContent, IMessageConstants

Platform and technology independent work screen definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .


Field Summary
 
Fields inherited from interface javax.rad.application.IMessageConstants
MESSAGE_BUTTON_OK, MESSAGE_BUTTON_OK_CANCEL, MESSAGE_BUTTON_YES_NO, MESSAGE_ICON_ERROR, MESSAGE_ICON_INFO, MESSAGE_ICON_QUESTION, MESSAGE_ICON_WARNING
 
Method Summary
 IWorkScreenApplication getApplication()
          Gets the main application of this work-screen.
 boolean isModal()
          Returns the modal state of this workscreen.
 void reload()
          Reloads the workscreen and discard changes.
 void save()
          Saves the workscreen changes.
 void setModal(boolean pModal)
          Sets whether this workscreen should be modal.
 
Methods inherited from interface javax.rad.application.IContent
getOpener, notifyDestroy, notifyVisible, setOpener
 
Methods inherited from interface javax.rad.ui.IComponent
capture, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getCursor, getFactory, getFont, getForeground, getLocation, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getToolTipText, isBackgroundSet, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isVisible, requestFocus, setBackground, setBounds, setCursor, setEnabled, setFocusable, setFont, setForeground, setLocation, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setSize, setToolTipText, setVisible
 
Methods inherited from interface javax.rad.ui.IResource
getResource
 

Method Detail

getApplication

IWorkScreenApplication getApplication()
Gets the main application of this work-screen.

Returns:
the main application base

save

void save()
          throws Exception
Saves the workscreen changes.

Throws:
Exception - if the save process failed

reload

void reload()
            throws Exception
Reloads the workscreen and discard changes.

Throws:
Exception - if the save process failed

isModal

boolean isModal()
Returns the modal state of this workscreen.

Returns:
true if this workscreen should be modal, otherwise false

setModal

void setModal(boolean pModal)
Sets whether this workscreen should be modal.

Parameters:
pModal - true if this workscreen should be modal, otherwise false


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.