Package com.portal.bas.comp
Class PIAGroupTree.GrpModelNode
java.lang.Object
com.portal.bas.comp.PIAGroupTree.GrpModelNode
- All Implemented Interfaces:
MutableTreeNode,TreeNode
- Enclosing class:
PIAGroupTree
-
Method Summary
Modifier and TypeMethodDescriptionchildren()children(boolean force) Returns the children of the receiver as anEnumeration.booleangetChildAt(int childIndex) intgetData()intvoidinsert(MutableTreeNode child, int index) Inserts a child nodebooleanisLeaf()voidvoidremove(int index) Removes a child nodevoidremove(MutableTreeNode child) Removes a child nodevoidvoidRemoves this node from its parentvoidsetParent(MutableTreeNode newParent) Sets the parent of this nodevoidsetUserObject(Object object) Sets the object thats to be represented by this nodetoString()
-
Method Details
-
getData
-
children
-
children
Returns the children of the receiver as anEnumeration.- Parameters:
force- if true, forces a reload of the receiver's children
-
removeChildren
public void removeChildren() -
getAllowsChildren
public boolean getAllowsChildren()- Specified by:
getAllowsChildrenin interfaceTreeNode
-
getChildAt
- Specified by:
getChildAtin interfaceTreeNode
-
getChildCount
public int getChildCount()- Specified by:
getChildCountin interfaceTreeNode
-
getIndex
-
getParent
-
isLeaf
public boolean isLeaf() -
insert
Inserts a child node- Specified by:
insertin interfaceMutableTreeNode- Parameters:
child- The node to be insertedindex- the position at which the node is to be inserted
-
remove
public void remove(int index) Removes a child node- Specified by:
removein interfaceMutableTreeNode- Parameters:
index- The position of the node to be removed
-
remove
Removes a child node- Specified by:
removein interfaceMutableTreeNode- Parameters:
child- The node to be removed
-
setUserObject
Sets the object thats to be represented by this node- Specified by:
setUserObjectin interfaceMutableTreeNode- Parameters:
object- The object to be represented
-
removeFromParent
public void removeFromParent()Removes this node from its parent- Specified by:
removeFromParentin interfaceMutableTreeNode
-
setParent
Sets the parent of this node- Specified by:
setParentin interfaceMutableTreeNode- Parameters:
newParent- The new parent
-
needsRefresh
public void needsRefresh() -
toString
-