Class PanelSupport

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, JEditTextEditor, VideoPanelWrapper, WindowSupport

public class PanelSupport extends Object implements Panel, Synchronizer.Callback, RegistryContext
  • Field Details

  • 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

      public final Panel initialize(Panel ws, Map params)
      Specified by:
      initialize in interface Panel
    • initDecorator

      public void initDecorator(Panel decorator)
      Specified by:
      initDecorator in interface Panel
    • getDecorator

      public Panel getDecorator()
      Specified by:
      getDecorator in interface Panel
    • getUIPropertyMap

      public Map getUIPropertyMap()
      Specified by:
      getUIPropertyMap in interface Panel
    • configure

      protected void configure(Map params)
    • getPanelId

      public String getPanelId()
      Specified by:
      getPanelId in interface Panel
    • getWorkbench

      public Workbench getWorkbench()
      Description copied from interface: Context
      Determines the workbench of this GUI context.
      Specified by:
      getWorkbench in interface Context
      Returns:
      this context's workbench
    • getWindow

      public Window getWindow()
      Description copied from interface: Context
      Determines the window of this GUI context.
      Specified by:
      getWindow in interface Context
      Returns:
      this context's window
    • getPanel

      public Panel getPanel()
      Description copied from interface: Context
      Determines the panel of this GUI context.
      Specified by:
      getPanel in interface Context
      Returns:
      this context's panel
    • getComponent

      public Object getComponent()
      Description copied from interface: Context
      Determines the GUI component of this GUI context.
      Specified by:
      getComponent in interface Context
      Returns:
      this context's component
    • getRegistry

      public Registry getRegistry()
      Description copied from interface: RegistryContext
      Returns the Registry which is linked with this instance.
      Specified by:
      getRegistry in interface RegistryContext
      Returns:
      the registry linked with this instance
    • resolve

      public Panel resolve()
      Specified by:
      resolve in interface Panel
    • run

      public Object run(int action, int iarg, Object arg, Object arg2)
      Specified by:
      run in interface Synchronizer.Callback
    • setMenu

      public void setMenu(UITree t)
      Specified by:
      setMenu in interface Panel
    • getMenu

      public UITree getMenu()
      Specified by:
      getMenu in interface Panel
    • setContent

      public void setContent(ComponentWrapper content)
      Specified by:
      setContent in interface Panel
    • getContent

      public ComponentWrapper getContent()
      Specified by:
      getContent in interface Panel
    • dispose

      public void dispose()
      Specified by:
      dispose in interface Disposable
    • show

      public final void show(boolean moveToFront, Panel keepInFront)
      Specified by:
      show in interface Panel
    • hide

      public final void hide()
    • setCursor

      public void setCursor(int cursor)
      Specified by:
      setCursor in interface Panel
    • disposeImpl

      protected void disposeImpl()
    • checkClose

      public void checkClose(Runnable ok)
    • executeCheckClose

      protected void executeCheckClose(Runnable ok)
    • checkClose

      public void checkClose(Command ok)
      Specified by:
      checkClose in interface Panel
    • toString

      public String toString()
      Overrides:
      toString in class Object