net.sf.jame.core.tree
Class AttributeNode

java.lang.Object
  extended by net.sf.jame.core.tree.Node
      extended by net.sf.jame.core.tree.DefaultNode
          extended by net.sf.jame.core.tree.AttributeNode
Direct Known Subclasses:
BooleanElementNode, ColorElementNode, ComplexElementNode, CriteriaElementNode, DoubleElementNode, ExponentElementNode, FloatElementNode, FontElementNode, IntegerElementNode, IterationsElementNode, LongElementNode, PaletteElementNode, PercentageElementNode, RectangleElementNode, RenderedPaletteElementNode, ShortElementNode, StringElementNode, ThresholdElementNode

public abstract class AttributeNode
extends DefaultNode

Author:
Andrea Medeghini

Constructor Summary
AttributeNode(java.lang.String nodeId)
          Constructs a new attribute node.
 
Method Summary
protected  void addLabel(java.lang.StringBuilder builder)
           
 boolean isAttribute()
          Returns true if the node is an attribute.
 boolean isEditable()
          Returns true if the node is editable.
 
Methods inherited from class net.sf.jame.core.tree.DefaultNode
createNodeEditor, getNodeEditor, getValueAsString
 
Methods inherited from class net.sf.jame.core.tree.Node
accept, addDescription, appendChildNode, appendChildNodeToParent, cancel, dispose, doAccept, doCancel, dump, finalize, fireNodeAccepted, fireNodeAdded, fireNodeCancelled, fireNodeChanged, fireNodeRemoved, getChildNode, getChildNodeCount, getContext, getDescription, getLabel, getNodeByPath, getNodeClass, getNodeId, getNodeLabel, getNodePath, getNodeValue, getObject, getParentNode, getPreviousNodeValue, getRootNode, getSession, hasPendingCommands, indexOf, insertChildNodeAt, insertNodeAfter, insertNodeBefore, isChildNode, isHighFrequency, isMutable, isValueChanged, moveDownChildNode, moveUpChildNode, nodeAdded, nodeRemoved, putObject, removeAllChildNodes, removeChildNode, removeObject, setChildNode, setContext, setNodeClass, setNodeEditor, setNodeLabel, setNodeValue, setSession, toString, updateChildNodes, updateNode
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeNode

public AttributeNode(java.lang.String nodeId)
Constructs a new attribute node.

Parameters:
nodeId - the nodeId.
Method Detail

isAttribute

public final boolean isAttribute()
Description copied from class: Node
Returns true if the node is an attribute.

Overrides:
isAttribute in class Node
Returns:
true if the node is an attribute.
See Also:
Node.isAttribute()

isEditable

public boolean isEditable()
Description copied from class: Node
Returns true if the node is editable.

Overrides:
isEditable in class DefaultNode
Returns:
true if the node is editable.
See Also:
Node.isEditable()

addLabel

protected void addLabel(java.lang.StringBuilder builder)
Overrides:
addLabel in class Node
See Also:
Node.addLabel(java.lang.StringBuilder)