|
NextApp Echo3 Extras v3.0.b8 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo.extras.app.tree.AbstractTreeModel
public abstract class AbstractTreeModel
| Field Summary | |
|---|---|
protected EventListenerList |
listenerList
|
| Constructor Summary | |
|---|---|
AbstractTreeModel()
|
|
| Method Summary | |
|---|---|
void |
addTreeModelListener(TreeModelListener l)
Adds a TreeModelListener to receive notification of events. |
protected void |
fireTreeNodesChanged(Object source,
Object[] path,
int[] childIndices,
Object[] children)
Notifies all listeners that have registered interest for notification on this event type. |
protected void |
fireTreeNodesInserted(Object source,
Object[] path,
int[] childIndices,
Object[] children)
Notifies all listeners that have registered interest for notification on this event type. |
protected void |
fireTreeNodesRemoved(Object source,
Object[] path,
int[] childIndices,
Object[] children)
Notifies all listeners that have registered interest for notification on this event type. |
protected void |
fireTreeStructureChanged(Object source,
Object[] path,
int[] childIndices,
Object[] children)
Notifies all listeners that have registered interest for notification on this event type. |
Class |
getColumnClass(int column)
Returns the type for the specified column index. |
String |
getColumnName(int column)
Returns column names using a "spreadsheet-style" convention, i.e., A, B, C...Y, Z, AA, AB, AC... |
void |
removeTreeModelListener(TreeModelListener l)
Removes a TreeModelListener from receiving notification of events. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface nextapp.echo.extras.app.tree.TreeModel |
|---|
getChild, getChildCount, getColumnCount, getIndexOfChild, getRoot, getValueAt, isLeaf |
| Field Detail |
|---|
protected EventListenerList listenerList
| Constructor Detail |
|---|
public AbstractTreeModel()
| Method Detail |
|---|
public void addTreeModelListener(TreeModelListener l)
TreeModelTreeModelListener to receive notification of events.
addTreeModelListener in interface TreeModell - the listener to removeTreeModel.addTreeModelListener(nextapp.echo.extras.app.event.TreeModelListener)public void removeTreeModelListener(TreeModelListener l)
TreeModelTreeModelListener from receiving notification of events.
removeTreeModelListener in interface TreeModell - the listener to removeTreeModel.removeTreeModelListener(nextapp.echo.extras.app.event.TreeModelListener)public String getColumnName(int column)
getColumnName in interface TreeModelcolumn - the column index
TreeModel.getColumnName(int)public Class getColumnClass(int column)
TreeModel
getColumnClass in interface TreeModelcolumn - the column index
TreeModel.getColumnClass(int)
protected void fireTreeNodesChanged(Object source,
Object[] path,
int[] childIndices,
Object[] children)
source - the node being changedpath - the path to the root nodechildIndices - the indices of the changed elementschildren - the changed elementsEventListenerList
protected void fireTreeNodesInserted(Object source,
Object[] path,
int[] childIndices,
Object[] children)
source - the node where new elements are being insertedpath - the path to the root nodechildIndices - the indices of the new elementschildren - the new elementsEventListenerList
protected void fireTreeNodesRemoved(Object source,
Object[] path,
int[] childIndices,
Object[] children)
source - the node where elements are being removedpath - the path to the root nodechildIndices - the indices of the removed elementschildren - the removed elementsEventListenerList
protected void fireTreeStructureChanged(Object source,
Object[] path,
int[] childIndices,
Object[] children)
source - the node where the tree model has changedpath - the path to the root nodechildIndices - the indices of the affected elementschildren - the affected elementsEventListenerList
|
NextApp Echo3 Extras v3.0.b8 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||