public interface ISimpleKeyboard extends IItem
INestable.IChildrenChangedListener
Modifier and Type | Method and Description |
---|---|
void |
generateKeys(IStage stage,
KeyboardOutput keyboardOutput)
Generate keys.
|
float |
getHeight()
Gets the height.
|
IImage |
getListener()
Gets the listener.
|
float |
getWidth()
Gets the width.
|
void |
setColours(com.jme3.math.ColorRGBA bgColour,
com.jme3.math.ColorRGBA keyColour,
com.jme3.math.ColorRGBA keyBorderColour,
com.jme3.math.ColorRGBA boardBorderColour,
FontColour fontColour)
Sets the colours.
|
void |
setMovable(boolean movable)
Sets the movable.
|
void |
setScaleLimits(float minScale,
float maxScale)
Sets the scale limits.
|
addItemListener, behaviourAdded, centerItem, convertWorldVelocityToLocalVelocity, getBehaviours, getBehaviours, getItemListeners, getManipulableSpatial, 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
void generateKeys(IStage stage, KeyboardOutput keyboardOutput)
stage
- the stagekeyboardOutput
- the keyboard outputfloat getHeight()
IImage getListener()
float getWidth()
void setColours(com.jme3.math.ColorRGBA bgColour, com.jme3.math.ColorRGBA keyColour, com.jme3.math.ColorRGBA keyBorderColour, com.jme3.math.ColorRGBA boardBorderColour, FontColour fontColour)
bgColour
- the bg colourkeyColour
- the key colourkeyBorderColour
- the key border colourboardBorderColour
- the board border colourfontColour
- the font colourvoid setMovable(boolean movable)
movable
- the new movablevoid setScaleLimits(float minScale, float maxScale)
minScale
- the min scalemaxScale
- the max scale