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