public interface IToggleButtonbox extends IItem
INestable.IChildrenChangedListener
Modifier and Type | Method and Description |
---|---|
IImage |
getImageOff()
Gets the image off.
|
IImage |
getImageOn()
Gets the image on.
|
IImage |
getListener()
Gets the listener.
|
IRoundedBorder |
getTextBorderOff()
Gets the text border off.
|
IRoundedBorder |
getTextBorderOn()
Gets the text border on.
|
IMutableLabel |
getTextLabelOff()
Gets the text label off.
|
IMutableLabel |
getTextLabelOn()
Gets the text label on.
|
boolean |
getToggleStatus()
Gets the toggle status.
|
void |
setImage(IImage imageOff,
com.jme3.math.ColorRGBA bgColourOff,
com.jme3.math.ColorRGBA borderColourOff,
IImage imageOn,
com.jme3.math.ColorRGBA bgColourOn,
com.jme3.math.ColorRGBA borderColourOn,
float width,
float height,
IStage stage)
Sets the image.
|
void |
setText(java.lang.String textOff,
com.jme3.math.ColorRGBA bgColourOff,
com.jme3.math.ColorRGBA borderColourOff,
FontColour fontColourOff,
java.lang.String textOn,
com.jme3.math.ColorRGBA bgColourOn,
com.jme3.math.ColorRGBA borderColourOn,
FontColour fontColourOn,
float width,
float height,
IStage stage)
Sets the text.
|
void |
toggle()
Toggle.
|
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
IImage getImageOff()
IImage getImageOn()
IImage getListener()
IRoundedBorder getTextBorderOff()
IRoundedBorder getTextBorderOn()
IMutableLabel getTextLabelOff()
IMutableLabel getTextLabelOn()
boolean getToggleStatus()
void setImage(IImage imageOff, com.jme3.math.ColorRGBA bgColourOff, com.jme3.math.ColorRGBA borderColourOff, IImage imageOn, com.jme3.math.ColorRGBA bgColourOn, com.jme3.math.ColorRGBA borderColourOn, float width, float height, IStage stage)
imageOff
- the image offbgColourOff
- the bg colour offborderColourOff
- the border colour offimageOn
- the image onbgColourOn
- the bg colour onborderColourOn
- the border colour onwidth
- the widthheight
- the heightstage
- the stagevoid setText(java.lang.String textOff, com.jme3.math.ColorRGBA bgColourOff, com.jme3.math.ColorRGBA borderColourOff, FontColour fontColourOff, java.lang.String textOn, com.jme3.math.ColorRGBA bgColourOn, com.jme3.math.ColorRGBA borderColourOn, FontColour fontColourOn, float width, float height, IStage stage)
textOff
- the text offbgColourOff
- the bg colour offborderColourOff
- the border colour offfontColourOff
- the font colour offtextOn
- the text onbgColourOn
- the bg colour onborderColourOn
- the border colour onfontColourOn
- the font colour onwidth
- the widthheight
- the heightstage
- the stagevoid toggle()