|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.ui.hud.base.WidgetBase
org.xith3d.ui.hud.base.RectangularWidget
org.xith3d.ui.hud.base.RectangularContentPaneWrapper
org.xith3d.ui.hud.base.Window
org.xith3d.ui.hud.widgets.Frame
public class Frame
This class represents a simple Window above the HUD.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.xith3d.ui.hud.base.Window |
|---|
Window.CloseOperation |
| Nested classes/interfaces inherited from interface org.xith3d.ui.hud.base.Widget |
|---|
Widget.DescriptionBase |
| Field Summary |
|---|
| Fields inherited from class org.xith3d.ui.hud.base.WidgetBase |
|---|
containerListeners, transformGroup, translation, Z_INDEX_UNIT, Z_INDEX_UNIT_ASSEMBLER |
| Constructor Summary | |
|---|---|
Frame(ContentPaneWrapper contentPaneWrapper)
Creates a new undecorated Frame. |
|
Frame(ContentPaneWrapper contentPaneWrapper,
java.lang.String title)
Creates a new Frame. |
|
Frame(ContentPaneWrapper contentPaneWrapper,
java.lang.String headerBackground,
java.lang.String title)
Creates a new Frame. |
|
Frame(ContentPaneWrapper contentPaneWrapper,
Texture headerBackground,
java.lang.String title)
Creates a new Frame. |
|
Frame(ContentPaneWrapper contentPaneWrapper,
WindowHeaderWidget.Description headerDesc,
java.lang.String title)
Creates a new Frame. |
|
Frame(ContentPaneWrapper contentPaneWrapper,
WindowHeaderWidget headerWidget)
Creates a new Frame. |
|
Frame(float width,
float height)
Creates a new Frame with the given width and height. |
|
Frame(float width,
float height,
java.lang.String title)
Creates a new Frame with the given width and height. |
|
Frame(float width,
float height,
java.lang.String headerBackground,
java.lang.String title)
Creates a new Frame with the given width and height. |
|
Frame(float width,
float height,
Texture headerBackground,
java.lang.String title)
Creates a new Frame with the given width and height. |
|
Frame(float width,
float height,
WindowHeaderWidget headerWidget)
Creates a new Frame. |
|
Frame(org.openmali.types.twodee.Sized2fRO size)
Creates a new undecorated Frame with the given size. |
|
Frame(org.openmali.types.twodee.Sized2fRO size,
java.lang.String title)
Creates a new Frame with the given size. |
|
Frame(org.openmali.types.twodee.Sized2fRO size,
java.lang.String headerBackground,
java.lang.String title)
Creates a new Frame with the given size. |
|
Frame(org.openmali.types.twodee.Sized2fRO size,
Texture headerBackground,
java.lang.String title)
Creates a new Frame with the given size. |
|
Frame(org.openmali.types.twodee.Sized2fRO size,
WindowHeaderWidget headerWidget)
Creates a new Frame. |
|
Frame(WidgetContainer contentPane)
Creates a new undecorated Frame. |
|
Frame(WidgetContainer contentPane,
java.lang.String title)
Creates a new Frame. |
|
Frame(WidgetContainer contentPane,
java.lang.String headerBackground,
java.lang.String title)
Creates a new Frame. |
|
Frame(WidgetContainer contentPane,
Texture headerBackground,
java.lang.String title)
Creates a new Frame. |
|
Frame(WidgetContainer contentPane,
WindowHeaderWidget.Description headerDesc,
java.lang.String title)
Creates a new Frame. |
|
Frame(WidgetContainer contentPane,
WindowHeaderWidget headerWidget)
Creates a new Frame. |
|
| Method Summary | |
|---|---|
protected WindowHeaderWidget |
createHeaderWidget(WindowHeaderWidget.Description headerDesc,
java.lang.String title)
Creates the header Widget for this decorated Window. |
Border |
getBorder()
|
protected static WindowHeaderWidget.Description |
getHeaderDescWithTexture(java.lang.String backgroundTexture)
|
protected static WindowHeaderWidget.Description |
getHeaderDescWithTexture(Texture backgroundTexture)
|
void |
setBorder(Border.Description borderDesc)
Creates a new Border from the given Border.Desctiption and invokes setBorder(Border). |
void |
setBorder(Border border)
Sets the Border to use for this BorderSettable Widget. |
| Methods inherited from class org.xith3d.ui.hud.base.RectangularContentPaneWrapper |
|---|
pick |
| Methods inherited from class org.xith3d.ui.hud.base.RectangularWidget |
|---|
getPickHeight, getPickSGZPosition, getPickWidth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openmali.types.twodee.Sized2f |
|---|
setHeight, setWidth |
| Constructor Detail |
|---|
public Frame(WidgetContainer contentPane,
WindowHeaderWidget.Description headerDesc,
java.lang.String title)
contentPane - the Widget that visually defines the Window.headerDesc - the description of this Frame's header (or null for an undecorated Frame)title - this Frame's title
public Frame(WidgetContainer contentPane,
WindowHeaderWidget headerWidget)
contentPane - the Widget that visually defines the Window.headerWidget - a Widget, that defines this Window's header (or null for an undecorated Window)
public Frame(WidgetContainer contentPane,
Texture headerBackground,
java.lang.String title)
contentPane - the Widget that visually defines the Window.headerBackground - the background Texture for the header bar's backgroundtitle - this Frame's title (or null for an undecorated Frame)
public Frame(WidgetContainer contentPane,
java.lang.String headerBackground,
java.lang.String title)
contentPane - the Widget that visually defines the Window.headerBackground - the background Texture for the header bar's backgroundtitle - this Frame's title (or null for an undecorated Frame)
public Frame(WidgetContainer contentPane,
java.lang.String title)
contentPane - the Widget that visually defines the Window.title - this Frame's title (or null for an undecorated Frame)public Frame(WidgetContainer contentPane)
contentPane - the Widget that visually defines the Window.
public Frame(ContentPaneWrapper contentPaneWrapper,
WindowHeaderWidget.Description headerDesc,
java.lang.String title)
contentPaneWrapper - the Widget that visually defines the Window.headerDesc - the description of this Frame's header (or null for an undecorated Frame)title - this Frame's title (unappreciated, if titleDesc is null)
public Frame(ContentPaneWrapper contentPaneWrapper,
WindowHeaderWidget headerWidget)
contentPaneWrapper - the Widget that visually defines the Window.headerWidget - a Widget, that defines this Window's header (or null for an undecorated Window)
public Frame(ContentPaneWrapper contentPaneWrapper,
Texture headerBackground,
java.lang.String title)
contentPaneWrapper - the Widget that visually defines the Window.headerBackground - the background Texture for the title bar's backgroundtitle - this Frame's title (or null for an undecorated Frame)
public Frame(ContentPaneWrapper contentPaneWrapper,
java.lang.String headerBackground,
java.lang.String title)
contentPaneWrapper - the Widget that visually defines the Window.headerBackground - the background Texture for the title bar's backgroundtitle - this Frame's title (or null for an undecorated Frame)
public Frame(ContentPaneWrapper contentPaneWrapper,
java.lang.String title)
contentPaneWrapper - the Widget that visually defines the Window.title - this Frame's title (or null for an undecorated Frame)public Frame(ContentPaneWrapper contentPaneWrapper)
contentPaneWrapper - the Widget that visually defines the Window.
public Frame(org.openmali.types.twodee.Sized2fRO size,
Texture headerBackground,
java.lang.String title)
size - the size of the FrameheaderBackground - the background Texture for the header bar's backgroundtitle - this Frame's title (or null for an undecorated Frame)
public Frame(org.openmali.types.twodee.Sized2fRO size,
java.lang.String headerBackground,
java.lang.String title)
size - the size of the FrameheaderBackground - the background Texture for the header bar's backgroundtitle - this Frame's title (or null for an undecorated Frame)
public Frame(org.openmali.types.twodee.Sized2fRO size,
java.lang.String title)
size - the size of the Frametitle - this Frame's title (or null for an undecorated Frame)
public Frame(org.openmali.types.twodee.Sized2fRO size,
WindowHeaderWidget headerWidget)
size - the size of the FrameheaderWidget - a Widget, that defines this Window's header (or null for an undecorated Window)public Frame(org.openmali.types.twodee.Sized2fRO size)
size - the size of the Frame
public Frame(float width,
float height,
Texture headerBackground,
java.lang.String title)
width - the width of the Frameheight - the height of the FrameheaderBackground - the background Texture for the header bar's backgroundtitle - this Frame's title (or null for an undecorated Frame)
public Frame(float width,
float height,
java.lang.String headerBackground,
java.lang.String title)
width - the width of the Frameheight - the height of the FrameheaderBackground - the background Texture for the header bar's backgroundtitle - this Frame's title (or null for an undecorated Frame)
public Frame(float width,
float height,
java.lang.String title)
width - the width of the Frameheight - the height of the Frametitle - this Frame's title (or null for an undecorated Frame)
public Frame(float width,
float height,
WindowHeaderWidget headerWidget)
width - the width of the Frameheight - the height of the FrameheaderWidget - a Widget, that defines this Window's header (or null for an undecorated Window)
public Frame(float width,
float height)
width - the width of the Frameheight - the height of the Frame| Method Detail |
|---|
public void setBorder(Border border)
setBorder in interface BorderSettableborder - the new Border (null for no border)public void setBorder(Border.Description borderDesc)
setBorder in interface BorderSettableborderDesc - the Border.Description to create the new Border from (null for no border)BorderSettable.setBorder(Border)public Border getBorder()
getBorder in interface BorderSettable
protected WindowHeaderWidget createHeaderWidget(WindowHeaderWidget.Description headerDesc,
java.lang.String title)
createHeaderWidget in class WindowheaderDesc - the description for the header Widgettitle - the Window's title
protected static WindowHeaderWidget.Description getHeaderDescWithTexture(Texture backgroundTexture)
protected static WindowHeaderWidget.Description getHeaderDescWithTexture(java.lang.String backgroundTexture)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||