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