Class UserNode
- java.lang.Object
-
- org.neotropic.util.visual.tree.nodes.AbstractNode<UserProfile>
-
- org.neotropic.kuwaiba.modules.core.userman.nodes.UserNode
-
public class UserNode extends AbstractNode<UserProfile>
Represents a node in the main tree.- Author:
- Orlando Paz <orlando.paz@kuwaiba.org>
-
-
Field Summary
-
Fields inherited from class org.neotropic.util.visual.tree.nodes.AbstractNode
displayName, hasChildren, iconUrl, object
-
-
Constructor Summary
Constructors Constructor Description UserNode(UserProfile object, String displayName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractAction[]
getActions()
Actions associated to this nodevoid
refresh(boolean recursive)
What to do when commanded to refresh the node.-
Methods inherited from class org.neotropic.util.visual.tree.nodes.AbstractNode
equals, getDisplayName, getIconUrl, getObject, hashCode, isHasChildren, setDisplayName, setHasChildren, setIconUrl, toString
-
-
-
-
Constructor Detail
-
UserNode
public UserNode(UserProfile object, String displayName)
-
-
Method Detail
-
getActions
public AbstractAction[] getActions()
Description copied from class:AbstractNode
Actions associated to this node- Specified by:
getActions
in classAbstractNode<UserProfile>
- Returns:
- An array of actions
-
refresh
public void refresh(boolean recursive)
Description copied from class:AbstractNode
What to do when commanded to refresh the node.- Specified by:
refresh
in classAbstractNode<UserProfile>
- Parameters:
recursive
- Refresh the children nodes.
-
-