Class JXTree.TreeAdapter

java.lang.Object
org.jdesktop.swingx.decorator.ComponentAdapter
org.jdesktop.swingx.JXTree.TreeAdapter
Enclosing class:
JXTree

protected static class JXTree.TreeAdapter extends org.jdesktop.swingx.decorator.ComponentAdapter
Author:
Ramesh Gupta, Jeanette Winzenburg
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final JXTree
     

    Fields inherited from class org.jdesktop.swingx.decorator.ComponentAdapter

    column, DEFAULT_COLUMN_IDENTIFIER, row, target
  • Constructor Summary

    Constructors
    Constructor
    Description
    TreeAdapter(JXTree component)
    Constructs a TableCellRenderContext for the specified target component.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getStringAt(int row, int column)
     
    getValueAt(int row, int column)
    boolean
    boolean
    isCellEditable(int row, int column)
    boolean
    boolean
    boolean
    boolean
    boolean

    Methods inherited from class org.jdesktop.swingx.decorator.ComponentAdapter

    convertColumnIndexToModel, convertColumnIndexToView, convertRowIndexToModel, convertRowIndexToView, getColumnClass, getColumnClass, getColumnCount, getColumnIdentifierAt, getColumnIndex, getColumnName, getComponent, getFilteredStringAt, getFilteredValueAt, getRowCount, getString, getString, getValue, getValue, isTestable

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • tree

      private final JXTree tree
  • Constructor Details

    • TreeAdapter

      public TreeAdapter(JXTree component)
      Constructs a TableCellRenderContext for the specified target component.
      Parameters:
      component - the target component
  • Method Details

    • getTree

      public JXTree getTree()
    • hasFocus

      public boolean hasFocus()
      Specified by:
      hasFocus in class org.jdesktop.swingx.decorator.ComponentAdapter
    • getValueAt

      public Object getValueAt(int row, int column)
      Specified by:
      getValueAt in class org.jdesktop.swingx.decorator.ComponentAdapter
    • getStringAt

      public String getStringAt(int row, int column)
      Overrides:
      getStringAt in class org.jdesktop.swingx.decorator.ComponentAdapter
    • getCellBounds

      public Rectangle getCellBounds()
      Overrides:
      getCellBounds in class org.jdesktop.swingx.decorator.ComponentAdapter
    • isEditable

      public boolean isEditable()
      Specified by:
      isEditable in class org.jdesktop.swingx.decorator.ComponentAdapter
    • isSelected

      public boolean isSelected()
      Specified by:
      isSelected in class org.jdesktop.swingx.decorator.ComponentAdapter
    • isExpanded

      public boolean isExpanded()
      Overrides:
      isExpanded in class org.jdesktop.swingx.decorator.ComponentAdapter
    • getDepth

      public int getDepth()
      Overrides:
      getDepth in class org.jdesktop.swingx.decorator.ComponentAdapter
    • isHierarchical

      public boolean isHierarchical()
      Overrides:
      isHierarchical in class org.jdesktop.swingx.decorator.ComponentAdapter
    • isLeaf

      public boolean isLeaf()
      Overrides:
      isLeaf in class org.jdesktop.swingx.decorator.ComponentAdapter
    • isCellEditable

      public boolean isCellEditable(int row, int column)
      Specified by:
      isCellEditable in class org.jdesktop.swingx.decorator.ComponentAdapter