org.jdesktop.wonderland.client.jme.utils
Class TextLabel2D

java.lang.Object
  extended by com.jme.scene.Spatial
      extended by com.jme.scene.Node
          extended by org.jdesktop.wonderland.client.jme.utils.TextLabel2D
All Implemented Interfaces:
com.jme.util.export.Savable, java.io.Serializable

public class TextLabel2D
extends com.jme.scene.Node

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jme.scene.Spatial
com.jme.scene.Spatial.CullHint, com.jme.scene.Spatial.LightCombineMode, com.jme.scene.Spatial.NormalsMode, com.jme.scene.Spatial.TextureCombineMode
 
Field Summary
 
Fields inherited from class com.jme.scene.Node
children
 
Fields inherited from class com.jme.scene.Spatial
cullHint, frustrumIntersects, geometricalControllers, geometricUpdateListeners, 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
TextLabel2D(java.lang.String text)
           
TextLabel2D(java.lang.String text, java.awt.Color foreground, java.awt.Color background, float height, boolean billboard, java.awt.Font font)
           
 
Method Summary
 void setBlurSize(int kernelSize)
           
 void setBlurStrength(float strength)
           
 void setFont(java.awt.Font font)
           
 void setFontResolution(float fontResolution)
           
 void setHeight(float height)
          Set the height of the quad onto which the label image is applied.
 void setShadowOffsetX(int offsetPixelX)
           
 void setShadowOffsetY(int offsetPixelY)
           
 void setText(java.lang.String text, java.awt.Color foreground, java.awt.Color background)
           
 
Methods inherited from class com.jme.scene.Node
applyRenderState, attachChild, attachChildAt, childChange, detachAllChildren, detachChild, detachChildAt, detachChildNamed, draw, findCollisions, findPick, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, hasCollision, lockBounds, lockMeshes, lockShadows, lockTransforms, read, setLive, setModelBound, sortLights, swapChildren, unlockBounds, unlockMeshes, unlockShadows, unlockTransforms, updateModelBound, updateWorldBound, updateWorldData, updateWorldVectors, write
 
Methods inherited from class com.jme.scene.Spatial
addController, addGeometricUpdateListener, calculateCollisions, calculatePick, clearControllers, clearRenderState, clearRenderState, getClassTag, getController, getControllerCount, getControllers, getCullHint, getGlowColor, getGlowScale, getLastFrustumIntersection, getLightCombineMode, getLocalCullHint, getLocalLightCombineMode, getLocalNormalsMode, getLocalRenderQueueMode, getLocalRotation, getLocalScale, getLocalTextureCombineMode, getLocalToWorldMatrix, getLocalTranslation, getLocks, getName, getNormalsMode, getParent, getRenderQueueMode, getRenderState, getRenderState, getTextureCombineMode, getUserData, getWorldBound, getWorldRotation, getWorldScale, getWorldTranslation, getZOrder, hasAncestor, isCollidable, isGlowEnabled, isLive, isVisible, localToWorld, lock, lock, lockBranch, lockMeshes, lookAt, onDraw, propagateBoundToRoot, propagateStatesFromRoot, removeController, removeController, removeFromParent, removeGeometricUpdateListener, removeUserData, rotateUpTo, setCullHint, setGlowColor, setGlowEnabled, setGlowScale, setIsCollidable, setLastFrustumIntersection, setLightCombineMode, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalTranslation, setLocalTranslation, setLocks, setLocks, setName, setNormalsMode, setParent, setRenderQueueMode, setRenderState, setTextureCombineMode, setUserData, setVisible, setZOrder, setZOrder, toString, unlock, unlock, unlockBranch, unlockMeshes, updateGeometricState, updateRenderState, updateRenderState, updateWorldRotation, updateWorldScale, updateWorldTranslation, updateWorldVectors, worldToLocal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.jme.util.export.Savable
getClassTag
 

Constructor Detail

TextLabel2D

public TextLabel2D(java.lang.String text)

TextLabel2D

public TextLabel2D(java.lang.String text,
                   java.awt.Color foreground,
                   java.awt.Color background,
                   float height,
                   boolean billboard,
                   java.awt.Font font)
Method Detail

setFont

public void setFont(java.awt.Font font)

setText

public void setText(java.lang.String text,
                    java.awt.Color foreground,
                    java.awt.Color background)

setShadowOffsetX

public void setShadowOffsetX(int offsetPixelX)

setShadowOffsetY

public void setShadowOffsetY(int offsetPixelY)

setBlurSize

public void setBlurSize(int kernelSize)

setBlurStrength

public void setBlurStrength(float strength)

setFontResolution

public void setFontResolution(float fontResolution)

setHeight

public void setHeight(float height)
Set the height of the quad onto which the label image is applied.

Parameters:
height -


Open Wonderland - http://openwonderland.org