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

java.lang.Object
  extended by org.xith3d.ui.hud.base.Widget.DescriptionBase
      extended by org.xith3d.ui.hud.widgets.Label.Description
          extended by org.xith3d.ui.hud.widgets.NumberLabel.Description
Enclosing class:
NumberLabel

public static class NumberLabel.Description
extends Label.Description

This class is used to describe a (set of) Label Widget(s). You can pass it to the Label constructor. Modifications on the used instance after creating the Label Widget won't have any effect.


Constructor Summary
NumberLabel.Description()
          Creates a new Label.Description.
NumberLabel.Description(org.openmali.vecmath2.Colorf color)
          Creates a new Label.Description.
NumberLabel.Description(org.openmali.vecmath2.Colorf color, TextAlignment alignment)
          Creates a new Label.Description.
NumberLabel.Description(java.awt.Font font)
          Creates a new Label.Description.
NumberLabel.Description(java.awt.Font font, org.openmali.vecmath2.Colorf color)
          Creates a new Label.Description.
NumberLabel.Description(java.awt.Font font, org.openmali.vecmath2.Colorf color, TextAlignment alignment)
          Creates a new Label.Description.
NumberLabel.Description(java.awt.Font font, org.openmali.vecmath2.Colorf color, TextAlignment alignment, Texture bgTex)
          Creates a new Label.Description.
NumberLabel.Description(java.awt.Font font, TextAlignment alignment)
          Creates a new Label.Description.
NumberLabel.Description(NumberLabel.Description desc)
          Clon-Constructor
NumberLabel.Description(TextAlignment alignment)
          Creates a new Label.Description.
 
Method Summary
 NumberLabel.Description clone()
           
 
Methods inherited from class org.xith3d.ui.hud.widgets.Label.Description
deriveDisabledFont, getAlignment, getBackgroundColor, getBackgroundTexture, getFont, getFontColor, set, setAlignment, setBackgroundColor, setBackgroundTexture, setBackgroundTexture, setFont, setFontColor
 
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

NumberLabel.Description

public NumberLabel.Description(NumberLabel.Description desc)
Clon-Constructor

Parameters:
desc - the original to clone

NumberLabel.Description

public NumberLabel.Description(java.awt.Font font,
                               org.openmali.vecmath2.Colorf color,
                               TextAlignment alignment,
                               Texture bgTex)
Creates a new Label.Description.

Parameters:
font - the Font to be used for the text
color - the color to be used
alignment - the horizontal and vertical alignment
bgTex - the background texture

NumberLabel.Description

public NumberLabel.Description(java.awt.Font font,
                               org.openmali.vecmath2.Colorf color,
                               TextAlignment alignment)
Creates a new Label.Description.

Parameters:
font - the Font to be used for the text
color - the color to be used
alignment - the horizontal and vertical alignment

NumberLabel.Description

public NumberLabel.Description(TextAlignment alignment)
Creates a new Label.Description.

Parameters:
alignment - the horizontal and vertical alignment

NumberLabel.Description

public NumberLabel.Description(org.openmali.vecmath2.Colorf color,
                               TextAlignment alignment)
Creates a new Label.Description.

Parameters:
color - the color to be used
alignment - the horizontal and vertical alignment

NumberLabel.Description

public NumberLabel.Description(java.awt.Font font,
                               org.openmali.vecmath2.Colorf color)
Creates a new Label.Description.

Parameters:
font - the Font to be used for the text
color - the color to be used

NumberLabel.Description

public NumberLabel.Description(org.openmali.vecmath2.Colorf color)
Creates a new Label.Description.

Parameters:
color - the color to be used

NumberLabel.Description

public NumberLabel.Description(java.awt.Font font)
Creates a new Label.Description.

Parameters:
font - the Font to be used for the text

NumberLabel.Description

public NumberLabel.Description(java.awt.Font font,
                               TextAlignment alignment)
Creates a new Label.Description.

Parameters:
font - the Font to be used for the text
alignment - the horizontal and vertical alignment

NumberLabel.Description

public NumberLabel.Description()
Creates a new Label.Description.

Method Detail

clone

public NumberLabel.Description clone()
Overrides:
clone in class Label.Description
Returns:
a clone of this instance