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