Class AbstractTree

All Implemented Interfaces:
FocusListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible
Direct Known Subclasses:
Tree

@OpenApi public abstract class AbstractTree extends ExtendedPanel
The abstract tree used in MagicDraw browser. This class is used as wrapper for Swing JTree. To access actual Swing tree, use method getTree().
See Also:
  • Method Details

    • getTree

      @OpenApi public final JTree getTree()
      Returns wrapped Swing JTree.
      Returns:
      wrapped tree.
    • getRootNode

      @OpenApi public DefaultMutableTreeNode getRootNode()
      Returns root node of the tree.
      Returns:
      root node.
    • open

      @OpenApi public void open()
      Activates or opens (if was closed) this tree in the UI.