|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.AbstractTableModel ix.iface.ui.table.AbstractIXTableModel ix.iface.ui.table.AbstractTreeTableModel ix.iview.table.ActionTreeTableModel
public class ActionTreeTableModel
A TreeTableModel that can display Refinement and Node objects.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ix.iface.ui.table.AbstractIXTableModel |
---|
AbstractIXTableModel.TableMarkListener |
Field Summary | |
---|---|
protected int |
PATTERN_COL
|
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 | |
---|---|
ActionTreeTableModel(boolean markable,
UIDomain uiDomain)
|
Method Summary | |
---|---|
void |
constructAdded(DomainEvent e)
|
void |
constructAdded(UIDomainEvent e)
Called when a UI construct is added. |
void |
constructEdited(UIDomainEvent e)
Called when a UI construct is edited. |
void |
constructRemoved(UIDomainEvent e)
Called when a UI construct is removed. |
void |
domainCleared(UIDomainEvent e)
Called when the domain is cleared. |
void |
domainEdited(UIDomainEvent e)
Called when the domain's own fields changed (currently only name). |
void |
domainSet(UIDomainEvent e)
Called when the domain is added. |
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 LList |
getPattern(IXTNTreeTableNode iNode)
|
boolean |
getSort()
|
boolean |
isOwnObject(java.lang.Object o)
|
IXTreeTableNode |
makeIXTreeTableNode(java.lang.Object theNode)
Makes an IXTreeTableNode from the given object. |
void |
refinementAdded(RefinementEvent e)
|
void |
refinementRemoved(RefinementEvent e)
|
void |
reloadData()
Looks up all refinements and updates the tree model from them. |
void |
resetData()
Looks up all refinements and builds the tree model from them, discarding previous data. |
(package private) void |
setColumnNames()
Gets the strings that are to be used as column names. |
void |
setDomain(UIDomain domain)
|
void |
setSort(boolean sortIt)
|
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 |
---|
protected UIDomain uiDomain
protected int PATTERN_COL
Constructor Detail |
---|
public ActionTreeTableModel(boolean markable, UIDomain uiDomain)
Method Detail |
---|
public void setDomain(UIDomain domain)
public IXTreeTableNode makeIXTreeTableNode(java.lang.Object theNode)
makeIXTreeTableNode
in class AbstractTreeTableModel
public java.lang.Object getCellValueAt(java.lang.Object o, int columnIndex)
getCellValueAt
in class AbstractTreeTableModel
public java.lang.String getNameString(javax.swing.tree.TreeNode node)
getNameString
in class AbstractTreeTableModel
void setColumnNames()
protected LList getPattern(IXTNTreeTableNode iNode)
public void reloadData()
public void resetData()
public void setSort(boolean sortIt)
public boolean getSort()
public boolean isOwnObject(java.lang.Object o)
public void refinementAdded(RefinementEvent e)
public void refinementRemoved(RefinementEvent e)
public void constructAdded(UIDomainEvent e)
UIDomainListener
constructAdded
in interface UIDomainListener
public void constructAdded(DomainEvent e)
constructAdded
in interface UIDomainListener
public void constructRemoved(UIDomainEvent e)
UIDomainListener
constructRemoved
in interface UIDomainListener
public void constructEdited(UIDomainEvent e)
UIDomainListener
constructEdited
in interface UIDomainListener
public void domainCleared(UIDomainEvent e)
UIDomainListener
domainCleared
in interface UIDomainListener
public void domainEdited(UIDomainEvent e)
UIDomainListener
domainEdited
in interface UIDomainListener
public void domainSet(UIDomainEvent e)
UIDomainListener
domainSet
in interface UIDomainListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |