|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.tree.TreeLeafNode com.plumtree.uiinfrastructure.tree.TreeCompositeNode
public class TreeCompositeNode
This class represents composite nodes in the tree such as folders, or browseable groups.
Field Summary | |
---|---|
boolean |
m_bBrowsableOnly
true implies browsable but not selectable |
boolean |
m_bChildrenLoaded
Have the children of this node been loaded? |
boolean |
m_bDisabled
Neither browsable nor selectable |
boolean |
m_bExpanded
Is this folder expanded |
HTMLImg |
m_OpenImage
The image when the container is open |
Fields inherited from class com.plumtree.uiinfrastructure.tree.TreeLeafNode |
---|
m_bForceSelectable, m_bMultiplyInstanced, m_bSelected, m_Image, m_nClassID, m_nObjectID, m_nTreeNodeID, m_strLocation |
Constructor Summary | |
---|---|
TreeCompositeNode(int nTreeNodeID)
Creates a new TreeCompositeNode object. |
Method Summary | |
---|---|
void |
AddCompositeChild(TreeCompositeNode child)
|
void |
AddLeafChild(TreeLeafNode child)
|
void |
ClearSelected(boolean bVisibleOnly,
boolean bRecursive)
|
int |
GetCompositeChildCount()
This method calculates how many composite children this node contains |
IXPEnumerator |
GetCompositeChildIterator()
|
int |
GetLeafChildCount()
This method calculates how many leaf children this node contains. |
IXPEnumerator |
GetLeafChildIterator()
|
TreeLeafNode |
GetNode(int nNodeID)
|
TreeLeafNode |
GetNode(int nClassID,
int nObjectID)
|
TreeLeafNode |
GetNode(java.lang.String strLocation)
Note: This function compares the location to get the node |
void |
RemoveCompositeChild(TreeCompositeNode child)
|
void |
RemoveLeafChild(TreeLeafNode child)
|
void |
SetSelected(int nClassID,
int nObjectID)
This method searches the entire tree for nodes with the classID and objectID and sets them to selected. |
Methods inherited from class com.plumtree.uiinfrastructure.tree.TreeLeafNode |
---|
GetDescription, GetEncodedName, GetName, SetDescription, SetName, SetNameAndDescription |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public HTMLImg m_OpenImage
public boolean m_bChildrenLoaded
public boolean m_bDisabled
public boolean m_bBrowsableOnly
public boolean m_bExpanded
Constructor Detail |
---|
public TreeCompositeNode(int nTreeNodeID)
int
- internal ID of this nodeMethod Detail |
---|
public void AddCompositeChild(TreeCompositeNode child)
child
- public void RemoveCompositeChild(TreeCompositeNode child)
child
- public void AddLeafChild(TreeLeafNode child)
child
- public void RemoveLeafChild(TreeLeafNode child)
child
- public void ClearSelected(boolean bVisibleOnly, boolean bRecursive)
public IXPEnumerator GetCompositeChildIterator()
public IXPEnumerator GetLeafChildIterator()
public int GetLeafChildCount()
public int GetCompositeChildCount()
public TreeLeafNode GetNode(int nNodeID)
nNodeID
-
public TreeLeafNode GetNode(int nClassID, int nObjectID)
nClassID
- nObjectID
-
public TreeLeafNode GetNode(java.lang.String strLocation)
nClassID
- nObjectID
-
public void SetSelected(int nClassID, int nObjectID)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |