|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.ViewMemberListManager.GroupNode
public static final class ViewMemberListManager.GroupNode
Describes a group of objects that may be a subgroup of a larger, indexable group. Maintains a range mapping into the underlying ordered collection. Each Node may be in an expanded or collapsed state. Note that it is the client's responsibility to ensure valid index ranges relative to the underlying collection.
| Method Summary | |
|---|---|
void |
addChild(ViewMemberListManager.GroupNode child)
Adds a GroupNode as a child of this GroupNode. |
ViewMemberListManager.GroupNode[] |
getChildren()
Returns the direct subgroups of this group. |
java.lang.String |
getDebugString()
Prints a String representation of the GroupNode, helpful for debugging. |
int |
getDepth()
Returns the zero-based depth of this GroupNode in the grouping hierarchy. |
int |
getLength()
Returns the number of contiguous objects spanned in the underlying indexable collection. |
java.lang.String |
getName()
Returns the display name of this group. |
int |
getNumChildren()
Returns the number of direct subgroups of this group. |
int |
getNumVisibleLines()
Returns the number of visible lines represented in this node, based on the current collapsed/expanded state of the hierarchy. |
ViewMemberListManager.GroupNode |
getParent()
Returns the parent GroupNode. |
int |
getStart()
Returns the index of the first leaf object of this node in the associated indexable collection. |
boolean |
isExpanded()
Returns true if this GroupNode is expanded. |
boolean |
isLeafNode()
Returns true if this is a leaf-level GroupNode. |
void |
setExpanded(boolean bExpand)
Expands or collapses this GroupNode. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getName()
public int getDepth()
public boolean isExpanded()
public void setExpanded(boolean bExpand)
bExpand - true = expand, false = collapse.public int getNumChildren()
public ViewMemberListManager.GroupNode[] getChildren()
public boolean isLeafNode()
public ViewMemberListManager.GroupNode getParent()
public void addChild(ViewMemberListManager.GroupNode child)
child - The GroupNode to add as a child of this one.public int getNumVisibleLines()
public int getStart()
public int getLength()
public java.lang.String getDebugString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||