Module cli

Class CLIComponent

java.lang.Object
de.grogra.cli.ui.CLIComponent
All Implemented Interfaces:
ExecutableComponent, ComponentWrapper, Disposable
Direct Known Subclasses:
CLIAttributeEditorPanel, CLIContainer, CLIMenuComponent, CLIUITree

public class CLIComponent extends Object implements ComponentWrapper, ExecutableComponent
  • Constructor Details

    • CLIComponent

      public CLIComponent()
    • CLIComponent

      public CLIComponent(String name)
  • Method Details

    • dispose

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

      public Object getComponent()
      Specified by:
      getComponent in interface ComponentWrapper
    • getTreeLock

      public final Object getTreeLock()
    • getParent

      public CLIContainer getParent()
    • show

      public void show()
    • isShowable

      public boolean isShowable()
    • setShowable

      public void setShowable(boolean s)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getContent

      public Object getContent()
    • setContent

      public void setContent(Object content)
    • getVisible

      public boolean getVisible()
    • setVisible

      public void setVisible(boolean v)
    • getSupport

      public CLIPanelSupport getSupport()
    • getRootParent

      public CLIComponent getRootParent()
    • run

      public void run(String s, Object info)
      Description copied from interface: ExecutableComponent
      An interface to define ComponentWrapper whose component can be run.
      Specified by:
      run in interface ExecutableComponent