de.grogra.imp3d.objects
public abstract class TextLabelBase extends Label implements Pickable
Node.AccessorBridge, Node.FieldAttributeAccessor, Node.NType| Modifier and Type | Field and Description |
|---|---|
static Node.NType |
$TYPE |
protected Color3f |
color |
static Node.NType.Field |
color$FIELD |
protected Color3f |
fillColor |
static Node.NType.Field |
fillColor$FIELD |
protected static int |
FILLED_MASK |
static Node.NType.Field |
filled$FIELD |
protected FontAdapter |
font |
static Node.NType.Field |
font$FIELD |
protected static int |
OUTLINED_MASK |
static Node.NType.Field |
outlined$FIELD |
static int |
USED_BITS |
BOTTOM_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 |
|---|
TextLabelBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(java.lang.Object object,
boolean asNode,
RenderState rs) |
static void |
draw(java.lang.String caption,
java.awt.Font font,
int horizontal,
int vertical,
Tuple3f c,
Tuple3f b,
boolean filled,
boolean outlined,
RenderState rs) |
protected abstract java.lang.String |
getCaption() |
Color3f |
getColor() |
Color3f |
getFillColor() |
FontAdapter |
getFont() |
boolean |
isFilled() |
boolean |
isOutlined() |
void |
pick(java.lang.Object object,
boolean asNode,
Point3d origin,
Vector3d direction,
Matrix4d t,
PickList list)
Computes intersections of a given ray with this shape.
|
static void |
pick(java.lang.String caption,
java.awt.Font font,
int horizontal,
int vertical,
Point3d origin,
Vector3d direction,
Matrix4d transformation,
PickList list) |
void |
setColor(Color3f value) |
void |
setFillColor(Color3f value) |
void |
setFilled(boolean v) |
void |
setFont(FontAdapter value) |
void |
setOutlined(boolean v) |
getHorizontalAlignment, getVerticalAlignment, setAlignment, setHorizontalAlignment, setVerticalAlignmentgetLocalTransformation, getNTypeImpl, getTransform, getTranslation, isTransforming, newInstance, 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, getObject, 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 Color3f color
public static final Node.NType.Field color$FIELD
protected Color3f fillColor
public static final Node.NType.Field fillColor$FIELD
protected static final int FILLED_MASK
public static final Node.NType.Field filled$FIELD
protected FontAdapter font
public static final Node.NType.Field font$FIELD
protected static final int OUTLINED_MASK
public static final Node.NType.Field outlined$FIELD
public static final int USED_BITS
public void draw(java.lang.Object object,
boolean asNode,
RenderState rs)
draw in interface Renderablepublic static void draw(java.lang.String caption,
java.awt.Font font,
int horizontal,
int vertical,
Tuple3f c,
Tuple3f b,
boolean filled,
boolean outlined,
RenderState rs)
protected abstract java.lang.String getCaption()
public Color3f getColor()
public Color3f getFillColor()
public FontAdapter getFont()
public boolean isFilled()
public boolean isOutlined()
public void pick(java.lang.Object object,
boolean asNode,
Point3d origin,
Vector3d direction,
Matrix4d t,
PickList list)
Pickablepick in interface Pickableobject - the object of which this shape is an attributeasNode - true iff object is a nodeorigin - the origin of the ray, in local coordinatesdirection - the direction of the ray, in local coordinatest - the transformation from local coordinates to world coordinateslist - the list to which intersections have to be addedpublic static void pick(java.lang.String caption,
java.awt.Font font,
int horizontal,
int vertical,
Point3d origin,
Vector3d direction,
Matrix4d transformation,
PickList list)
public void setColor(Color3f value)
public void setFillColor(Color3f value)
public void setFilled(boolean v)
public void setFont(FontAdapter value)
public void setOutlined(boolean v)