net.sf.jame.core.tree
Class MutableNode

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.MutableNode
Direct Known Subclasses:
AbstractConfigElementListNode

public abstract class MutableNode
extends DefaultNode

Author:
Andrea Medeghini

Constructor Summary
MutableNode(java.lang.String nodeId)
          Constructs a new attribute node.
 
Method Summary
abstract  java.lang.Class<?> getChildValueType()
           
 java.lang.String getValueAsString()
          Returns the node value as string.
 boolean isEditable()
          Returns true if the node is editable.
 boolean isMutable()
          Returns true if the node is mutable.
 
Methods inherited from class net.sf.jame.core.tree.DefaultNode
createNodeEditor, getNodeEditor
 
Methods inherited from class net.sf.jame.core.tree.Node
accept, addDescription, addLabel, 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, isAttribute, isChildNode, isHighFrequency, 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

MutableNode

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

Parameters:
nodeId - the nodeId.
Method Detail

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()

isMutable

public final boolean isMutable()
Description copied from class: Node
Returns true if the node is mutable.

Overrides:
isMutable in class Node
Returns:
true if the node is mutable.
See Also:
Node.isMutable()

getChildValueType

public abstract java.lang.Class<?> getChildValueType()
Returns:
the child type.

getValueAsString

public java.lang.String getValueAsString()
Description copied from class: Node
Returns the node value as string.

Overrides:
getValueAsString in class DefaultNode
Returns:
the string.
See Also:
DefaultNode.getValueAsString()