Module platform

Class PanelDecorator

java.lang.Object
de.grogra.pf.ui.PanelDecorator
All Implemented Interfaces:
Context, Panel, Disposable
Direct Known Subclasses:
View

public class PanelDecorator extends Object implements Panel
This is a decorator class for Panels.
Author:
Ole Kniemeyer
  • Field Details

    • panel

      protected Panel panel
    • decorator

      protected Panel decorator
  • Constructor Details

    • PanelDecorator

      public PanelDecorator()
  • Method Details

    • initPanel

      public void initPanel(Panel panel)
    • getUIPropertyMap

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

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

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

      public void setMenu(UITree menu)
      Specified by:
      setMenu 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
    • 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
    • initDecorator

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

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

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

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

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

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

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

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