de.grogra.graph
public abstract class FloatTreeAttribute extends FloatAttribute
ATTRIBUTE_0, attrType, quantityACCELERATOR_KEY, ICON, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, TITLE| Constructor and Description |
|---|
FloatTreeAttribute(Quantity quantity) |
FloatTreeAttribute(Type type,
Quantity quantity) |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
dependsOn(Attribute[] b) |
protected abstract float |
derive(java.lang.Object object,
boolean asNode,
float parentValue,
GraphState gs) |
protected float |
getDerived(java.lang.Object object,
boolean asNode,
GraphState gs) |
protected abstract float |
getInitialValue(GraphState gs) |
protected ObjectAttribute |
getParentAttribute(GraphState gs) |
float |
getParentValue(java.lang.Object object,
boolean asNode,
GraphState gs) |
boolean |
isDerived()
Determines whether this is a derived attribute or not.
|
get, getMaxValue, getMinValue, set, setDerived, setFloatcompareTo, find, forName, getAttributeState, getDescription, getId, getKey, getQuantity, getSimpleName, getType, hashCode, initializeI18N, initializeName, isContained, isWritable, setAttributeState, toArray, toStringpublic FloatTreeAttribute(Quantity quantity)
public abstract boolean dependsOn(Attribute[] b)
protected abstract float derive(java.lang.Object object,
boolean asNode,
float parentValue,
GraphState gs)
protected float getDerived(java.lang.Object object,
boolean asNode,
GraphState gs)
getDerived in class FloatAttributeprotected abstract float getInitialValue(GraphState gs)
protected ObjectAttribute getParentAttribute(GraphState gs)
public float getParentValue(java.lang.Object object,
boolean asNode,
GraphState gs)