|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface TreeNodeInterface
TreeNodeInterface is an interface for creating tree node.
TreeNode| Method Summary | |
|---|---|
abstract java.lang.String |
getDefaultImage()
Returns the name of the image to be displayed when the node is not expanded. |
abstract java.lang.String |
getExpandedImage()
Returns the name of the image to be displayed for the expanded node. |
abstract java.lang.String |
getName()
getName returns the name of the node. |
abstract java.lang.String |
getText()
getText returns the text associated with the node. |
abstract java.lang.String |
getURL()
Returns the url associated with all the node. |
abstract boolean |
isExpanded()
isExpanded returns the boolean value that incidcates whether a node is expanded. |
abstract boolean |
isLastNode()
Returns the boolean value lastNode which determines if a node is the last node in a set of children. |
abstract void |
setDefaultImage(java.lang.String Image)
Sets the name of the image to be displayed when the node is exanded. |
abstract void |
setExpanded(boolean expanded)
setExpandedState sets the state of the node. |
abstract void |
setExpandedImage(java.lang.String Image)
Sets the name of the image to be displayed for the expanded node. |
abstract void |
setLastNode(boolean lastNode)
Sets the boolean value lastNode to determine if a node is the last node of a set of children. |
abstract void |
setName(java.lang.String name)
setName sets the name of the node object. |
abstract void |
setText(java.lang.String text)
Sets the text associated with the node. |
abstract void |
setURL(java.lang.String url)
Sets the url associated with node. |
| Methods inherited from interface com.sas.models.NodeInterface |
|---|
getNodeExpandedText, getNodeText, getNodeType |
| Methods inherited from interface com.sas.models.SimpleNodeInterface |
|---|
countNodeChildren, getNodeChild, getNodeChildCount, getNodeChildren, isLeafNode |
| Method Detail |
|---|
java.lang.String getDefaultImage()
Image - the URL for defaultImage.void setDefaultImage(java.lang.String Image)
Image - the URL for defaultImage.java.lang.String getExpandedImage()
void setExpandedImage(java.lang.String Image)
Image - the name of the expandedImage.java.lang.String getURL()
void setURL(java.lang.String url)
url - the value of the url.void setText(java.lang.String text)
text - the text string that is to be displayed next to the node.java.lang.String getText()
void setExpanded(boolean expanded)
expanded - boolean value which determines if a node is expanded.boolean isExpanded()
void setName(java.lang.String name)
name - string name of the node.java.lang.String getName()
void setLastNode(boolean lastNode)
lastNode - boolean value lastNode, true if node is the lastNode, false otherwise.boolean isLastNode()
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||