|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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
public abstract class MenuGroupWidget
A MenuGroupWidget is a Widget, that handles the visualization part of a
MenuGroup.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.xith3d.ui.hud.base.BackgroundSettableWidget |
|---|
BackgroundSettableWidget.BackgroundSettableDescriptionBase |
| Nested classes/interfaces inherited from class org.xith3d.ui.hud.base.Widget |
|---|
Widget.DescriptionBase |
| Field Summary |
|---|
| Fields inherited from class org.xith3d.ui.hud.widgets.Panel |
|---|
DEFAULT_HEAVYWEIGHT |
| Fields inherited from class org.xith3d.ui.hud.base.WidgetContainer |
|---|
childrenOffset_HUD, childrenOffset_PX |
| Fields inherited from class org.xith3d.ui.hud.base.Widget |
|---|
transformHeight_Pixels2HUD, transformWidth_Pixels2HUD |
| Constructor Summary | |
|---|---|
MenuGroupWidget(boolean isHeavyWeight,
float width,
float height)
Creates a new MenuGroupWidget with the given width and height. |
|
MenuGroupWidget(boolean isHeavyWeight,
float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor)
Creates a new MenuGroupWidget with the given width, height and background color. |
|
MenuGroupWidget(boolean isHeavyWeight,
float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor,
Texture2D backgroundTex)
Creates a new MenuGroupWidget with the given width, height, background color and texture. |
|
MenuGroupWidget(boolean isHeavyWeight,
float width,
float height,
java.lang.String backgroundTex)
Creates a new MenuGroupWidget with the given width, height and background texture. |
|
MenuGroupWidget(boolean isHeavyWeight,
float width,
float height,
Texture2D backgroundTex)
Creates a new MenuGroupWidget with the given width, height and background texture. |
|
MenuGroupWidget(float width,
float height)
Creates a new MenuGroupWidget with the given width and height. |
|
MenuGroupWidget(float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor)
Creates a new MenuGroupWidget with the given width, height and background color. |
|
MenuGroupWidget(float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor,
java.lang.String backgroundTex)
Creates a new MenuGroupWidget with the given width, height, background color and texture. |
|
MenuGroupWidget(float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor,
Texture2D backgroundTex)
Creates a new MenuGroupWidget with the given width, height, background color and texture. |
|
MenuGroupWidget(float width,
float height,
java.lang.String backgroundTex)
Creates a new MenuGroupWidget with the given width, height and background texture. |
|
MenuGroupWidget(float width,
float height,
Texture2D backgroundTex)
Creates a new MenuGroupWidget with the given width, height and background texture. |
|
| Method Summary | |
|---|---|
abstract Button |
addAccessorWidget(java.lang.String caption,
Button.Description buttonDesc)
|
abstract void |
addMenu(MenuSystem menuSystem,
java.lang.String caption,
Menu menu)
|
abstract WidgetContainer |
getAccessorPanel()
|
abstract MenuGroup |
getMenuGroup()
|
abstract WidgetContainer |
getMenuPanel()
|
abstract boolean |
isMenuVisible(Menu menu)
|
abstract void |
setMenuGroup(MenuGroup menuGroup)
|
abstract void |
setMenuVisible(Menu menu,
boolean visible)
|
| Methods inherited from class org.xith3d.ui.hud.widgets.Panel |
|---|
createContentPane, createContentPane, drawForeground, drawWidget, getForegroundTexture, init, setForegroundTexture, setForegroundTexture |
| 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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MenuGroupWidget(boolean isHeavyWeight,
float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor,
Texture2D backgroundTex)
MenuGroupWidget with the given width, height, background color and texture.
isHeavyWeight - indicator to make this widget heavyweight or notwidth - the new width of this Widgetheight - the new height of this WidgetbackgroundColor - the background color of this WidgetbackgroundTex - the background texture of this Widget
public MenuGroupWidget(boolean isHeavyWeight,
float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor)
MenuGroupWidget with the given width, height and background color.
isHeavyWeight - indicator to make this widget heavyweight or notwidth - the new width of this Widgetheight - the new height of this WidgetbackgroundColor - the background color of this Widget
public MenuGroupWidget(boolean isHeavyWeight,
float width,
float height,
Texture2D backgroundTex)
MenuGroupWidget with the given width, height and background texture.
isHeavyWeight - indicator to make this widget heavyweight or notwidth - the new width of this Widgetheight - the new height of this WidgetbackgroundTex - the background texture of this Widget
public MenuGroupWidget(boolean isHeavyWeight,
float width,
float height,
java.lang.String backgroundTex)
MenuGroupWidget with the given width, height and background texture.
isHeavyWeight - indicator to make this widget heavyweight or notwidth - the new width of this Widgetheight - the new height of this WidgetbackgroundTex - the background texture of this Widget
public MenuGroupWidget(boolean isHeavyWeight,
float width,
float height)
MenuGroupWidget with the given width and height.
isHeavyWeight - indicator to make this widget heavyweight or notwidth - the new width of this Widgetheight - the new height of this Widget
public MenuGroupWidget(float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor,
Texture2D backgroundTex)
MenuGroupWidget with the given width, height, background color and texture.
width - the new width of this Widgetheight - the new height of this WidgetbackgroundColor - the background color of this WidgetbackgroundTex - the background texture of this Widget
public MenuGroupWidget(float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor,
java.lang.String backgroundTex)
MenuGroupWidget with the given width, height, background color and texture.
width - the new width of this Widgetheight - the new height of this WidgetbackgroundColor - the background color of this WidgetbackgroundTex - the background texture of this Widget
public MenuGroupWidget(float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor)
MenuGroupWidget with the given width, height and background color.
width - the new width of this Widgetheight - the new height of this WidgetbackgroundColor - the background color of this Widget
public MenuGroupWidget(float width,
float height,
Texture2D backgroundTex)
MenuGroupWidget with the given width, height and background texture.
width - the new width of this Widgetheight - the new height of this WidgetbackgroundTex - the background texture of this Widget
public MenuGroupWidget(float width,
float height,
java.lang.String backgroundTex)
MenuGroupWidget with the given width, height and background texture.
width - the new width of this Widgetheight - the new height of this WidgetbackgroundTex - the background texture of this Widget
public MenuGroupWidget(float width,
float height)
MenuGroupWidget with the given width and height.
width - the new width of this Widgetheight - the new height of this Widget| Method Detail |
|---|
public abstract WidgetContainer getAccessorPanel()
public abstract WidgetContainer getMenuPanel()
public abstract Button addAccessorWidget(java.lang.String caption,
Button.Description buttonDesc)
public abstract void addMenu(MenuSystem menuSystem,
java.lang.String caption,
Menu menu)
public abstract void setMenuVisible(Menu menu,
boolean visible)
public abstract boolean isMenuVisible(Menu menu)
public abstract void setMenuGroup(MenuGroup menuGroup)
public abstract MenuGroup getMenuGroup()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||