com.jme3.scene.Spatial.CullHint
INestable.IChildrenChangedListener
KEY_JMEITEMDATA
Constructor and Description |
---|
JMEKeyboard(java.lang.String name,
java.util.UUID uuid)
Instantiates a new JME keyboard.
|
Modifier and Type | Method and Description |
---|---|
float |
getHeight()
Gets the height.
|
KeyboardDefinition |
getKeyboardDefinition()
Gets the keyboard definition.
|
com.jme3.scene.Spatial |
getManipulableSpatial()
Gets the manipulable spatial.
|
com.jme3.math.Vector2f |
getSize()
Gets the size.
|
float |
getWidth()
Gets the width.
|
void |
initializeGeometry(com.jme3.asset.AssetManager assetManager)
Initialize geometry.
|
void |
reDraw()
Re draw.
|
void |
reDrawKeyboard(boolean shiftDown,
boolean altDown,
boolean ctlDown)
Re draw keyboard.
|
void |
setKeyboardDefinition(KeyboardDefinition kd)
Sets the keyboard definition.
|
void |
setKeyboardRenderer(IKeyboardGraphicsRenderer keyboardRenderer)
Sets the keyboard renderer.
|
void |
setSize(float width,
float height)
Sets the size.
|
void |
setSize(com.jme3.math.Vector2f size)
Sets the size.
|
addItem, addItemListener, behaviourAdded, centerItem, convertWorldVelocityToLocalVelocity, deRegisterChildrenChangedListener, getBehaviours, getBehaviours, getChildItems, getChildrenCount, getItemChildren, getItemListeners, getItemName, getMultiTouchDispatcher, getName, getParentItem, getRelativeLocation, getRelativeLocationOfWorldLocation, getRelativeRotation, getRelativeScale, getUUID, getWorldLocation, getWorldLocation, getWorldRotationDegrees, getZOrder, getZOrderManager, hasChildren, isVisible, registerChildrenChangedListener, removeAllItems, removeItem, removeItemListener, setInteractionEnabled, setItemListeners, setItemName, setParentItem, setRelativeLocation, setRelativeRotation, setRelativeScale, setVisible, setWorldLocation, setZOrder, toString
attachChild, attachChildAt, childChange, clone, collideWith, deepClone, depthFirstTraversal, descendantMatches, descendantMatches, descendantMatches, detachAllChildren, detachChild, detachChildAt, detachChildNamed, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, read, setLodLevel, setMaterial, setModelBound, swapChildren, updateGeometricState, updateLogicalState, updateModelBound, write
addControl, addLight, breadthFirstTraversal, center, checkCulling, clone, getControl, getControl, getCullHint, getLastFrustumIntersection, getLocalCullHint, getLocalLightList, getLocalQueueBucket, getLocalRotation, getLocalScale, getLocalShadowMode, getLocalToWorldMatrix, getLocalTransform, getLocalTranslation, getNumControls, getParent, getQueueBucket, getShadowMode, getUserData, getUserDataKeys, getWorldBound, getWorldLightList, getWorldRotation, getWorldScale, getWorldTransform, getWorldTranslation, hasAncestor, localToWorld, lookAt, matches, move, move, removeControl, removeControl, removeFromParent, removeLight, rotate, rotate, rotateUpTo, runControlRender, scale, scale, setCullHint, setLastFrustumIntersection, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalScale, setLocalTransform, setLocalTranslation, setLocalTranslation, setName, setQueueBucket, setShadowMode, setUserData, worldToLocal
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addItemListener, behaviourAdded, centerItem, convertWorldVelocityToLocalVelocity, getBehaviours, getBehaviours, getItemListeners, getMultiTouchDispatcher, getName, getParentItem, getRelativeLocation, getRelativeLocationOfWorldLocation, getRelativeRotation, getRelativeScale, getUUID, getWorldLocation, getWorldLocation, getWorldRotationDegrees, getZOrder, getZOrderManager, isVisible, removeItemListener, setInteractionEnabled, setItemListeners, setParentItem, setRelativeLocation, setRelativeRotation, setRelativeScale, setVisible, setWorldLocation, setZOrder
addItem, deRegisterChildrenChangedListener, getChildItems, getChildrenCount, hasChildren, registerChildrenChangedListener, removeAllItems, removeItem
public JMEKeyboard(java.lang.String name, java.util.UUID uuid)
name
- the nameuuid
- the uuidpublic float getHeight()
IRectangularItem
getHeight
in interface IRectangularItem
public KeyboardDefinition getKeyboardDefinition()
IKeyboard
getKeyboardDefinition
in interface IKeyboard
public com.jme3.scene.Spatial getManipulableSpatial()
IItem
getManipulableSpatial
in interface IItem
public com.jme3.math.Vector2f getSize()
IRectangularItem
getSize
in interface IRectangularItem
public float getWidth()
IRectangularItem
getWidth
in interface IRectangularItem
public void initializeGeometry(com.jme3.asset.AssetManager assetManager)
IInitable
initializeGeometry
in interface IInitable
assetManager
- the asset managerpublic void reDraw()
IKeyboard
public void reDrawKeyboard(boolean shiftDown, boolean altDown, boolean ctlDown)
IKeyboard
reDrawKeyboard
in interface IKeyboard
shiftDown
- the shift downaltDown
- the alt downctlDown
- the ctl downpublic void setKeyboardDefinition(KeyboardDefinition kd)
IKeyboard
setKeyboardDefinition
in interface IKeyboard
kd
- the new keyboard definitionpublic void setKeyboardRenderer(IKeyboardGraphicsRenderer keyboardRenderer)
IKeyboard
setKeyboardRenderer
in interface IKeyboard
keyboardRenderer
- the new keyboard rendererpublic void setSize(float width, float height)
IRectangularItem
setSize
in interface IRectangularItem
width
- the widthheight
- the heightpublic void setSize(com.jme3.math.Vector2f size)
IRectangularItem
setSize
in interface IRectangularItem
size
- the new size