public class IceUserObject
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
action |
protected java.lang.String |
branchContractedIcon |
protected java.lang.String |
branchExpandedIcon |
protected boolean |
expanded |
protected java.lang.String |
icon |
protected boolean |
leaf |
protected java.lang.String |
leafIcon |
protected java.lang.String |
text |
protected java.lang.String |
tooltip |
protected TreeNode |
treeNode |
protected javax.swing.tree.DefaultMutableTreeNode |
wrapper |
| Constructor and Description |
|---|
IceUserObject(javax.swing.tree.DefaultMutableTreeNode wrapper)
Class constructor specifying the DefaultMutableTreeNode wrapper object
that will hold a reference to this IceUserObject.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
action()
Return the value of the
action property. |
java.lang.String |
getAction()
Return the value of the
action property. |
java.lang.String |
getBranchContractedIcon()
Return the value of the
branchContractedIcon
property. |
java.lang.String |
getBranchExpandedIcon()
Return the value of the
branchExpandedIcon property. |
java.lang.String |
getFamily() |
java.lang.String |
getIcon()
Return the appropriate icon based on this node's leaf attribute or
expanded/collapsed state.
|
java.lang.String |
getLeafIcon()
Return the value of the
leafIcon property. |
int |
getRowIndex() |
java.lang.String |
getText()
Return the value of the
text property. |
java.lang.String |
getTooltip()
Return the value of the
tooltip property. |
TreeNode |
getTreeNode() |
javax.swing.tree.DefaultMutableTreeNode |
getWrapper()
Return the value of the
wrapper property. |
boolean |
isExpanded()
Return the value of the
expanded property. |
boolean |
isLeaf()
Return false if the tree node is a folder.By default all tree nodes
are folders.
|
void |
setAction(java.lang.String action)
Set the value of the
action property. |
void |
setBranchContractedIcon(java.lang.String branchContractedIcon)
Set the value of the
branchContractedIcon property. |
void |
setBranchExpandedIcon(java.lang.String branchExpandedIcon)
Set the value of the
branchExpandedIcon property. |
void |
setExpanded(boolean isExpanded)
Set the value of the
expanded property. |
void |
setLeaf(boolean leaf)
Set the value of the boolean leaf attribute.
|
void |
setLeafIcon(java.lang.String leafIcon)
Set the value of the
leafIcon property. |
void |
setRowIndex(int rowIndex) |
void |
setText(java.lang.String text)
Set the value of the
text property. |
void |
setTooltip(java.lang.String tooltipString)
Set the value of the
tooltip property. |
void |
setTreeNode(TreeNode treeNode) |
void |
setWrapper(javax.swing.tree.DefaultMutableTreeNode wrapper)
Set the DefaultMutableTreeNode instance that wraps this instance
|
java.lang.String |
toString() |
protected javax.swing.tree.DefaultMutableTreeNode wrapper
protected java.lang.String text
protected boolean expanded
protected java.lang.String tooltip
protected java.lang.String action
protected TreeNode treeNode
protected java.lang.String leafIcon
protected java.lang.String branchExpandedIcon
protected java.lang.String branchContractedIcon
protected java.lang.String icon
protected boolean leaf
public IceUserObject(javax.swing.tree.DefaultMutableTreeNode wrapper)
Class constructor specifying the DefaultMutableTreeNode wrapper object that will hold a reference to this IceUserObject.
wrapper - public int getRowIndex()
public void setRowIndex(int rowIndex)
rowIndex - public void setLeaf(boolean leaf)
Set the value of the boolean leaf attribute. Setting the leaf attribute to true will force a tree node to be rendered as a leaf. By default the leaf attribute is false therefore all tree nodes will default to folders.
leaf - public boolean isLeaf()
Return false if the tree node is a folder.By default all tree nodes are folders.
public java.lang.String action()
Return the value of the action property.
public void setTreeNode(TreeNode treeNode)
treeNode - public TreeNode getTreeNode()
public java.lang.String getText()
Return the value of the text property.
public void setText(java.lang.String text)
Set the value of the text property.
text - public java.lang.String getFamily()
public boolean isExpanded()
Return the value of the expanded property.
public void setExpanded(boolean isExpanded)
Set the value of the expanded property.
isExpanded - public java.lang.String getTooltip()
Return the value of the tooltip property.
public void setTooltip(java.lang.String tooltipString)
Set the value of the tooltip property.
tooltipString - public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getLeafIcon()
Return the value of the leafIcon property.
public void setLeafIcon(java.lang.String leafIcon)
Set the value of the leafIcon property.
leafIcon - public java.lang.String getBranchContractedIcon()
Return the value of the branchContractedIcon
property.
public void setBranchContractedIcon(java.lang.String branchContractedIcon)
Set the value of the branchContractedIcon property.
branchContractedIcon - public java.lang.String getBranchExpandedIcon()
Return the value of the branchExpandedIcon property.
public void setBranchExpandedIcon(java.lang.String branchExpandedIcon)
Set the value of the branchExpandedIcon property.
branchExpandedIcon - public java.lang.String getIcon()
Return the appropriate icon based on this node's leaf attribute or expanded/collapsed state.
By default the leaf attribute is false.
public javax.swing.tree.DefaultMutableTreeNode getWrapper()
Return the value of the wrapper property.
public void setWrapper(javax.swing.tree.DefaultMutableTreeNode wrapper)
wrapper - public java.lang.String getAction()
Return the value of the action property.
public void setAction(java.lang.String action)
Set the value of the action property.
action - Copyright 2025 ICEsoft Technologies Canada, Corp. All Rights Reserved.