INestable.IChildrenChangedListener
Modifier and Type | Method and Description |
---|---|
IColourRectangle |
getBackground()
Gets the background.
|
float |
getHeight()
Gets the height.
|
IItem |
getListenBlock()
Gets the listen block.
|
IRoundedBorder |
getTextBorder()
Gets the text border.
|
IMutableLabel |
getTextLabel()
Gets the text label.
|
float |
getWidth()
Gets the width.
|
void |
setColours(com.jme3.math.ColorRGBA bgColour,
com.jme3.math.ColorRGBA borderColour,
FontColour fontColour)
Sets the colours.
|
void |
setHeight(float height)
Sets the height.
|
void |
setMovable(boolean movable)
Sets the movable.
|
void |
setScaleLimits(float scaleMin,
float scaleMax)
Sets the scale limits.
|
void |
setText(java.lang.String text,
IStage stage)
Sets the text.
|
void |
setWidth(float width)
Sets the width.
|
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
IColourRectangle getBackground()
float getHeight()
IItem getListenBlock()
IRoundedBorder getTextBorder()
IMutableLabel getTextLabel()
float getWidth()
void setColours(com.jme3.math.ColorRGBA bgColour, com.jme3.math.ColorRGBA borderColour, FontColour fontColour)
bgColour
- the bg colourborderColour
- the border colourfontColour
- the font colourvoid setHeight(float height)
height
- the new heightvoid setMovable(boolean movable)
movable
- the new movablevoid setScaleLimits(float scaleMin, float scaleMax)
scaleMin
- the scale minscaleMax
- the scale maxvoid setText(java.lang.String text, IStage stage)
text
- the textstage
- the stagevoid setWidth(float width)
width
- the new width