|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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)
Row
columnIndex
columnIndex
- the column whose value to be queried
public int getLevel()
AbstractNode
getLevel
in interface Node
getLevel
in class AbstractNode
public boolean isExpandable()
Expandable
isExpandable
in interface Expandable
isExpandable
in class AbstractExpandable
public boolean isExpanded()
AbstractExpandable
isExpanded
in interface Expandable
isExpanded
in class AbstractExpandable
public Expandable getParent()
AbstractNode
getParent
in interface Node
getParent
in class AbstractNode
public Node getPreviousSibling()
Node
getPreviousSibling
in interface Node
getPreviousSibling
in class AbstractNode
public Node getNextSibling()
AbstractNode
getNextSibling
in interface Node
getNextSibling
in class AbstractNode
public void notifyChildInserted(Object child, int childIndex)
Expandable
notifyChildInserted
in interface Expandable
notifyChildInserted
in class AbstractExpandable
child
- 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 Expandable
notifyChildrenInserted
in class AbstractExpandable
children
- the children which are inserted.firstVisualIndex
- the first index where it is inserted.public void notifyChildDeleted(Object child)
Expandable
notifyChildDeleted
in interface Expandable
notifyChildDeleted
in class AbstractExpandable
child
- the child that is deletedpublic void notifyChildrenDeleted(List<? extends Row> children)
Expandable
notifyChildrenDeleted
in interface Expandable
notifyChildrenDeleted
in class AbstractExpandable
children
- the children that are deletedpublic void notifyChildUpdated(Object child)
Expandable
notifyChildUpdated
in interface Expandable
notifyChildUpdated
in class AbstractExpandable
child
- the child which is updatedpublic void notifyChildrenUpdated(List<? extends Row> children)
Expandable
notifyChildrenUpdated
in interface Expandable
notifyChildrenUpdated
in class AbstractExpandable
children
- the children which are updatedpublic void notifyCellUpdated(Object child, int columnIndex)
ExpandableRow
notifyCellUpdated
in interface ExpandableRow
notifyCellUpdated
in class DefaultExpandableRow
child
- the child which is updatedcolumnIndex
- the column index.public TreeTableModel getTreeTableModel()
TreeTableModel
for this root row.
getTreeTableModel
in class AbstractExpandable
TreeTableModel
.
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |