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