de.grogra.graph
public abstract class DoubleTreeAttribute extends DoubleAttribute
ATTRIBUTE_0, attrType, quantityACCELERATOR_KEY, ICON, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, TITLE| Constructor and Description |
|---|
DoubleTreeAttribute(Quantity quantity) |
DoubleTreeAttribute(Type type,
Quantity quantity) |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
dependsOn(Attribute[] b) |
protected abstract double |
derive(java.lang.Object object,
boolean asNode,
double parentValue,
GraphState gs) |
protected double |
getDerived(java.lang.Object object,
boolean asNode,
GraphState gs) |
protected abstract double |
getInitialValue(GraphState gs) |
protected ObjectAttribute |
getParentAttribute(GraphState gs) |
double |
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, setDoublecompareTo, find, forName, getAttributeState, getDescription, getId, getKey, getQuantity, getSimpleName, getType, hashCode, initializeI18N, initializeName, isContained, isWritable, setAttributeState, toArray, toStringpublic DoubleTreeAttribute(Quantity quantity)
public abstract boolean dependsOn(Attribute[] b)
protected abstract double derive(java.lang.Object object,
boolean asNode,
double parentValue,
GraphState gs)
protected double getDerived(java.lang.Object object,
boolean asNode,
GraphState gs)
getDerived in class DoubleAttributeprotected abstract double getInitialValue(GraphState gs)
protected ObjectAttribute getParentAttribute(GraphState gs)
public double getParentValue(java.lang.Object object,
boolean asNode,
GraphState gs)