de.grogra.graph
public class ShortAttribute extends Attribute<java.lang.Short>
ATTRIBUTE_0, attrType, quantityACCELERATOR_KEY, ICON, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, TITLE| Constructor and Description |
|---|
ShortAttribute() |
ShortAttribute(Type type) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Short |
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 short |
getDerived(java.lang.Object object,
boolean asNode,
GraphState gs) |
short |
getMaxValue() |
short |
getMinValue() |
java.lang.Short |
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 |
protected short |
setDerived(java.lang.Object object,
boolean asNode,
short value,
GraphState gs) |
short |
setShort(java.lang.Object object,
boolean asNode,
short value,
GraphState gs) |
compareTo, find, forName, getAttributeState, getDescription, getId, getKey, getQuantity, getSimpleName, getType, hashCode, initializeI18N, initializeName, isContained, isDerived, isWritable, setAttributeState, toArray, toStringpublic ShortAttribute()
public ShortAttribute(Type type)
public final java.lang.Short get(java.lang.Object o,
boolean asNode,
GraphState gs)
Attributeprotected short getDerived(java.lang.Object object,
boolean asNode,
GraphState gs)
public short getMaxValue()
public short getMinValue()
public final java.lang.Short set(java.lang.Object o,
boolean asNode,
java.lang.Object value,
GraphState gs)
Attributeobject
to the given valueprotected short setDerived(java.lang.Object object,
boolean asNode,
short value,
GraphState gs)
public short setShort(java.lang.Object object,
boolean asNode,
short value,
GraphState gs)