java.lang.Object
de.grogra.pf.ui.swing.PanelSupport
- All Implemented Interfaces:
RegistryContext
,Context
,Panel
,Synchronizer.Callback
,Disposable
- Direct Known Subclasses:
AutoCompletableTextEditorSupport
,Curve2DPanel
,Curve3DPanel
,JConsole
,VideoPanelWrapper
,WindowSupport
-
Field Summary
Modifier and TypeFieldDescriptionprotected ModifiableMap.Producer
protected MappedComponentModel
protected static final int
protected final AWTSynchronizer
protected WindowSupport
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
ModifierConstructorDescriptionprotected
PanelSupport
(de.grogra.pf.ui.swing.RootPane frame) protected
PanelSupport
(de.grogra.pf.ui.swing.SwingDockable dpanel) -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkClose
(Command ok) void
checkClose
(Runnable ok) protected void
void
dispose()
protected void
protected void
Determines the GUI component of this GUI context.getMenu()
getPanel()
Determines the panel of this GUI context.Returns theRegistry
which is linked with this instance.Determines the window of this GUI context.Determines the workbench of this GUI context.final void
hide()
void
initDecorator
(Panel decorator) final Panel
initialize
(Panel ws, Map params) resolve()
void
setContent
(ComponentWrapper content) void
setCursor
(int cursor) void
final void
toString()
-
Field Details
-
ws
-
mapProducer
-
sync
-
MIN_UNUSED_ACTION
protected static final int MIN_UNUSED_ACTION- See Also:
-
-
Constructor Details
-
PanelSupport
protected PanelSupport(de.grogra.pf.ui.swing.SwingDockable dpanel) -
PanelSupport
protected PanelSupport(de.grogra.pf.ui.swing.RootPane frame)
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfacePanel
-
initDecorator
- Specified by:
initDecorator
in interfacePanel
-
getDecorator
- Specified by:
getDecorator
in interfacePanel
-
getUIPropertyMap
- Specified by:
getUIPropertyMap
in interfacePanel
-
configure
-
getPanelId
- Specified by:
getPanelId
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
-
getRegistry
Description copied from interface:RegistryContext
Returns theRegistry
which is linked with this instance.- Specified by:
getRegistry
in interfaceRegistryContext
- Returns:
- the registry linked with this instance
-
resolve
-
run
- Specified by:
run
in interfaceSynchronizer.Callback
-
setMenu
-
getMenu
-
setContent
- Specified by:
setContent
in interfacePanel
-
getContent
- Specified by:
getContent
in interfacePanel
-
dispose
public void dispose()- Specified by:
dispose
in interfaceDisposable
-
show
-
hide
public final void hide() -
setCursor
public void setCursor(int cursor) -
disposeImpl
protected void disposeImpl() -
checkClose
-
executeCheckClose
-
checkClose
- Specified by:
checkClose
in interfacePanel
-
toString
-