public interface IRadialMenu extends IItem
INestable.IChildrenChangedListener
Modifier and Type | Method and Description |
---|---|
int |
addOption(RadialMenuOption option)
Adds the option.
|
void |
removeOption(int optionIndex)
Removes the option.
|
void |
setOptionVisibility(boolean b)
Sets the option visibility.
|
void |
setRadius(int i)
Sets the radius.
|
void |
setRootItem(IItem studentIcon,
IStage stage,
java.util.logging.Logger log,
com.jme3.math.ColorRGBA studentColour)
Sets the root item.
|
void |
toggleOptionVisibility()
Toggle option visibility.
|
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
int addOption(RadialMenuOption option)
option
- the optionvoid removeOption(int optionIndex)
optionIndex
- the option indexvoid setOptionVisibility(boolean b)
b
- the new option visibilityvoid setRadius(int i)
i
- the new radiusvoid setRootItem(IItem studentIcon, IStage stage, java.util.logging.Logger log, com.jme3.math.ColorRGBA studentColour)
studentIcon
- the student iconstage
- the stagelog
- the logstudentColour
- the student colourvoid toggleOptionVisibility()