java.lang.Object
de.grogra.pf.ui.PanelDecorator
- All Implemented Interfaces:
Context,Panel,Disposable
- Direct Known Subclasses:
View
This is a decorator class for
Panels.- Author:
- Ole Kniemeyer
-
Field Summary
FieldsFields inherited from interface de.grogra.pf.ui.Panel
DEC_WAIT_CURSOR, DEFAULT_CURSOR, INC_WAIT_CURSOR, INHERIT_CURSOR, PANEL_ID, WAIT_CURSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckClose(Command ok) voiddispose()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.voidinitDecorator(Panel decorator) initialize(Panel ws, Map params) voidresolve()voidsetContent(ComponentWrapper content) voidsetCursor(int cursor) voidvoid
-
Field Details
-
panel
-
decorator
-
-
Constructor Details
-
PanelDecorator
public PanelDecorator()
-
-
Method Details
-
initPanel
-
getUIPropertyMap
- Specified by:
getUIPropertyMapin interfacePanel
-
getPanelId
- Specified by:
getPanelIdin interfacePanel
-
getMenu
-
setMenu
-
setContent
- Specified by:
setContentin interfacePanel
-
getContent
- Specified by:
getContentin interfacePanel
-
getWorkbench
Description copied from interface:ContextDetermines the workbench of this GUI context.- Specified by:
getWorkbenchin interfaceContext- Returns:
- this context's workbench
-
getWindow
Description copied from interface:ContextDetermines the window of this GUI context. -
getPanel
Description copied from interface:ContextDetermines the panel of this GUI context. -
getComponent
Description copied from interface:ContextDetermines the GUI component of this GUI context.- Specified by:
getComponentin interfaceContext- Returns:
- this context's component
-
initDecorator
- Specified by:
initDecoratorin interfacePanel
-
getDecorator
- Specified by:
getDecoratorin interfacePanel
-
resolve
-
dispose
public void dispose()- Specified by:
disposein interfaceDisposable
-
show
-
checkClose
- Specified by:
checkClosein interfacePanel
-
setCursor
public void setCursor(int cursor) -
initialize
- Specified by:
initializein interfacePanel
-