net.sf.jame.twister.common
Class ViewElementNode

java.lang.Object
  extended by net.sf.jame.core.tree.Node
      extended by net.sf.jame.core.tree.DefaultNode
          extended by net.sf.jame.twister.common.ViewElementNode

public class ViewElementNode
extends DefaultNode

Author:
Andrea Medeghini

Nested Class Summary
protected  class ViewElementNode.ConfigElementListener
           
protected  class ViewElementNode.ViewNodeEditor
           
 
Field Summary
static java.lang.String NODE_CLASS
           
 
Constructor Summary
ViewElementNode(java.lang.String nodeId, ValueConfigElement<View> configElement)
           
 
Method Summary
protected  NodeEditor createNodeEditor()
          Creates the node editor.
 void dispose()
           
 java.lang.String getValueAsString()
          Returns the node value as string.
 boolean isEditable()
          Returns true if the node is editable.
 boolean isHighFrequency()
           
protected  void nodeAdded()
           
protected  void nodeRemoved()
           
 void setSession(NodeSession session)
           
 
Methods inherited from class net.sf.jame.core.tree.DefaultNode
getNodeEditor
 
Methods inherited from class net.sf.jame.core.tree.Node
accept, addDescription, addLabel, appendChildNode, appendChildNodeToParent, cancel, 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, isMutable, isValueChanged, moveDownChildNode, moveUpChildNode, putObject, removeAllChildNodes, removeChildNode, removeObject, setChildNode, setContext, setNodeClass, setNodeEditor, setNodeLabel, setNodeValue, toString, updateChildNodes, updateNode
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NODE_CLASS

public static final java.lang.String NODE_CLASS
See Also:
Constant Field Values
Constructor Detail

ViewElementNode

public ViewElementNode(java.lang.String nodeId,
                       ValueConfigElement<View> configElement)
Parameters:
nodeId -
Method Detail

isHighFrequency

public boolean isHighFrequency()
Overrides:
isHighFrequency in class Node
Returns:
See Also:
Node.isHighFrequency()

dispose

public void dispose()
Overrides:
dispose in class Node
See Also:
Node.dispose()

setSession

public void setSession(NodeSession session)
Overrides:
setSession in class Node
See Also:
Node.setSession(net.sf.jame.core.tree.NodeSession)

nodeAdded

protected void nodeAdded()
Overrides:
nodeAdded in class Node
See Also:
Node.nodeAdded()

nodeRemoved

protected void nodeRemoved()
Overrides:
nodeRemoved in class Node
See Also:
Node.nodeRemoved()

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

createNodeEditor

protected NodeEditor createNodeEditor()
Description copied from class: DefaultNode
Creates the node editor.

Specified by:
createNodeEditor in class DefaultNode
Returns:
the node editor.
See Also:
DefaultNode.createNodeEditor()

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