Class SoftwareObjectNode
- java.lang.Object
-
- org.neotropic.util.visual.tree.nodes.AbstractNode<Object>
-
- org.neotropic.kuwaiba.modules.commercial.softman.nodes.SoftwareObjectNode
-
public class SoftwareObjectNode extends AbstractNode<Object>
Nodes to display the software tree grid explorer.- Author:
- Mauricio Ruiz Beltrán <mauricio.ruiz@kuwaiba.org>
-
-
Field Summary
-
Fields inherited from class org.neotropic.util.visual.tree.nodes.AbstractNode
displayName, expanded, iconUrl, selected
-
-
Constructor Summary
Constructors Constructor Description SoftwareObjectNode(InventoryObjectPool pool)
SoftwareObjectNode(BusinessObjectLight object)
SoftwareObjectNode(BusinessObjectLight object, String displayName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractAction[]
getActions()
Actions associated to this nodeString
getClassName()
String
getDescription()
String
getId()
String
getName()
Object
getObject()
boolean
isPool()
void
refresh(boolean recursive)
What to do when commanded to refresh the node.void
setClassName(String className)
void
setDescription(String description)
void
setId(String id)
void
setName(String name)
void
setObject(Object object)
void
setPool(boolean pool)
-
Methods inherited from class org.neotropic.util.visual.tree.nodes.AbstractNode
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
SoftwareObjectNode
public SoftwareObjectNode(BusinessObjectLight object)
-
SoftwareObjectNode
public SoftwareObjectNode(BusinessObjectLight object, String displayName)
-
SoftwareObjectNode
public SoftwareObjectNode(InventoryObjectPool pool)
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getClassName
public String getClassName()
-
setClassName
public void setClassName(String className)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
isPool
public boolean isPool()
-
setPool
public void setPool(boolean pool)
-
getObject
public Object getObject()
-
setObject
public void setObject(Object object)
-
getActions
public AbstractAction[] getActions()
Description copied from class:AbstractNode
Actions associated to this node- Specified by:
getActions
in classAbstractNode<Object>
- 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<Object>
- Parameters:
recursive
- Refresh the children nodes.
-
-