org.xith3d.ui.hud.menusystem.menus.settings
Class InputBindingsSettingsMenu
java.lang.Object
org.xith3d.ui.hud.base.WidgetBase
org.xith3d.ui.hud.base.RectangularWidget
org.xith3d.ui.hud.base.WidgetContainerBase
org.xith3d.ui.hud.widgets.Panel
org.xith3d.ui.hud.menusystem.menus.MenuBase
org.xith3d.ui.hud.menusystem.menus.settings.InputBindingsSettingsMenu
- All Implemented Interfaces:
- org.jagatoo.datatypes.NamableObject, org.jagatoo.datatypes.NamedObject, org.openmali.types.twodee.Positioned2f, org.openmali.types.twodee.Positioned2fRO, org.openmali.types.twodee.Sized2f, org.openmali.types.twodee.Sized2fRO, BackgroundSettable, BackgroundSettableWidget, BorderSettable, PaddingSettable, Widget, WidgetContainer, ScrollbarListener, Menu
public class InputBindingsSettingsMenu
- extends MenuBase
This is a settings menu for general key-bindings
to bind keys to LabeledInputActions.
|
Field Summary |
static java.lang.String |
NAME
|
|
Constructor Summary |
InputBindingsSettingsMenu(float width,
org.jagatoo.commands.CommandsRegistry<? extends org.jagatoo.input.actions.LabeledInputAction> commandsReg)
|
InputBindingsSettingsMenu(float width,
float height,
org.jagatoo.commands.CommandsRegistry<? extends org.jagatoo.input.actions.LabeledInputAction> commandsReg)
|
InputBindingsSettingsMenu(float width,
float height,
int zIndex,
org.jagatoo.commands.CommandsRegistry<? extends org.jagatoo.input.actions.LabeledInputAction> commandsReg)
|
InputBindingsSettingsMenu(float width,
float height,
int zIndex,
org.jagatoo.input.actions.LabeledInputAction[] commands)
|
InputBindingsSettingsMenu(float width,
float height,
org.jagatoo.input.actions.LabeledInputAction[] commands)
|
InputBindingsSettingsMenu(float width,
int zIndex,
org.jagatoo.commands.CommandsRegistry<? extends org.jagatoo.input.actions.LabeledInputAction> commandsReg)
|
InputBindingsSettingsMenu(float width,
int zIndex,
org.jagatoo.input.actions.LabeledInputAction[] commands)
|
InputBindingsSettingsMenu(float width,
org.jagatoo.input.actions.LabeledInputAction[] commands)
|
|
Method Summary |
void |
clearBindings()
|
org.jagatoo.input.actions.LabeledInputAction |
getBinding(org.jagatoo.input.devices.components.DeviceComponent comp)
|
org.jagatoo.input.managers.InputBindingsManager<org.jagatoo.input.actions.LabeledInputAction> |
getBindings()
|
org.jagatoo.input.devices.components.DeviceComponent |
getBoundComponent(org.jagatoo.input.actions.LabeledInputAction action,
org.jagatoo.input.managers.InputBindingsSet set)
|
protected void |
initWidgets()
|
void |
resetBinding(org.jagatoo.input.actions.LabeledInputAction action,
org.jagatoo.input.managers.InputBindingsSet set)
|
void |
setBinding(org.jagatoo.input.devices.components.DeviceComponent comp,
org.jagatoo.input.actions.LabeledInputAction action,
org.jagatoo.input.managers.InputBindingsSet set)
|
<A extends org.jagatoo.input.actions.LabeledInputAction>
void |
|
setBindings(org.jagatoo.input.managers.InputBindingsManager<A> inputBindings)
|
| Methods inherited from class org.xith3d.ui.hud.widgets.Panel |
getBackground, getBackgroundColor, getBackgroundTileHeight, getBackgroundTileSize, getBackgroundTileWidth, getBorder, getForeground, getTransparency, setBackground, setBackground, setBackground, setBackgroundTileSize, setBackgroundTileSize, setBorder, setBorder, setForeground, setForeground, setSize, update |
| Methods inherited from class org.xith3d.ui.hud.base.WidgetContainerBase |
addContainerScrollListener, addWidget, addWidget, addWidget, addWidget, addWidget, addWidget, addWidget, addWidget, addWidget, addWidget, addWidgetCentered, addWidgetCentered, clear, focus, getChildrenOffset, getChildrenOffsetX, getChildrenOffsetY, getCurrentFocusedWidget, getCurrentFocusedWidget, getEqualHeight, getEqualWidth, getInnerAspect, getInnerHeight, getInnerSize, getInnerWidth, getLayout, getLocationCanvas2HUD, getLocationHUD2Canvas, getLocationHUD2SG, getLocationSG2HUD, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getResAspect, getResolution, getResX, getResY, getScrollScale, getScrollScaleX, getScrollScaleY, getSGGroup, getSGPixelHeight, getSGPixelSize, getSGPixelWidth, getSizeCanvas2HUD, getSizeHUD2Canvas, getSizeHUD2SG, getSizeOfPixels, getSizeOnHUD, getSizeSG2HUD, getWidgets, isClippingEnbaled, moveFocus, onControllerAxisChanged, onControllerButtonPressed, onControllerButtonReleased, onDetached, onFocusGained, onFocusLost, onInputStateChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseUnbound, onScrollbarValueChanged, pick, removeContainerScrollListener, removeWidget, setChildrenOffset, setClippingEnabled, setContainer, setLayout, setPadding, setPadding, setScrollScale, setScrollScale, setTransparency, setVisible, updateTranslation |
| Methods inherited from class org.xith3d.ui.hud.base.WidgetBase |
addContainerListener, addFocusListener, addInputListener, addLocationListener, addSizeListener, addVisibilityListener, detach, detach, getAspect, getAssembly, getCachedToolTipWidget, getContainer, getContextMenu, getCursor, getHeight, getHUD, getInheritedCursor, getLeft, getLocation, getName, getSGNode, getSGZPosition, getSize, getToolTip, getTop, getUserObject, getWidgetAssembler, getWidth, getZIndex, hasFocus, hasFocus, hasToolTip, isClickable, isDraggable, isFocussable, isInitialized, isInitializing, isPickable, isVisible, onAddedToContainer, onAddedToHUD, onMouseButtonPressed, onMouseButtonReleased, onMouseEntered, onMouseLeft, onMouseMoved, onMouseStopped, onMouseWheelMoved, onRemovedFromContainer, pickWidgetAssembler, removeContainerListener, removeFocusListener, removeInputListener, removeLocationListener, removeSizeListener, removeVisibilityListener, requestFocus, setAssembly, setCachedToolTipWidget, setClickable, setContextMenu, setCursor, setDraggable, setFocussable, setHeight, setLocation, setLocation, setLocation, setName, setPickable, setSize, setSize, setSize, setToolTip, setTransparency, setUserObject, setWidth, setZIndex, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xith3d.ui.hud.menusystem.Menu |
getName |
| Methods inherited from interface org.xith3d.ui.hud.base.Widget |
addContainerListener, addFocusListener, addInputListener, addLocationListener, addSizeListener, addVisibilityListener, detach, detach, getAspect, getAssembly, getCachedToolTipWidget, getContainer, getContextMenu, getCursor, getHeight, getHUD, getInheritedCursor, getLeft, getLocation, getSGNode, getSGZPosition, getSize, getToolTip, getTop, getTransparency, getUserObject, getWidth, getZIndex, hasFocus, hasFocus, hasToolTip, isClickable, isDraggable, isFocussable, isPickable, isVisible, onControllerAxisChanged, onControllerButtonPressed, onControllerButtonReleased, onDetached, onFocusGained, onFocusLost, onInputStateChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseButtonPressed, onMouseButtonReleased, onMouseEntered, onMouseLeft, onMouseMoved, onMouseStopped, onMouseUnbound, onMouseWheelMoved, pick, removeContainerListener, removeFocusListener, removeInputListener, removeLocationListener, removeSizeListener, removeVisibilityListener, requestFocus, setAssembly, setCachedToolTipWidget, setClickable, setContainer, setContextMenu, setCursor, setDraggable, setFocussable, setLocation, setLocation, setName, setPickable, setSize, setSize, setSize, setToolTip, setTransparency, setUserObject, setVisible, setZIndex, update |
| Methods inherited from interface org.openmali.types.twodee.Sized2f |
setHeight, setWidth |
NAME
public static final java.lang.String NAME
InputBindingsSettingsMenu
public InputBindingsSettingsMenu(float width,
float height,
int zIndex,
org.jagatoo.input.actions.LabeledInputAction[] commands)
InputBindingsSettingsMenu
public InputBindingsSettingsMenu(float width,
float height,
int zIndex,
org.jagatoo.commands.CommandsRegistry<? extends org.jagatoo.input.actions.LabeledInputAction> commandsReg)
InputBindingsSettingsMenu
public InputBindingsSettingsMenu(float width,
float height,
org.jagatoo.input.actions.LabeledInputAction[] commands)
InputBindingsSettingsMenu
public InputBindingsSettingsMenu(float width,
float height,
org.jagatoo.commands.CommandsRegistry<? extends org.jagatoo.input.actions.LabeledInputAction> commandsReg)
InputBindingsSettingsMenu
public InputBindingsSettingsMenu(float width,
int zIndex,
org.jagatoo.input.actions.LabeledInputAction[] commands)
InputBindingsSettingsMenu
public InputBindingsSettingsMenu(float width,
int zIndex,
org.jagatoo.commands.CommandsRegistry<? extends org.jagatoo.input.actions.LabeledInputAction> commandsReg)
InputBindingsSettingsMenu
public InputBindingsSettingsMenu(float width,
org.jagatoo.input.actions.LabeledInputAction[] commands)
InputBindingsSettingsMenu
public InputBindingsSettingsMenu(float width,
org.jagatoo.commands.CommandsRegistry<? extends org.jagatoo.input.actions.LabeledInputAction> commandsReg)
setBinding
public void setBinding(org.jagatoo.input.devices.components.DeviceComponent comp,
org.jagatoo.input.actions.LabeledInputAction action,
org.jagatoo.input.managers.InputBindingsSet set)
resetBinding
public void resetBinding(org.jagatoo.input.actions.LabeledInputAction action,
org.jagatoo.input.managers.InputBindingsSet set)
getBinding
public org.jagatoo.input.actions.LabeledInputAction getBinding(org.jagatoo.input.devices.components.DeviceComponent comp)
getBoundComponent
public org.jagatoo.input.devices.components.DeviceComponent getBoundComponent(org.jagatoo.input.actions.LabeledInputAction action,
org.jagatoo.input.managers.InputBindingsSet set)
clearBindings
public void clearBindings()
setBindings
public <A extends org.jagatoo.input.actions.LabeledInputAction> void setBindings(org.jagatoo.input.managers.InputBindingsManager<A> inputBindings)
getBindings
public org.jagatoo.input.managers.InputBindingsManager<org.jagatoo.input.actions.LabeledInputAction> getBindings()
initWidgets
protected void initWidgets()
-
- Specified by:
initWidgets in class MenuBase