org.xith3d.ui.hud.widgets
Class List.Description
java.lang.Object
org.xith3d.ui.hud.base.Widget.DescriptionBase
org.xith3d.ui.hud.widgets.List.Description
- Enclosing class:
- List
public static class List.Description
- extends Widget.DescriptionBase
This class is used to describe a List Widget.
You can pass it to the List constructor.
Modifications on the used instance after creating the List Widget
won't have any effect.
|
Constructor Summary |
List.Description(int paddingBottom,
int paddingRight,
int paddingTop,
int paddingLeft,
Border.Description borderDesc,
org.openmali.vecmath2.Colorf backgroundColor,
java.lang.String backgroundTexture,
org.openmali.vecmath2.Colorf hoveredBackgroundColor,
org.openmali.vecmath2.Colorf hoveredFontColor,
org.openmali.vecmath2.Colorf selectedBackgroundColor,
org.openmali.vecmath2.Colorf selectedFontColor)
Creates a new Image.Description |
List.Description(int paddingBottom,
int paddingRight,
int paddingTop,
int paddingLeft,
Border.Description borderDesc,
org.openmali.vecmath2.Colorf backgroundColor,
Texture2D backgroundTexture,
org.openmali.vecmath2.Colorf hoveredBackgroundColor,
org.openmali.vecmath2.Colorf hoveredFontColor,
org.openmali.vecmath2.Colorf selectedBackgroundColor,
org.openmali.vecmath2.Colorf selectedFontColor)
Creates a new Image.Description |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
List.Description
public List.Description(int paddingBottom,
int paddingRight,
int paddingTop,
int paddingLeft,
Border.Description borderDesc,
org.openmali.vecmath2.Colorf backgroundColor,
Texture2D backgroundTexture,
org.openmali.vecmath2.Colorf hoveredBackgroundColor,
org.openmali.vecmath2.Colorf hoveredFontColor,
org.openmali.vecmath2.Colorf selectedBackgroundColor,
org.openmali.vecmath2.Colorf selectedFontColor)
- Creates a new Image.Description
- Parameters:
-
List.Description
public List.Description(int paddingBottom,
int paddingRight,
int paddingTop,
int paddingLeft,
Border.Description borderDesc,
org.openmali.vecmath2.Colorf backgroundColor,
java.lang.String backgroundTexture,
org.openmali.vecmath2.Colorf hoveredBackgroundColor,
org.openmali.vecmath2.Colorf hoveredFontColor,
org.openmali.vecmath2.Colorf selectedBackgroundColor,
org.openmali.vecmath2.Colorf selectedFontColor)
- Creates a new Image.Description
- Parameters:
-
setBorderDescription
public void setBorderDescription(Border.Description borderDesc)
getBorderDescription
public Border.Description getBorderDescription()
setPadding
public void setPadding(int bottom,
int right,
int top,
int left)
setPadding
public void setPadding(int padding)
getPaddingBottom
public int getPaddingBottom()
getPaddingRight
public int getPaddingRight()
getPaddingTop
public int getPaddingTop()
getPaddingLeft
public int getPaddingLeft()
setBackgroundTexture
public void setBackgroundTexture(Texture2D texture)
setBackgroundTexture
public void setBackgroundTexture(java.lang.String texture)
getBackgroundTexture
public Texture2D getBackgroundTexture()
setBackgroundColor
public void setBackgroundColor(org.openmali.vecmath2.Colorf color)
getBackgroundColor
public org.openmali.vecmath2.Colorf getBackgroundColor()
getFontColor
public org.openmali.vecmath2.Colorf getFontColor()
getFont
public HUDFont getFont()
setHoverBackgroundColor
public void setHoverBackgroundColor(org.openmali.vecmath2.Colorf color)
getHoverBackgroundColor
public org.openmali.vecmath2.Colorf getHoverBackgroundColor()
setHoverFontColor
public void setHoverFontColor(org.openmali.vecmath2.Colorf color)
getHoverFontColor
public org.openmali.vecmath2.Colorf getHoverFontColor()
setSelectionBackgroundColor
public void setSelectionBackgroundColor(org.openmali.vecmath2.Colorf color)
getSelectionBackgroundColor
public org.openmali.vecmath2.Colorf getSelectionBackgroundColor()
setSelectionFontColor
public void setSelectionFontColor(org.openmali.vecmath2.Colorf color)
getSelectionFontColor
public org.openmali.vecmath2.Colorf getSelectionFontColor()
set
public void set(List.Description template)
clone
public List.Description clone()
- Clones this instance and returns the clone.
- Overrides:
clone in class java.lang.Object