|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.tree.TreeCompositeIterator
public class TreeCompositeIterator
This iterator is used for walking through the tree. The GetBase* methods should always be valid, but the GetCurrent* methods are only valid after MoveToNextCompositeChild() has been called and has returned true.
Constructor Summary | |
---|---|
TreeCompositeIterator(TreeCompositeNode root,
AActivitySpace asOwner)
Constructor for iterator |
Method Summary | |
---|---|
boolean |
GetBaseBrowsableOnly()
|
int |
GetBaseClassID()
|
int |
GetBaseCompositeChildCount()
|
java.lang.String |
GetBaseDescription()
|
boolean |
GetBaseDisabled()
|
java.lang.String |
GetBaseEncodedName()
|
boolean |
GetBaseExpanded()
|
boolean |
GetBaseForceSelectable()
|
HTMLImg |
GetBaseImage()
This method returns the current image. |
int |
GetBaseLeafChildCount()
This method returns the number of leaf child nodes of the root node. |
TreeLeafIterator |
GetBaseLeafChildIterator()
This method returns an iterator to the leaf child nodes of the root node. |
java.lang.String |
GetBaseLocation()
|
int |
GetBaseObjectID()
|
boolean |
GetBaseSelected()
|
int |
GetBaseTreeNodeID()
|
int |
GetCurrentClassID()
|
TreeCompositeIterator |
GetCurrentCompositeChildIterator()
|
boolean |
GetCurrentDisabled()
|
java.lang.String |
GetCurrentEncodedName()
Returns the encoded and truncated name. |
boolean |
GetCurrentExpanded()
|
boolean |
GetCurrentForceSelectable()
|
HTMLImg |
GetCurrentImage()
This method returns the current image. |
java.lang.String |
GetCurrentLocation()
|
int |
GetCurrentObjectID()
|
boolean |
GetCurrentSelected()
|
int |
GetCurrentTreeNodeID()
|
boolean |
MoveToNextCompositeChild()
Moves to the next composite child. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeCompositeIterator(TreeCompositeNode root, AActivitySpace asOwner)
TreeCompositeNode
- the root node of this iteratorAActivitySpace
- asOwner the space that this tree is in
(used to get default localized strings)Method Detail |
---|
public int GetBaseClassID()
public boolean GetBaseDisabled()
public boolean GetBaseBrowsableOnly()
public boolean GetBaseExpanded()
public boolean GetBaseForceSelectable()
public HTMLImg GetBaseImage()
public TreeLeafIterator GetBaseLeafChildIterator()
public int GetBaseLeafChildCount()
public int GetBaseCompositeChildCount()
public java.lang.String GetBaseLocation()
public java.lang.String GetBaseEncodedName()
public java.lang.String GetBaseDescription()
public int GetBaseObjectID()
public boolean GetBaseSelected()
public int GetBaseTreeNodeID()
public int GetCurrentClassID()
GetCurrentClassID
in interface ITreeIterator
public TreeCompositeIterator GetCurrentCompositeChildIterator()
public boolean GetCurrentDisabled()
public boolean GetCurrentExpanded()
public boolean GetCurrentForceSelectable()
GetCurrentForceSelectable
in interface ITreeIterator
public HTMLImg GetCurrentImage()
GetCurrentImage
in interface ITreeIterator
public java.lang.String GetCurrentLocation()
public java.lang.String GetCurrentEncodedName()
ITreeIterator
GetCurrentEncodedName
in interface ITreeIterator
public int GetCurrentObjectID()
GetCurrentObjectID
in interface ITreeIterator
public boolean GetCurrentSelected()
GetCurrentSelected
in interface ITreeIterator
public int GetCurrentTreeNodeID()
GetCurrentTreeNodeID
in interface ITreeIterator
public boolean MoveToNextCompositeChild()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |