org.xith3d.ui.hud.menusystem
Class ButtonsLeftMenusCenterMenuGroupWidget
java.lang.Object
org.xith3d.ui.hud.base.Widget
org.xith3d.ui.hud.base.BackgroundSettableWidget
org.xith3d.ui.hud.base.WidgetContainer
org.xith3d.ui.hud.widgets.Panel
org.xith3d.ui.hud.menusystem.MenuGroupWidget
org.xith3d.ui.hud.menusystem.ButtonsLeftMenusCenterMenuGroupWidget
- 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, PaddingSettable
public class ButtonsLeftMenusCenterMenuGroupWidget
- extends MenuGroupWidget
This is a MenuGroupWidget implementation, that places the
accessor Buttons in the WEST area of a BorderLayout and the
Menus in the CENTER area.
| Methods inherited from class org.xith3d.ui.hud.base.WidgetContainer |
addWidget, addWidget, addWidget, addWidget, addWidget, addWidget, addWidgetCentered, addWidgetCentered, calculateTransformHeight_Pixels2HUD, calculateTransformWidth_Pixels2HUD, clear, createChildrenGroup, drawChildWidgets, focus, getCurrentFocusedWidget, getCurrentFocusedWidget, getCurrentHoveredWidget, getCurrentHoveredWidget, getEqualHeight, getEqualWidth, getLayout, getLocationHUD2Pixels, getLocationHUD2SG, getLocationPixels2HUD, getLocationSG2HUD, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getParentWindow, getRelLocationHUD2Pixels, getResAspect, getResolution, getResX, getResY, getSGGroup, getSizeHUD2Pixels, getSizeHUD2SG, getSizeOfPixels, getSizePixels2HUD, getSizeSG2HUD, getWidget, getWidgets, getWidgetsCount, hasCustomResolution, isClippingEnbaled, isContentPane, onAttachedToHUD, onControllerAxisChanged, onControllerButtonPressed, onControllerButtonReleased, onFocusGained, onFocusLost, onInputStateChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseExited, onSizeChanged, onVisibilityChanged, pick, removeWidget, resetCurrentHoveredWidget, setClippingEnabled, setLayout, setPadding, setPadding, setResolution, setTransparency, setWidgetDirty, setZIndexSortingDirty, update, updateAbsZIndex, updateTranslation |
| Methods inherited from class org.xith3d.ui.hud.base.BackgroundSettableWidget |
drawBackground, getBackgroundColor, getBackgroundTexture, getBackgroundTileMode, setBackground, setBackground, setBackground, setBackgroundColor, setBackgroundTexture, setBackgroundTexture, setBackgroundTexture, setBackgroundTexture, setBackgroundTileMode, setNoBackground |
| Methods inherited from class org.xith3d.ui.hud.base.Widget |
addContainerListener, addControllerListener, addFocusListener, addInputListener, addKeyboardListener, addLocationListener, addMouseListener, addSizeListener, addVisibilityListener, bindToGlobalMouseMovement, blocksFocusMoveDeviceComponent, compareAbsZIndex, createShape, detach, drawAndUpdateWidget, drawBorder, drawWidgetAfterWidgetAssembler, drawWidgetContents, getAbsoluteLocationOnHUD_, getAspect, getAssembly, getBorder, getContainer, getContentAspect, getContentHeight, getContentHeightPX, getContentLeftPX, getContentOffset, getContentTopPX, getContentWidth, getContentWidthPX, getContextMenu, getCursor, getEqualHeight_, getEqualWidth_, getForcedRedrawFrequency, getHeight, getHeightPX, getHUD, getLeft, getLevel, getLocation, getLocation, getLocationHUD2Pixels_, getLocationHUD2SG_, getLocationPixels2HUD_, getLocationSG2HUD_, getMaxRedrawFrequency, getMinHeight, getMinWidth, getName, getPickHeight, getPickWidth, getRelLocationHUD2Pixels_, getRootHostWidget, getShape, getSize, getSizeHUD2Pixels_, getSizeHUD2SG_, getSizeOfPixels_, getSizePixels2HUD_, getSizeSG2HUD_, getToolTip, getTop, getTransparency, getUserObject, getWidgetAssembler, getWidth, getWidthPX, getZIndex, hasDropShadow, hasFocus, hasFocus, hasToolTip, initSize, isAHostedWidgetDirty, isClickable, isDraggable, isFocussable, isHeavyWeight, isHovered, isInitialized, isInitializing, isPickable, isThisWidgetDirty, isVisible, notifyOnDragStopped, onAttachedToContainer, onDetachedFromContainer, onDetachedFromHUD, onLocationChanged, onMouseButtonPressed, onMouseButtonReleased, onMouseEntered, onMouseMoved, onMouseStopped, onMouseWheelMoved, pickConditionsMatch, removeContainerListener, removeControllerListener, removeFocusListener, removeInputListener, removeKeyboardListener, removeLocationListener, removeMouseListener, removeSizeListener, removeVisibilityListener, requestFocus, resetWidgetDirty, setBorder, setBorder, setClickable, setContentClipRect, setContextMenu, setCursor, setDraggable, setFocussable, setForcedRedrawFrequency, setHasDropShadow, setHeight, setHostedWidgetDirty, setHostTextureDirty, setHostTextureDirty, setHostWidget, setLocation, setLocation, setLocation, setMaxRedrawFrequency, setName, setPickable, setSize, setSize, setSize, setSize, setTextureDirty, setTextureDirty, setToolTip, setTransparency, setUserObject, setVisible, setWidth, setZIndex, startDragging, toString, updateSizeFactors |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ButtonsLeftMenusCenterMenuGroupWidget
public ButtonsLeftMenusCenterMenuGroupWidget(float width,
float height,
float resolutionX,
float resolutionY,
ListLayout.Alignment buttonsAlignment,
boolean withSaveButton)
getAccessorPanel
public final WidgetContainer getAccessorPanel()
-
- Specified by:
getAccessorPanel in class MenuGroupWidget
getMenuPanel
public final WidgetContainer getMenuPanel()
-
- Specified by:
getMenuPanel in class MenuGroupWidget
getSaveButton
public Button getSaveButton()
- Returns:
- the Button, that indicates a save-operation.
createAccessorWidget
public Button createAccessorWidget(java.lang.String caption,
Button.Description buttonDesc)
addAccessorWidget
public Button addAccessorWidget(java.lang.String caption,
Button.Description buttonDesc)
-
- Specified by:
addAccessorWidget in class MenuGroupWidget
addMenu
public void addMenu(MenuSystem menuSystem,
java.lang.String caption,
Menu menu)
-
- Specified by:
addMenu in class MenuGroupWidget
setMenuVisible
public void setMenuVisible(Menu menu,
boolean visible)
-
- Specified by:
setMenuVisible in class MenuGroupWidget
isMenuVisible
public boolean isMenuVisible(Menu menu)
-
- Specified by:
isMenuVisible in class MenuGroupWidget
setMenuGroup
public void setMenuGroup(MenuGroup menuGroup)
-
- Specified by:
setMenuGroup in class MenuGroupWidget
getMenuGroup
public MenuGroup getMenuGroup()
-
- Specified by:
getMenuGroup in class MenuGroupWidget
createMainBorderLayout
protected BorderLayout createMainBorderLayout()
createWestLayout
protected LayoutManager createWestLayout()
createAccessorLayout
protected LayoutManager createAccessorLayout(ListLayout.Alignment buttonsAlignment,
boolean withSaveButton)