|
||||||||||
| 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.widgets.ScrollPanel
public class ScrollPanel
| 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 | |
|---|---|
ScrollPanel(boolean isHeavyWeight,
float width,
float height)
Creates a new Panel with the given width and height. |
|
ScrollPanel(boolean isHeavyWeight,
float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor)
Creates a new Panel with the given width and height. |
|
ScrollPanel(boolean isHeavyWeight,
float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor,
java.lang.String backgroundTex)
Creates a new Panel with the given width and height. |
|
ScrollPanel(boolean isHeavyWeight,
float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor,
Texture2D backgroundTex)
Creates a new Panel with the given width and height. |
|
ScrollPanel(boolean isHeavyWeight,
float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor,
Texture2D backgroundTex,
TileMode backgroundTileMode)
Creates a new Panel with the given width and height. |
|
ScrollPanel(boolean isHeavyWeight,
float width,
float height,
java.lang.String backgroundTex)
Creates a new Panel with the given width and height. |
|
ScrollPanel(boolean isHeavyWeight,
float width,
float height,
Texture2D backgroundTex)
Creates a new Panel with the given width and height. |
|
ScrollPanel(float width,
float height)
Creates a new Panel with the given width and height. |
|
ScrollPanel(float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor)
Creates a new Panel with the given width and height. |
|
ScrollPanel(float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor,
java.lang.String backgroundTex)
Creates a new Panel with the given width and height. |
|
ScrollPanel(float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor,
Texture2D backgroundTex)
Creates a new Panel with the given width and height. |
|
ScrollPanel(float width,
float height,
java.lang.String backgroundTex)
Creates a new Panel with the given width and height. |
|
ScrollPanel(float width,
float height,
Texture2D backgroundTex)
Creates a new Panel with the given width and height. |
|
| Method Summary | |
|---|---|
void |
addContainerScrollListener(ContainerScrollListener l)
Adds a ContainerScrollListener to the list of notified objects
when the children-offset has changed. |
protected GroupNode |
createChildrenGroup()
|
static ScrollPanel |
createContentPane(float width,
float height)
Creates a new non scrollable Panel with the given width and height. |
float |
getLineHeight()
|
protected void |
init()
This method is called when the WidgetContainer is set. |
void |
removeContainerScrollListener(ContainerScrollListener l)
Removes a ContainerScrollListener from the list of notified objects
when the children-offset has changed. |
void |
setLineHeight(float lineHeight)
|
| Methods inherited from class org.xith3d.ui.hud.widgets.Panel |
|---|
createContentPane, drawForeground, drawWidget, getForegroundTexture, 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 ScrollPanel(boolean isHeavyWeight,
float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor,
Texture2D backgroundTex,
TileMode backgroundTileMode)
isHeavyWeight - width - the new width of this Widgetheight - the new height of this WidgetbackgroundColor - the background colorbackgroundTex - the background texturebackgroundTileMode -
public ScrollPanel(boolean isHeavyWeight,
float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor,
Texture2D backgroundTex)
isHeavyWeight - width - the new width of this Widgetheight - the new height of this WidgetbackgroundColor - the background colorbackgroundTex - the background texture
public ScrollPanel(boolean isHeavyWeight,
float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor,
java.lang.String backgroundTex)
isHeavyWeight - width - the new width of this Widgetheight - the new height of this WidgetbackgroundColor - the background colorbackgroundTex - the background texture
public ScrollPanel(boolean isHeavyWeight,
float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor)
isHeavyWeight - width - the new width of this Widgetheight - the new height of this WidgetbackgroundColor - the background color
public ScrollPanel(boolean isHeavyWeight,
float width,
float height,
Texture2D backgroundTex)
isHeavyWeight - width - the new width of this Widgetheight - the new height of this WidgetbackgroundTex - the background texture
public ScrollPanel(boolean isHeavyWeight,
float width,
float height,
java.lang.String backgroundTex)
isHeavyWeight - width - the new width of this Widgetheight - the new height of this WidgetbackgroundTex - the background texture
public ScrollPanel(boolean isHeavyWeight,
float width,
float height)
isHeavyWeight - width - the new width of this Widgetheight - the new height of this WidgetbackgroundColor - the background color
public ScrollPanel(float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor,
Texture2D backgroundTex)
width - the new width of this Widgetheight - the new height of this WidgetbackgroundColor - the background colorbackgroundTex - the background texture
public ScrollPanel(float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor,
java.lang.String backgroundTex)
width - the new width of this Widgetheight - the new height of this WidgetbackgroundColor - the background colorbackgroundTex - the background texture
public ScrollPanel(float width,
float height,
org.openmali.vecmath2.Colorf backgroundColor)
width - the new width of this Widgetheight - the new height of this WidgetbackgroundColor - the background color
public ScrollPanel(float width,
float height,
Texture2D backgroundTex)
width - the new width of this Widgetheight - the new height of this WidgetbackgroundTex - the background texture
public ScrollPanel(float width,
float height,
java.lang.String backgroundTex)
width - the new width of this Widgetheight - the new height of this WidgetbackgroundTex - the background texture
public ScrollPanel(float width,
float height)
width - the new width of this Widgetheight - the new height of this WidgetbackgroundColor - the background color| Method Detail |
|---|
public final void addContainerScrollListener(ContainerScrollListener l)
ContainerScrollListener to the list of notified objects
when the children-offset has changed.
l - public final void removeContainerScrollListener(ContainerScrollListener l)
ContainerScrollListener from the list of notified objects
when the children-offset has changed.
l - public void setLineHeight(float lineHeight)
public final float getLineHeight()
protected void init()
init in class Panelprotected GroupNode createChildrenGroup()
createChildrenGroup in class WidgetContainer
public static final ScrollPanel createContentPane(float width,
float height)
width - the new width of this Widgetheight - the new height of this Widget
Panel.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||