|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.tree.TreeLeafNode
public class TreeLeafNode
This class represents a node in the tree.
Field Summary | |
---|---|
boolean |
m_bForceSelectable
Whether or not to override the normal selectable logic and force this node to be selectable. |
boolean |
m_bMultiplyInstanced
Whether or not this node can be simultaneously located in multiple places. |
boolean |
m_bSelected
Whether or not this node is selected. |
HTMLImg |
m_Image
The default image for this object. |
int |
m_nClassID
|
int |
m_nObjectID
|
int |
m_nTreeNodeID
unique internal ID for this node |
java.lang.String |
m_strLocation
|
Constructor Summary | |
---|---|
TreeLeafNode(int nTreeNodeID)
Creates a new TreeLeafNode object. |
|
TreeLeafNode(TreeLeafNode node)
Creates a new TreeLeafNode object. |
Method Summary | |
---|---|
java.lang.String |
GetDescription()
This method returns the description of the node (HTMLEncoded). |
java.lang.String |
GetEncodedName()
This method returns the name of the node (truncated to 50 characters and HTMLEncoded). |
java.lang.String |
GetName()
This method returns the name of the node (truncated to 50 characters). |
void |
SetDescription(java.lang.String strDescription)
This method sets the description of the node and HTMLEncodes it. |
void |
SetName(java.lang.String strName)
This method sets the name of the node, truncates it to 50 characters, and HTMLEncodes it. |
void |
SetNameAndDescription(TreeLeafNode node)
This method sets the name and description of the node by copying the truncated and encoded versions from the node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int m_nTreeNodeID
public HTMLImg m_Image
public java.lang.String m_strLocation
public boolean m_bForceSelectable
public boolean m_bMultiplyInstanced
public boolean m_bSelected
public int m_nClassID
public int m_nObjectID
Constructor Detail |
---|
public TreeLeafNode(int nTreeNodeID)
int
- internal ID of this nodepublic TreeLeafNode(TreeLeafNode node)
node
- Method Detail |
---|
public java.lang.String GetName()
public java.lang.String GetEncodedName()
public void SetName(java.lang.String strName)
String
- the name of the node.public void SetNameAndDescription(TreeLeafNode node)
TreeLeafNode
- the node to take the info from.public java.lang.String GetDescription()
public void SetDescription(java.lang.String strDescription)
String
- the description of the node.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |