Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ix.iview
Class AROEditorPanel.ClassTreeTableModel

    java.lang.Object
      javax.swing.table.AbstractTableModel
          ix.iface.ui.table.AbstractIXTableModel
              ix.iface.ui.table.AbstractTreeTableModel
                  ix.iview.AROEditorPanel.ClassTreeTableModel

All Implemented Interfaces:
  TableMouseListener, java.io.Serializable, javax.swing.table.TableModel

Enclosing class:
  AROEditorPanel

    public class AROEditorPanel.ClassTreeTableModel

extends AbstractTreeTableModel

See Also:
  Serialized Form

Nested Class Summary

Nested classes/interfaces inherited from class ix.iface.ui.table.AbstractIXTableModel
`AbstractIXTableModel.TableMarkListener`

Field Summary
`protected UIDomain` | `uiDomain`

Fields inherited from class ix.iface.ui.table.AbstractTreeTableModel
`CLOSEDC, CLOSEDI, INDENT_STEP, LEAFC, LEAFI, nameColumn, nodeMap, nodes, OPENC, OPENI, treeIconColumn`

Fields inherited from class ix.iface.ui.table.AbstractIXTableModel
`columnClasses, columnFields, columnNames, markedRows, objectClass, rows, rowsMarkable`

Fields inherited from class javax.swing.table.AbstractTableModel
`listenerList`

Constructor Summary
`AROEditorPanel.ClassTreeTableModel(UIDomain uiDomain)`

Method Summary
`java.lang.Object` | `getCellValueAt(java.lang.Object o, int columnIndex)` Gets the cell value for normal cells (only one - the pattern).
`java.lang.String` | `getNameString(javax.swing.tree.TreeNode node)` Gets the name string for the given row object.
`protected java.util.List` | `getProperties(IXTNTreeTableNode iNode)`
`IXTreeTableNode` | `makeIXTreeTableNode(java.lang.Object theNode)` Makes an IXTreeTableNode from the given object.
`void` | `reloadData()` Looks up all object classes and updates the tree model from them.
`(package private) void` | `setColumnNames()` Gets the strings that are to be used as column names.
`void` | `setDomain(UIDomain domain)`

Methods inherited from class ix.iface.ui.table.AbstractTreeTableModel
`addData, addTreeNode, addTreeTableModelListener, cellClicked, clearData, clearTable, deriveColumnFields, expandNode, fireNodeStructureChanged, fireObjectChanged, fireTreeStructureChanged, forceExpandNode, getNodeRow, getObjectRow, getParentsBold, getRowNode, getRowObject, getTreeNode, getTreeNode, getTreeNodeType, getTreeValueAt, getValueAt, isCellEditable, isExpanding, isParentsBold, ixTTNListToString, makeIXTreeTableNode, removeChildData, removeChildren, removeData, removeDataNode, removeNodes, removeTreeNode, setColumnFields, setColumnNames, setColumnPlaces, setData, setData, setParentsBold, unexpandNode, updateData`

Methods inherited from class ix.iface.ui.table.AbstractIXTableModel
`addData, addMarkListener, clearMarks, defaultGetCellValueAt, defaultSetColumnFields, fireTableMarkAdded, fireTableMarkCleared, fireTableMarkedAll, fireTableMarkRemoved, getColumnClass, getColumnCount, getColumnName, getColumnNames, getData, getMarkedObjects, getMarkedRows, getRowCount, isMarkable, isMarked, isMarkedEmpty, markAll, markRow, removeMarkListener, replaceData, setColumnClasses, setValueAt, unmarkRow`

Methods inherited from class javax.swing.table.AbstractTableModel
`addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### uiDomain

    protected UIDomain uiDomain

Constructor Detail

### AROEditorPanel.ClassTreeTableModel

    public AROEditorPanel.ClassTreeTableModel(UIDomain uiDomain)

Method Detail

### setDomain

    public void setDomain(UIDomain domain)

### makeIXTreeTableNode

    public IXTreeTableNode makeIXTreeTableNode(java.lang.Object theNode)

  Makes an IXTreeTableNode from the given object. If the given object is not a TreeNode already, uses the domain to get the object's UIObject.

  Specified by:
    `makeIXTreeTableNode` in class `AbstractTreeTableModel`

### getCellValueAt

    public java.lang.Object getCellValueAt(java.lang.Object o,
                                           int columnIndex)

  Gets the cell value for normal cells (only one - the pattern). The name cell is done in the AbstractTreeTableModel method getTreeValueAt.

  Specified by:
    `getCellValueAt` in class `AbstractTreeTableModel`
  Returns:
    the value as an object, null for illegal columns.

### getNameString

    public java.lang.String getNameString(javax.swing.tree.TreeNode node)

  Gets the name string for the given row object.

  Specified by:
    `getNameString` in class `AbstractTreeTableModel`

### setColumnNames

    void setColumnNames()

  Gets the strings that are to be used as column names.

### getProperties

    protected java.util.List getProperties(IXTNTreeTableNode iNode)

### reloadData

    public void reloadData()

  Looks up all object classes and updates the tree model from them. This method retains the expansion information.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD