org.xith3d.ui.hud.base
Class WindowHeaderWidget.Description

java.lang.Object
  extended by org.xith3d.ui.hud.base.WindowHeaderWidget.Description
Enclosing class:
WindowHeaderWidget

public static class WindowHeaderWidget.Description
extends java.lang.Object


Constructor Summary
WindowHeaderWidget.Description()
          Constructs an empty Description with a PIXELS units-measurement.
WindowHeaderWidget.Description(HUDUnitsMeasurement measurement)
          Constructs an empty Description with the specified units-measurement.
WindowHeaderWidget.Description(HUDUnitsMeasurement measurement, float height, java.lang.String backgroundTexture, Label.Description labelDesc, Button.Description btnDescClose)
          Full-Constructor with String
WindowHeaderWidget.Description(HUDUnitsMeasurement measurement, float height, Texture backgroundTexture, Label.Description labelDesc, Button.Description btnDescClose)
          Full-Constructor with Texture
WindowHeaderWidget.Description(java.lang.String backgroundTexture)
          Constructs an empty Description with a PIXELS units-measurement.
WindowHeaderWidget.Description(Texture backgroundTexture)
          Constructs an empty Description with a PIXELS units-measurement.
WindowHeaderWidget.Description(WindowHeaderWidget.Description desc)
          Clone-Constructor
 
Method Summary
 WindowHeaderWidget.Description clone()
           
 Texture getBackground()
           
 Button.Description getCloseButtonDescription()
           
 org.openmali.types.twodee.Dim2f getCloseButtonSize()
           
 float getHeight()
           
 Label.Description getLabelDescription()
           
 HUDUnitsMeasurement getMeasurement()
           
 void set(WindowHeaderWidget.Description desc)
          Clone-Constructor
 void setBackground(java.lang.String texture)
           
 void setBackground(Texture texture)
           
 void setCloseButtonDescription(Button.Description desc)
           
 void setCloseButtonSize(org.openmali.types.twodee.Sized2fRO size)
           
 void setHeight(float height)
           
 void setLabelDescription(Label.Description labelDesc)
           
 void setMeasurement(HUDUnitsMeasurement measurement)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowHeaderWidget.Description

public WindowHeaderWidget.Description(WindowHeaderWidget.Description desc)
Clone-Constructor


WindowHeaderWidget.Description

public WindowHeaderWidget.Description(HUDUnitsMeasurement measurement,
                                      float height,
                                      Texture backgroundTexture,
                                      Label.Description labelDesc,
                                      Button.Description btnDescClose)
Full-Constructor with Texture


WindowHeaderWidget.Description

public WindowHeaderWidget.Description(HUDUnitsMeasurement measurement,
                                      float height,
                                      java.lang.String backgroundTexture,
                                      Label.Description labelDesc,
                                      Button.Description btnDescClose)
Full-Constructor with String


WindowHeaderWidget.Description

public WindowHeaderWidget.Description(HUDUnitsMeasurement measurement)
Constructs an empty Description with the specified units-measurement.


WindowHeaderWidget.Description

public WindowHeaderWidget.Description(Texture backgroundTexture)
Constructs an empty Description with a PIXELS units-measurement.

Parameters:
backgroundTexture - the background Texture for the title bar

WindowHeaderWidget.Description

public WindowHeaderWidget.Description(java.lang.String backgroundTexture)
Constructs an empty Description with a PIXELS units-measurement.

Parameters:
backgroundTexture - the background Texture for the title bar

WindowHeaderWidget.Description

public WindowHeaderWidget.Description()
Constructs an empty Description with a PIXELS units-measurement.

Method Detail

setMeasurement

public void setMeasurement(HUDUnitsMeasurement measurement)

getMeasurement

public HUDUnitsMeasurement getMeasurement()

setHeight

public void setHeight(float height)

getHeight

public float getHeight()

setCloseButtonSize

public void setCloseButtonSize(org.openmali.types.twodee.Sized2fRO size)

getCloseButtonSize

public org.openmali.types.twodee.Dim2f getCloseButtonSize()

setBackground

public void setBackground(Texture texture)

setBackground

public void setBackground(java.lang.String texture)

getBackground

public Texture getBackground()

setLabelDescription

public void setLabelDescription(Label.Description labelDesc)

getLabelDescription

public Label.Description getLabelDescription()

setCloseButtonDescription

public void setCloseButtonDescription(Button.Description desc)

getCloseButtonDescription

public Button.Description getCloseButtonDescription()

set

public void set(WindowHeaderWidget.Description desc)
Clone-Constructor


clone

public WindowHeaderWidget.Description clone()
Overrides:
clone in class java.lang.Object
Returns:
a clone of this instance.