de.grogra.imp3d.objects
public class NumericLabel extends TextLabelBase
| Modifier and Type | Class and Description |
|---|---|
static class |
NumericLabel.Pattern |
Node.AccessorBridge, Node.FieldAttributeAccessor, Node.NType| Modifier and Type | Field and Description |
|---|---|
static Node.NType |
$TYPE |
protected java.lang.String |
format |
static Node.NType.Field |
format$FIELD |
protected float |
value |
static Node.NType.Field |
value$FIELD |
color, color$FIELD, fillColor, fillColor$FIELD, FILLED_MASK, filled$FIELD, font, font$FIELD, OUTLINED_MASK, outlined$FIELD, USED_BITSBOTTOM_MASK, HORIZONTAL_MASK, horizontalAlignment$FIELD, LEFT_MASK, RIGHT_MASK, TOP_MASK, VERTICAL_MASK, verticalAlignment$FIELDtransform, transform$FIELD, TRANSFORMING_MASK, transforming$FIELDADDITIONAL_FIELDS, bits, DELETED, EXTENT_BIT, EXTENT_MASK, extentIndex$FIELD, extentTail$FIELD, HAS_OBSERVERS, IS_INTERPRETIVE, isInterpretive$FIELD, LAST_EXTENT_INDEX, layer$FIELD, MARK, mark$FIELD, MIME_TYPE, MIN_UNUSED_SPECIAL_OF_SOURCE, MIN_UNUSED_SPECIAL_OF_TARGET, name$FIELDDEFAULT_VALUE, EMPTY_MAP| Constructor and Description |
|---|
NumericLabel() |
NumericLabel(float value) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getCaption() |
java.lang.String |
getFormat() |
protected Node.NType |
getNTypeImpl()
This method returns the
Node.NType which describes the managed
fields of the class of this node. |
protected java.lang.Object |
getObject(ObjectAttribute a,
java.lang.Object placeIn,
GraphState gs) |
float |
getValue() |
protected Node |
newInstance()
This method returns a new instance of the class of this
node.
|
void |
setFormat(java.lang.String format) |
void |
setValue(float value) |
draw, draw, getColor, getFillColor, getFont, isFilled, isOutlined, pick, pick, setColor, setFillColor, setFilled, setFont, setOutlinedgetHorizontalAlignment, getVerticalAlignment, setAlignment, setHorizontalAlignment, setVerticalAlignmentgetLocalTransformation, getTransform, getTranslation, isTransforming, postTransform, preTransform, setRotation, setScale, setTransform, setTransform, setTransform, setTransform, setTransform, setTransform, setTransform, setTransform, setTransforming, setTranslationaddEdgeBitsTo, addReference, appendBranchNode, appendBranchNode, appendReferencesTo, clone, clone, cloneGraph, dump, dumpTree, dup, dupUnmanagedFields, edgeChanged, fieldModified, findAdjacent, findRefinementType, get, getAccessor, getAccessor, getAttributes, getAxisParent, getBoolean, getBranch, getBranchLength, getBranchNode, getBranchTail, getByte, getChar, getCommonAncestor, getCurrentGraphState, getDirectChildCount, getDouble, getEdgeAttributeAccessor, getEdgeAttributes, getEdgeBitsTo, getEdgeTo, getExtentIndex, getFirst, getFirstEdge, getFloat, getGraph, getId, getIndex, getInstantiator, getInt, getLayer, getLong, getManageableType, getName, getNeighbor, getNext, getNType, getOrCreateEdgeTo, getOrNull, getPersistenceManager, getPredecessor, getProvider, getShort, getSource, getStamp, getSuccessor, getSymbol, getSymbolColor, getTarget, getTransaction, getUserField, getUserFieldCount, getXClass, getXData, hasName, initProvider, initXClass, insertBranchNode, insertBranchNode, instantiateGraph, isAncestorOf, isDirection, isEncoarseOf, isManagingInstance, isMarked, isRoot, isSource, isTarget, manageableReadResolve, manageableWriteReplace, paramString, removeAll, removeEdgeBitsTo, removeFromChain, removeFromChain, removeReference, setBranch, setBranch, setExtentIndex, setGraphForDeserialization, setLayer, setMark, setName, setSuccessor, setSuccessor, specialEdgeAdded, specialEdgeRefModified, specialEdgeRemoved, toString, writeReplaceaddEdgeBits, getBitMark, getEdgeBits, getObjectMark, getSpecialEdgeDescriptor, parseEdgeKeys, remove, removeEdgeBits, setBitMark, setEdgeBits, setObjectMark, testEdgeBitsequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBitMark, getObjectMark, setBitMark, setObjectMarkpublic static final Node.NType $TYPE
protected java.lang.String format
public static final Node.NType.Field format$FIELD
protected float value
public static final Node.NType.Field value$FIELD
protected java.lang.String getCaption()
getCaption in class TextLabelBasepublic java.lang.String getFormat()
protected Node.NType getNTypeImpl()
NodeNode.NType which describes the managed
fields of the class of this node. This method has to be implemented
in every concrete subclass.getNTypeImpl in class Nullprotected java.lang.Object getObject(ObjectAttribute a, java.lang.Object placeIn, GraphState gs)
public float getValue()
protected Node newInstance()
NodenewInstance in class Nullpublic void setFormat(java.lang.String format)
public void setValue(float value)