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