java.lang.Object
de.grogra.pf.ui.PanelDecorator
- All Implemented Interfaces:
Context
,Panel
,Disposable
- Direct Known Subclasses:
View
This is a decorator class for
Panel
s.- Author:
- Ole Kniemeyer
-
Field Summary
Fields inherited from interface de.grogra.pf.ui.Panel
DEC_WAIT_CURSOR, DEFAULT_CURSOR, INC_WAIT_CURSOR, INHERIT_CURSOR, PANEL_ID, WAIT_CURSOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkClose
(Command ok) void
dispose()
Determines the GUI component of this GUI context.getMenu()
getPanel()
Determines the panel of this GUI context.Determines the window of this GUI context.Determines the workbench of this GUI context.void
initDecorator
(Panel decorator) initialize
(Panel ws, Map params) void
resolve()
void
setContent
(ComponentWrapper content) void
setCursor
(int cursor) void
void
-
Field Details
-
panel
-
decorator
-
-
Constructor Details
-
PanelDecorator
public PanelDecorator()
-
-
Method Details
-
initPanel
-
getUIPropertyMap
- Specified by:
getUIPropertyMap
in interfacePanel
-
getPanelId
- Specified by:
getPanelId
in interfacePanel
-
getMenu
-
setMenu
-
setContent
- Specified by:
setContent
in interfacePanel
-
getContent
- Specified by:
getContent
in interfacePanel
-
getWorkbench
Description copied from interface:Context
Determines the workbench of this GUI context.- Specified by:
getWorkbench
in interfaceContext
- Returns:
- this context's workbench
-
getWindow
Description copied from interface:Context
Determines the window of this GUI context. -
getPanel
Description copied from interface:Context
Determines the panel of this GUI context. -
getComponent
Description copied from interface:Context
Determines the GUI component of this GUI context.- Specified by:
getComponent
in interfaceContext
- Returns:
- this context's component
-
initDecorator
- Specified by:
initDecorator
in interfacePanel
-
getDecorator
- Specified by:
getDecorator
in interfacePanel
-
resolve
-
dispose
public void dispose()- Specified by:
dispose
in interfaceDisposable
-
show
-
checkClose
- Specified by:
checkClose
in interfacePanel
-
setCursor
public void setCursor(int cursor) -
initialize
- Specified by:
initialize
in interfacePanel
-