Class SwingTree

All Implemented Interfaces:
Command, ComponentWrapper, Disposable, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, CellEditorListener, Scrollable

public class SwingTree extends JTree implements ComponentWrapper, Command, CellEditorListener
See Also:
  • Method Details

    • editingStopped

      public void editingStopped(ChangeEvent e)
      Specified by:
      editingStopped in interface CellEditorListener
    • editingCanceled

      public void editingCanceled(ChangeEvent e)
      Specified by:
      editingCanceled in interface CellEditorListener
    • updateUI

      public void updateUI()
      Overrides:
      updateUI in class JTree
    • convertValueToText

      public String convertValueToText(Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)
      Overrides:
      convertValueToText in class JTree
    • getComponent

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

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

      public UITree getUITree()
    • getNode

      public static Object getNode(Object node)
    • getCommandName

      public String getCommandName()
      Description copied from interface: Command
      Returns a name which can be used in the graphical user interface to represent this command.
      Specified by:
      getCommandName in interface Command
      Returns:
      this commands's name
    • run

      public void run(Object info, Context ctx)
      Description copied from interface: Command
      Performs the actions of this command. This method is invoked by the JobManager after the command has been submitted to the job manager by one of execute, runAt, or runLater-methods. The arguments info and context are the arguments which have been provided as arguments to the JobManager-methods.
      Specified by:
      run in interface Command
      Parameters:
      info - an argument
      ctx - a context
    • setRowHeight

      public void setRowHeight(int rowHeight)
      Overrides:
      setRowHeight in class JTree