intarsys runtime library

de.intarsys.tools.tree
Class PropertyNode

java.lang.Object
  extended by de.intarsys.tools.tree.CommonNode
      extended by de.intarsys.tools.tree.PropertyNode
All Implemented Interfaces:
IAttributeSupport, INotificationSupport, IPresentationSupport

public class PropertyNode
extends CommonNode

A common superclass for a node providing detail information on a specifc property of its parent.


Field Summary
 
Fields inherited from interface de.intarsys.tools.presentation.IPresentationSupport
ATTR_DESCRIPTION, ATTR_ICON, ATTR_LABEL, ATTR_TIP
 
Constructor Summary
PropertyNode(CommonNode parent, Object object, String label, String name, boolean reusable)
           
 
Method Summary
 String getIconName()
          A name for an icon.
 String getLabel()
          A short string representation (suitable for example for use with an icon or menu item).
 Format getPropertyFormat()
           
 String getPropertyLabel()
           
 String getPropertyName()
           
 Object getPropertyValue()
           
 void setPropertyFormat(Format propertyFormat)
           
 
Methods inherited from class de.intarsys.tools.tree.CommonNode
addNotificationListener, getAttribute, getChildren, getDescription, getNode, getNodeHandler, getObject, getParent, getTip, hasChildren, removeAttribute, removeNotificationListener, setAttribute, setNodeHandler
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyNode

public PropertyNode(CommonNode parent,
                    Object object,
                    String label,
                    String name,
                    boolean reusable)
Method Detail

getIconName

public String getIconName()
Description copied from interface: IPresentationSupport
A name for an icon.

Specified by:
getIconName in interface IPresentationSupport
Overrides:
getIconName in class CommonNode
Returns:
A name for an icon.

getLabel

public String getLabel()
Description copied from interface: IPresentationSupport
A short string representation (suitable for example for use with an icon or menu item).

Specified by:
getLabel in interface IPresentationSupport
Overrides:
getLabel in class CommonNode
Returns:
A short string representation (suitable for example for use with an icon or menu item).

getPropertyFormat

public Format getPropertyFormat()

getPropertyLabel

public String getPropertyLabel()

getPropertyName

public String getPropertyName()

getPropertyValue

public Object getPropertyValue()

setPropertyFormat

public void setPropertyFormat(Format propertyFormat)

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.