|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
B - Type of data for the windowpublic interface GUIWindowDescriptor<B>
Window descriptor.
| Method Summary | ||
|---|---|---|
void |
activateView(GUIWindow<B> window,
GUIView<?> view)
Activates the view in the window. |
|
GUIWindow<B> |
createWindow(GUIApplication application,
B windowData)
Creates a new window. |
|
ActionFactory |
getActionFactory()
Gets the action factory. |
|
GUIAction |
getCloseAction()
Returns the action to call when the window is about to be closed |
|
WindowSize |
getSize()
Returns the size specification |
|
GUIWindow<B> |
getWindow(GUIApplication application,
B windowData)
Gets an already opened window for the given model. |
|
String |
getWindowId(B windowData)
Returns the ID of a window model. |
|
List<GUIWindowListener<B>> |
getWindowListeners()
|
|
void |
hideView(GUIWindow<B> window,
GUIView<?> view)
Hides the view in the window. |
|
void |
onCloseWindow(GUIWindow<B> window)
Action to execute when a window is closed. |
|
void |
onClosingWindow(GUIWindow<B> window)
Action to execute when a window is about to be closed |
|
void |
onOpenedWindow(GUIWindow<B> window)
This method is called when the window is displayed for the very first time |
|
|
openView(GUIWindow<B> parentWindow,
GUIViewDescriptor<V> viewDescriptor,
V viewData)
Opens a view in the window |
|
| Method Detail |
|---|
void activateView(GUIWindow<B> window,
GUIView<?> view)
window - Windowview - View
GUIWindow<B> createWindow(GUIApplication application,
B windowData)
application - Application ownerwindowData - Data for the window
ActionFactory getActionFactory()
GUIAction getCloseAction()
WindowSize getSize()
GUIWindow<B> getWindow(GUIApplication application,
B windowData)
id expression of the window descriptor.
application - Application ownerwindowData - Data for the window
null otherwise.String getWindowId(B windowData)
windowData - Data for the window
List<GUIWindowListener<B>> getWindowListeners()
void hideView(GUIWindow<B> window,
GUIView<?> view)
window - Windowview - Viewvoid onCloseWindow(GUIWindow<B> window)
window - Closed windowvoid onClosingWindow(GUIWindow<B> window)
window - Window to closevoid onOpenedWindow(GUIWindow<B> window)
window - Window which is opened for the very first time
<V> GUIView<V> openView(GUIWindow<B> parentWindow,
GUIViewDescriptor<V> viewDescriptor,
V viewData)
V - Type of data for the viewparentWindow - Parent windowviewDescriptor - Descriptor for the view to openviewData - Data for the view
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||