de.grogra.graph
public class BooleanAttribute extends Attribute<java.lang.Boolean>
ATTRIBUTE_0, attrType, quantityACCELERATOR_KEY, ICON, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, TITLE| Constructor and Description |
|---|
BooleanAttribute() |
BooleanAttribute(Type type) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
get(java.lang.Object o,
boolean asNode,
GraphState gs)
Returns the value of this attribute for the given object in
the given graph state.
|
protected boolean |
getDerived(java.lang.Object object,
boolean asNode,
GraphState gs) |
java.lang.Boolean |
set(java.lang.Object o,
boolean asNode,
java.lang.Object value,
GraphState gs)
Sets the value of this attribute for the given
object
to the given value |
boolean |
setBoolean(java.lang.Object object,
boolean asNode,
boolean value,
GraphState gs) |
protected boolean |
setDerived(java.lang.Object object,
boolean asNode,
boolean value,
GraphState gs) |
compareTo, find, forName, getAttributeState, getDescription, getId, getKey, getQuantity, getSimpleName, getType, hashCode, initializeI18N, initializeName, isContained, isDerived, isWritable, setAttributeState, toArray, toStringpublic BooleanAttribute()
public BooleanAttribute(Type type)
public final java.lang.Boolean get(java.lang.Object o,
boolean asNode,
GraphState gs)
Attributeprotected boolean getDerived(java.lang.Object object,
boolean asNode,
GraphState gs)
public final java.lang.Boolean set(java.lang.Object o,
boolean asNode,
java.lang.Object value,
GraphState gs)
Attributeobject
to the given valuepublic boolean setBoolean(java.lang.Object object,
boolean asNode,
boolean value,
GraphState gs)
protected boolean setDerived(java.lang.Object object,
boolean asNode,
boolean value,
GraphState gs)