java.lang.Object
de.grogra.graph.Attribute<T>
de.grogra.graph.ObjectAttribute<T>
de.grogra.graph.ObjectTreeAttribute<T>
- All Implemented Interfaces:
Described
,KeyDescription
,Comparable
- Direct Known Subclasses:
DensityTreeAttribute
,GlobalTransformation
,GlobalTransformation
,HeightTreeAttribute
,IdTreeAttribute
,LocationParameterTreeAttribute
,NumberTreeAttribute
,TreeValuesTreeAttribute
,TurtleStateAttribute
-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.graph.ObjectAttribute
ObjectAttribute.IdentityAccessor
-
Field Summary
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
-
Constructor Summary
ConstructorsConstructorDescriptionObjectTreeAttribute
(Type type, boolean convert, Quantity quantity) ObjectTreeAttribute
(Class<T> type, boolean convert, Quantity quantity) -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
protected abstract T
derive
(Object object, boolean asNode, T parentValue, T placeIn, GraphState gs) protected T
getDerived
(Object object, boolean asNode, T placeIn, GraphState gs) protected abstract T
protected ObjectAttribute
getParentValue
(Object object, boolean asNode, T placeIn, GraphState gs) boolean
Determines whether this is a derived attribute or not.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
-
Constructor Details
-
ObjectTreeAttribute
-
ObjectTreeAttribute
-
-
Method Details
-
getParentAttribute
-
getDerived
- Overrides:
getDerived
in classObjectAttribute<T>
-
derive
-
getInitialValue
-
isDerived
public boolean isDerived()Description copied from class:Attribute
Determines whether this is a derived attribute or not. -
dependsOn
-
getParentValue
-