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