|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IWorkScreenApplication
Platform and technology independent definition for an application with work-screens. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .
| Nested Class Summary | |
|---|---|
static class |
IWorkScreenApplication.Modality
The enum for modal content or workscreens. |
| Field Summary |
|---|
| Fields inherited from interface javax.rad.application.IMessageConstants |
|---|
MESSAGE_BUTTON_OK, MESSAGE_BUTTON_OK_CANCEL, MESSAGE_BUTTON_YES_NO, MESSAGE_BUTTON_YES_NO_CANCEL, MESSAGE_ICON_ERROR, MESSAGE_ICON_INFO, MESSAGE_ICON_QUESTION, MESSAGE_ICON_WARNING |
| Method Summary | |
|---|---|
void |
close(IContent pContent)
Closes the given content. |
IContent[] |
getContents()
Gets all open contents. |
java.lang.String[] |
getRoles()
Gets all roles of the current user. |
IWorkScreen[] |
getWorkScreens()
Gets all open work screens. |
boolean |
hasRole(java.lang.String pRoleName)
Gets true, of the current user has the given role. |
void |
openContent(IComponent pOpener,
java.lang.String pTitle,
boolean pModal,
IContent pContent)
Opens a content in an internal frame. |
IContent |
openContent(IComponent pOpener,
java.lang.String pTitle,
boolean pModal,
java.lang.String pClassName,
java.lang.Object... pParameter)
Opens content in an internal frame. |
IWorkScreen |
openWorkScreen(java.lang.String pClassName,
IWorkScreenApplication.Modality pModality,
java.util.Map<java.lang.String,java.lang.Object> pParameter)
Opens a work screen. |
| Methods inherited from interface javax.rad.application.IApplication |
|---|
getApplicationPane, getContentPane, getLauncher, showMessage |
| Methods inherited from interface javax.rad.application.IContent |
|---|
getOpener, isDestroyed, notifyDestroy, notifyVisible, setOpener |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Method Detail |
|---|
IWorkScreen openWorkScreen(java.lang.String pClassName,
IWorkScreenApplication.Modality pModality,
java.util.Map<java.lang.String,java.lang.Object> pParameter)
throws java.lang.Throwable
pClassName - the class name of the work screenpModality - the modality modepParameter - the work screen parameters
java.lang.Throwable - if the content could not be initializedIWorkScreen[] getWorkScreens()
java.lang.String[] getRoles()
boolean hasRole(java.lang.String pRoleName)
pRoleName - the name of the role
true if the user has the specified role
void openContent(IComponent pOpener,
java.lang.String pTitle,
boolean pModal,
IContent pContent)
throws java.lang.Throwable
pOpener - the component which opened the contentpTitle - the title of the internal frame.pModal - the modal flag.pContent - the content that will be shown
java.lang.Throwable - if the content could not be initialized
IContent openContent(IComponent pOpener,
java.lang.String pTitle,
boolean pModal,
java.lang.String pClassName,
java.lang.Object... pParameter)
throws java.lang.Throwable
pOpener - the component which opened the contentpTitle - the title of the internal frame.pModal - the modal flag.pClassName - the class name of the content.pParameter - the constructor parameter of the content.
java.lang.Throwable - if the content could not be initializedIContent[] getContents()
void close(IContent pContent)
pContent - the content to close.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||