|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme.scene.Spatial
com.jme.scene.Geometry
com.jme.scene.Text
com.jmex.font2d.Text2D
public class Text2D
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.jme.scene.Spatial |
---|
Spatial.CullHint, Spatial.LightCombineMode, Spatial.NormalsMode, Spatial.TextureCombineMode |
Field Summary | |
---|---|
(package private) Font2D |
factory
|
Fields inherited from class com.jme.scene.Text |
---|
DEFAULT_FONT |
Fields inherited from class com.jme.scene.Geometry |
---|
binormalBuf, bound, castsShadows, colorBuf, compVect, defaultColor, displayListID, enabled, fogBuf, hasDirtyVertices, normBuf, states, tangentBuf, texBuf, vboInfo, vertBuf, vertQuantity |
Fields inherited from class com.jme.scene.Spatial |
---|
cullHint, frustrumIntersects, geometricalControllers, isCollidable, lightCombineMode, localRotation, localScale, localTranslation, LOCKED_BOUNDS, LOCKED_BRANCH, LOCKED_MESH_DATA, LOCKED_NONE, LOCKED_SHADOWS, LOCKED_TRANSFORMS, lockedMode, name, normalsMode, parent, queueDistance, renderQueueMode, renderStateList, textureCombineMode, worldBound, worldRotation, worldScale, worldTranslation, zOrder |
Constructor Summary | |
---|---|
Text2D(Font2D factory,
java.lang.String text,
float size,
int flags)
|
Method Summary | |
---|---|
void |
appendText(java.lang.String text)
Append text to the string of text that this object is visualizing. |
TextFactory |
getFactory()
|
int |
getFlags()
|
float |
getSize()
|
void |
setSize(float size)
change the size of the font, this will most likely be implemented with scaling, so watch out when using this and setLocalScale(...). |
void |
setText(java.lang.String text)
Sets the string of text that this object is visualizing, the geometry of the object should change to reflect the change. |
Methods inherited from class com.jme.scene.Text |
---|
applyRenderState, createDefaultTextLabel, createDefaultTextLabel, draw, findCollisions, getDefaultFontTextureState, getFontBlend, getHeight, getText, getTextColor, getWidth, hasCollision, print, print, read, resetDefaultFontTextureState, resetFontTexture, setTextColor, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.jmex.font3d.JmeText |
---|
getText, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalTranslation |
Methods inherited from interface com.jme.util.export.Savable |
---|
getClassTag |
Field Detail |
---|
Font2D factory
Constructor Detail |
---|
public Text2D(Font2D factory, java.lang.String text, float size, int flags)
Method Detail |
---|
public void appendText(java.lang.String text)
JmeText
appendText
in interface JmeText
public TextFactory getFactory()
getFactory
in interface JmeText
public int getFlags()
getFlags
in interface JmeText
public float getSize()
getSize
in interface JmeText
public void setSize(float size)
JmeText
setSize
in interface JmeText
public void setText(java.lang.String text)
JmeText
setText
in interface JmeText
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |