|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.ui.hud.base.Widget.DescriptionBase
org.xith3d.ui.hud.widgets.Panel.Description
public static class Panel.Description
This class is used to describe a Panel Widget. You can pass it to the Panel constructor. Modifications on the used instance after creating the Panel Widget won't have any effect.
| Constructor Summary | |
|---|---|
Panel.Description()
Creates a new Image.Description |
|
Panel.Description(org.openmali.vecmath2.Colorf color)
Creates a new Image.Description |
|
Panel.Description(Panel.Description template)
Clone-Constructor. |
|
Panel.Description(java.lang.String texture)
Creates a new Image.Description |
|
Panel.Description(Texture texture)
Creates a new Image.Description |
|
Panel.Description(Texture texture,
org.openmali.vecmath2.Colorf color)
Creates a new Image.Description |
|
| Method Summary | |
|---|---|
Panel.Description |
clone()
Clones this instance and returns the clone. |
org.openmali.vecmath2.Colorf |
getBackgroundColor()
|
Texture |
getBackgroundTexture()
|
Border.Description |
getBorderDescription()
|
HUDUnitsMeasurement |
getMeasurement()
|
float |
getPaddingBottom()
|
float |
getPaddingLeft()
|
float |
getPaddingRight()
|
float |
getPaddingTop()
|
void |
set(Panel.Description template)
|
void |
setBackgroundColor(org.openmali.vecmath2.Colorf color)
|
void |
setBackgroundTexture(java.lang.String texture)
|
void |
setBackgroundTexture(Texture texture)
|
void |
setBorderDescription(Border.Description borderDesc)
|
void |
setMeasurement(HUDUnitsMeasurement measurement)
|
void |
setPadding(float padding)
|
void |
setPadding(float bottom,
float right,
float top,
float left)
|
| Methods inherited from class org.xith3d.ui.hud.base.Widget.DescriptionBase |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Panel.Description(Panel.Description template)
template - the template Description to copy the values from
public Panel.Description(Texture texture,
org.openmali.vecmath2.Colorf color)
texture - the texture resource to use as background image for this FPSCounter color - the color to fill the image withpublic Panel.Description(Texture texture)
texture - the texture resource to use as background image for this FPSCounter public Panel.Description(java.lang.String texture)
texture - the texture resource to use as background image for this FPSCounter public Panel.Description(org.openmali.vecmath2.Colorf color)
color - the color to fill the image withpublic Panel.Description()
| Method Detail |
|---|
public void setMeasurement(HUDUnitsMeasurement measurement)
public HUDUnitsMeasurement getMeasurement()
public void setBorderDescription(Border.Description borderDesc)
public Border.Description getBorderDescription()
public void setPadding(float bottom,
float right,
float top,
float left)
public void setPadding(float padding)
public float getPaddingBottom()
public float getPaddingRight()
public float getPaddingTop()
public float getPaddingLeft()
public void setBackgroundTexture(Texture texture)
public void setBackgroundTexture(java.lang.String texture)
public Texture getBackgroundTexture()
public void setBackgroundColor(org.openmali.vecmath2.Colorf color)
public org.openmali.vecmath2.Colorf getBackgroundColor()
public void set(Panel.Description template)
public Panel.Description clone()
clone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||