de.grogra.turtle
Class TurtleStateAttribute

java.lang.Object
  extended by de.grogra.graph.Attribute<T>
      extended by de.grogra.graph.ObjectAttribute<T>
          extended by de.grogra.graph.ObjectTreeAttribute<TurtleState>
              extended by de.grogra.turtle.TurtleStateAttribute
All Implemented Interfaces:
Described, KeyDescription, java.lang.Comparable

public final class TurtleStateAttribute
extends ObjectTreeAttribute<TurtleState>


Nested Class Summary
 
Nested classes/interfaces inherited from class de.grogra.graph.ObjectAttribute
ObjectAttribute.IdentityAccessor
 
Field Summary
static TurtleStateAttribute ATTRIBUTE
           
 
Fields inherited from class de.grogra.graph.Attribute
ATTRIBUTE_0, attrType, quantity
 
Fields inherited from interface de.grogra.util.Described
ACCELERATOR_KEY, ICON, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, TITLE
 
Method Summary
 boolean dependsOn(Attribute[] a)
           
protected  TurtleState derive(java.lang.Object object, boolean asNode, TurtleState parentValue, TurtleState placeIn, GraphState gs)
           
protected  TurtleState getInitialValue(GraphState gs)
           
 
Methods inherited from class de.grogra.graph.ObjectTreeAttribute
getDerived, getParentAttribute, getParentValue, isDerived
 
Methods inherited from class de.grogra.graph.ObjectAttribute
get, set, setDerived, setObject, setSubfield, toType, valueOf
 
Methods inherited from class de.grogra.graph.Attribute
compareTo, find, forName, getAttributeState, getDescription, getId, getKey, getQuantity, getSimpleName, getType, hashCode, initializeI18N, initializeName, isContained, isWritable, setAttributeState, toArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ATTRIBUTE

public static final TurtleStateAttribute ATTRIBUTE
Method Detail

dependsOn

public boolean dependsOn(Attribute[] a)
Specified by:
dependsOn in class ObjectTreeAttribute<TurtleState>

derive

protected TurtleState derive(java.lang.Object object,
                             boolean asNode,
                             TurtleState parentValue,
                             TurtleState placeIn,
                             GraphState gs)
Specified by:
derive in class ObjectTreeAttribute<TurtleState>

getInitialValue

protected TurtleState getInitialValue(GraphState gs)
Specified by:
getInitialValue in class ObjectTreeAttribute<TurtleState>