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
.boolean
getChildAt
(int childIndex) int
getData()
int
void
insert
(MutableTreeNode child, int index) Inserts a child nodeboolean
isLeaf()
void
void
remove
(int index) Removes a child nodevoid
remove
(MutableTreeNode child) Removes a child nodevoid
void
Removes this node from its parentvoid
setParent
(MutableTreeNode newParent) Sets the parent of this nodevoid
setUserObject
(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:
getAllowsChildren
in interfaceTreeNode
-
getChildAt
- Specified by:
getChildAt
in interfaceTreeNode
-
getChildCount
public int getChildCount()- Specified by:
getChildCount
in interfaceTreeNode
-
getIndex
-
getParent
-
isLeaf
public boolean isLeaf() -
insert
Inserts a child node- Specified by:
insert
in 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:
remove
in interfaceMutableTreeNode
- Parameters:
index
- The position of the node to be removed
-
remove
Removes a child node- Specified by:
remove
in interfaceMutableTreeNode
- Parameters:
child
- The node to be removed
-
setUserObject
Sets the object thats to be represented by this node- Specified by:
setUserObject
in interfaceMutableTreeNode
- Parameters:
object
- The object to be represented
-
removeFromParent
public void removeFromParent()Removes this node from its parent- Specified by:
removeFromParent
in interfaceMutableTreeNode
-
setParent
Sets the parent of this node- Specified by:
setParent
in interfaceMutableTreeNode
- Parameters:
newParent
- The new parent
-
needsRefresh
public void needsRefresh() -
toString
-