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