|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jidesoft.grid.AbstractNode
com.jidesoft.grid.AbstractExpandable
com.jidesoft.grid.DefaultExpandable
com.jidesoft.grid.DefaultExpandableRow
com.jidesoft.grid.RootExpandableRow
public class RootExpandableRow
An expandable row used at the root for TreeTableModel.
| Field Summary |
|---|
| Fields inherited from class com.jidesoft.grid.DefaultExpandable |
|---|
_children, EMPTY_ENUMERATION, PROPERTY_CHILDREN |
| Fields inherited from class com.jidesoft.grid.AbstractExpandable |
|---|
_expandable, _expanded |
| Fields inherited from class com.jidesoft.grid.AbstractNode |
|---|
_parent, PROPERTY_PARENT |
| Fields inherited from interface com.jidesoft.grid.Expandable |
|---|
PROPERTY_EXPANDABLE, PROPERTY_EXPANDED |
| Fields inherited from interface com.jidesoft.grid.Node |
|---|
PROPERTY_ADJUSTING |
| Constructor Summary | |
|---|---|
RootExpandableRow(TreeTableModel treeTableModel)
|
|
| Method Summary | |
|---|---|
int |
getLevel()
Gets the level of the expandable. |
Node |
getNextSibling()
Gets the next sibling if any. |
Expandable |
getParent()
Gets the parent of this expandable. |
Node |
getPreviousSibling()
Gets previous sibling of current node. |
TreeTableModel |
getTreeTableModel()
Gets the TreeTableModel for this root row. |
Object |
getValueAt(int columnIndex)
Gets the value for cell at columnIndex |
boolean |
isExpandable()
Checks if it is expandable. |
boolean |
isExpanded()
Is this expandable expanded. |
void |
notifyCellUpdated(Object child,
int columnIndex)
Notifies the child is updated. |
void |
notifyChildDeleted(Object child)
Notifies a child is deleted. |
void |
notifyChildInserted(Object child,
int childIndex)
Notifies the child is inserted as the specified index of this expandable. |
void |
notifyChildrenDeleted(List<? extends Row> children)
Notifies the children are deleted. |
void |
notifyChildrenInserted(List children,
int firstVisualIndex)
Notifies the children are inserted as the specified index arrange of this expandable. |
void |
notifyChildrenUpdated(List<? extends Row> children)
Notifies the children are updated. |
void |
notifyChildUpdated(Object child)
Notifies the child is updated. |
| Methods inherited from class com.jidesoft.grid.DefaultExpandableRow |
|---|
cellUpdated, getCellClassAt, getConverterContextAt, getEditorContextAt, isCellEditable, rowUpdated, setValueAt |
| Methods inherited from class com.jidesoft.grid.DefaultExpandable |
|---|
breadthFirstEnumeration, depthFirstEnumeration, getChildren, postorderEnumeration, preorderEnumeration, setChildren |
| Methods inherited from class com.jidesoft.grid.AbstractExpandable |
|---|
addChild, addChild, addChildren, getAllChildrenCount, getAllVisibleChildrenCount, getChildAt, getChildIndex, getChildrenCount, getNumberOfVisibleChildren, getNumberOfVisibleExpandable, hasChildren, hasVisibleChildren, isAdjusting, moveDownChild, moveUpChild, removeAllChildren, removeChild, removeChildren, setAdjusting, setExpandable, setExpanded |
| Methods inherited from class com.jidesoft.grid.AbstractNode |
|---|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.jidesoft.grid.Expandable |
|---|
addChild, addChild, addChildren, getAllVisibleChildrenCount, getChildAt, getChildIndex, getChildren, getChildrenCount, getNumberOfVisibleExpandable, hasChildren, moveDownChild, moveUpChild, removeAllChildren, removeChild, removeChildren, setChildren, setExpandable, setExpanded |
| Methods inherited from interface com.jidesoft.grid.Node |
|---|
setParent |
| Constructor Detail |
|---|
public RootExpandableRow(TreeTableModel treeTableModel)
| Method Detail |
|---|
public Object getValueAt(int columnIndex)
RowcolumnIndex
columnIndex - the column whose value to be queried
public int getLevel()
AbstractNode
getLevel in interface NodegetLevel in class AbstractNodepublic boolean isExpandable()
Expandable
isExpandable in interface ExpandableisExpandable in class AbstractExpandablepublic boolean isExpanded()
AbstractExpandable
isExpanded in interface ExpandableisExpanded in class AbstractExpandablepublic Expandable getParent()
AbstractNode
getParent in interface NodegetParent in class AbstractNodepublic Node getPreviousSibling()
Node
getPreviousSibling in interface NodegetPreviousSibling in class AbstractNodepublic Node getNextSibling()
AbstractNode
getNextSibling in interface NodegetNextSibling in class AbstractNode
public void notifyChildInserted(Object child,
int childIndex)
Expandable
notifyChildInserted in interface ExpandablenotifyChildInserted in class AbstractExpandablechild - the child which is inserted.childIndex - the index where it is inserted. -1 if the child is inserted as the last one.
public void notifyChildrenInserted(List children,
int firstVisualIndex)
Expandable
notifyChildrenInserted in interface ExpandablenotifyChildrenInserted in class AbstractExpandablechildren - the children which are inserted.firstVisualIndex - the first index where it is inserted.public void notifyChildDeleted(Object child)
Expandable
notifyChildDeleted in interface ExpandablenotifyChildDeleted in class AbstractExpandablechild - the child that is deletedpublic void notifyChildrenDeleted(List<? extends Row> children)
Expandable
notifyChildrenDeleted in interface ExpandablenotifyChildrenDeleted in class AbstractExpandablechildren - the children that are deletedpublic void notifyChildUpdated(Object child)
Expandable
notifyChildUpdated in interface ExpandablenotifyChildUpdated in class AbstractExpandablechild - the child which is updatedpublic void notifyChildrenUpdated(List<? extends Row> children)
Expandable
notifyChildrenUpdated in interface ExpandablenotifyChildrenUpdated in class AbstractExpandablechildren - the children which are updated
public void notifyCellUpdated(Object child,
int columnIndex)
ExpandableRow
notifyCellUpdated in interface ExpandableRownotifyCellUpdated in class DefaultExpandableRowchild - the child which is updatedcolumnIndex - the column index.public TreeTableModel getTreeTableModel()
TreeTableModel for this root row.
getTreeTableModel in class AbstractExpandableTreeTableModel.
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||