org.xith3d.ui.hud.widgets
Class List.Description

java.lang.Object
  extended by org.xith3d.ui.hud.base.Widget.DescriptionBase
      extended by 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
 
Method Summary
 List.Description clone()
          Clones this instance and returns the clone.
 org.openmali.vecmath2.Colorf getBackgroundColor()
           
 Texture2D getBackgroundTexture()
           
 Border.Description getBorderDescription()
           
 HUDFont getFont()
           
 org.openmali.vecmath2.Colorf getFontColor()
           
 org.openmali.vecmath2.Colorf getHoverBackgroundColor()
           
 org.openmali.vecmath2.Colorf getHoverFontColor()
           
 int getPaddingBottom()
           
 int getPaddingLeft()
           
 int getPaddingRight()
           
 int getPaddingTop()
           
 org.openmali.vecmath2.Colorf getSelectionBackgroundColor()
           
 org.openmali.vecmath2.Colorf getSelectionFontColor()
           
 void set(List.Description template)
           
 void setBackgroundColor(org.openmali.vecmath2.Colorf color)
           
 void setBackgroundTexture(java.lang.String texture)
           
 void setBackgroundTexture(Texture2D texture)
           
 void setBorderDescription(Border.Description borderDesc)
           
 void setHoverBackgroundColor(org.openmali.vecmath2.Colorf color)
           
 void setHoverFontColor(org.openmali.vecmath2.Colorf color)
           
 void setPadding(int padding)
           
 void setPadding(int bottom, int right, int top, int left)
           
 void setSelectionBackgroundColor(org.openmali.vecmath2.Colorf color)
           
 void setSelectionFontColor(org.openmali.vecmath2.Colorf color)
           
 
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

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:
-
Method Detail

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