|
||||||||||
| 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.base.LabeledStateButton.Description
public static class LabeledStateButton.Description
This class is used to describe a LabeledStateButton Widget. You can pass it to the constructor. Modifications on the used instance after creating the Widget won't have any effect.
| Constructor Summary | |
|---|---|
LabeledStateButton.Description()
Create a new LabeledStateButton.Description |
|
LabeledStateButton.Description(LabeledStateButton.Description desc)
Clone-Constructor |
|
LabeledStateButton.Description(java.lang.String texDeactivatedNormal,
java.lang.String texActivatedNormal,
float space)
Create a new LabeledStateButton.Description |
|
LabeledStateButton.Description(java.lang.String texDeactivatedNormal,
java.lang.String texActivatedNormal,
float space,
Label.Description labelDesc)
Create a new LabeledStateButton.Description |
|
LabeledStateButton.Description(java.lang.String texDeactivatedNormal,
java.lang.String texActivatedNormal,
org.openmali.types.twodee.Sized2fRO imageSize,
float space)
Create a new LabeledStateButton.Description |
|
LabeledStateButton.Description(java.lang.String texDeactivatedNormal,
java.lang.String texActivatedNormal,
org.openmali.types.twodee.Sized2fRO imageSize,
float space,
Label.Description labelDesc)
Create a new LabeledStateButton.Description |
|
LabeledStateButton.Description(java.lang.String texDeactivatedNormal,
java.lang.String texDeactivatedHovered,
java.lang.String texActivatedNormal,
java.lang.String texActivatedHovered,
float space)
Create a new LabeledStateButton.Description |
|
LabeledStateButton.Description(java.lang.String texDeactivatedNormal,
java.lang.String texDeactivatedHovered,
java.lang.String texActivatedNormal,
java.lang.String texActivatedHovered,
float space,
Label.Description labelDesc)
Create a new LabeledStateButton.Description |
|
LabeledStateButton.Description(java.lang.String texDeactivatedNormal,
java.lang.String texDeactivatedHovered,
java.lang.String texActivatedNormal,
java.lang.String texActivatedHovered,
org.openmali.types.twodee.Sized2fRO imageSize,
float space)
Create a new LabeledStateButton.Description |
|
LabeledStateButton.Description(java.lang.String texDeactivatedNormal,
java.lang.String texDeactivatedHovered,
java.lang.String texActivatedNormal,
java.lang.String texActivatedHovered,
org.openmali.types.twodee.Sized2fRO imageSize,
float space,
Label.Description labelDesc)
Create a new LabeledStateButton.Description |
|
LabeledStateButton.Description(Texture texDeactivatedNormal,
Texture texActivatedNormal,
float space)
Create a new LabeledStateButton.Description |
|
LabeledStateButton.Description(Texture texDeactivatedNormal,
Texture texActivatedNormal,
float space,
Label.Description labelDesc)
Create a new LabeledStateButton.Description |
|
LabeledStateButton.Description(Texture texDeactivatedNormal,
Texture texActivatedNormal,
org.openmali.types.twodee.Sized2fRO imageSize,
float space)
Create a new LabeledStateButton.Description |
|
LabeledStateButton.Description(Texture texDeactivatedNormal,
Texture texActivatedNormal,
org.openmali.types.twodee.Sized2fRO imageSize,
float space,
Label.Description labelDesc)
Create a new LabeledStateButton.Description |
|
LabeledStateButton.Description(Texture texDeactivatedNormal,
Texture texDeactivatedHovered,
Texture texActivatedNormal,
Texture texActivatedHovered,
float space)
Create a new LabeledStateButton.Description |
|
LabeledStateButton.Description(Texture texDeactivatedNormal,
Texture texDeactivatedHovered,
Texture texActivatedNormal,
Texture texActivatedHovered,
float space,
Label.Description labelDesc)
Create a new LabeledStateButton.Description |
|
LabeledStateButton.Description(Texture texDeactivatedNormal,
Texture texDeactivatedHovered,
Texture texActivatedNormal,
Texture texActivatedHovered,
org.openmali.types.twodee.Sized2fRO imageSize,
float space)
Create a new LabeledStateButton.Description |
|
LabeledStateButton.Description(Texture texDeactivatedNormal,
Texture texDeactivatedHovered,
Texture texActivatedNormal,
Texture texActivatedHovered,
org.openmali.types.twodee.Sized2fRO imageSize,
float space,
Label.Description labelDesc)
Create a new LabeledStateButton.Description |
|
| Method Summary | |
|---|---|
LabeledStateButton.Description |
clone()
Clones LabeledStateButton.Description |
org.openmali.types.twodee.Dim2f |
getImageSize()
|
Label.Description |
getLabelDescription()
|
HUDUnitsMeasurement |
getMeasurement()
|
float |
getSpace()
|
Texture |
getTexture(StateButton.State state)
|
void |
set(LabeledStateButton.Description desc)
Clone-Constructor |
void |
setImageSize(org.openmali.types.twodee.Dim2f size)
|
void |
setImageSize(float width,
float height)
|
void |
setLabelDescription(Label.Description labelDesc)
|
void |
setMeasurement(HUDUnitsMeasurement measurement)
|
void |
setSpace(float space)
|
void |
setTexture(StateButton.State state,
java.lang.String name)
|
void |
setTexture(StateButton.State state,
Texture texture)
|
| 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 LabeledStateButton.Description(LabeledStateButton.Description desc)
public LabeledStateButton.Description(Texture texDeactivatedNormal,
Texture texDeactivatedHovered,
Texture texActivatedNormal,
Texture texActivatedHovered,
org.openmali.types.twodee.Sized2fRO imageSize,
float space,
Label.Description labelDesc)
texDeactivatedNormal - Texture for DEACTIVATED_NORMAL statetexDeactivatedHovered - Texture for DEACTIVATED_HOVERED statetexActivatedNormal - Texture for ACTIVATED_NORMAL statetexActivatedHovered - Texture for ACTIVATED_HOVERED stateimageSize - size of the state imagesspace - space between the Image and the LabellabelDesc - description of the Label
public LabeledStateButton.Description(Texture texDeactivatedNormal,
Texture texDeactivatedHovered,
Texture texActivatedNormal,
Texture texActivatedHovered,
float space,
Label.Description labelDesc)
texDeactivatedNormal - Texture for DEACTIVATED_NORMAL statetexDeactivatedHovered - Texture for DEACTIVATED_HOVERED statetexActivatedNormal - Texture for ACTIVATED_NORMAL statetexActivatedHovered - Texture for ACTIVATED_HOVERED statespace - space between the Image and the LabellabelDesc - description of the Label
public LabeledStateButton.Description(Texture texDeactivatedNormal,
Texture texDeactivatedHovered,
Texture texActivatedNormal,
Texture texActivatedHovered,
float space)
texDeactivatedNormal - Texture for DEACTIVATED_NORMAL statetexDeactivatedHovered - Texture for DEACTIVATED_HOVERED statetexActivatedNormal - Texture for ACTIVATED_NORMAL statetexActivatedHovered - Texture for ACTIVATED_HOVERED statespace - space between the Image and the Label
public LabeledStateButton.Description(Texture texDeactivatedNormal,
Texture texDeactivatedHovered,
Texture texActivatedNormal,
Texture texActivatedHovered,
org.openmali.types.twodee.Sized2fRO imageSize,
float space)
texDeactivatedNormal - Texture for DEACTIVATED_NORMAL statetexDeactivatedHovered - Texture for DEACTIVATED_HOVERED statetexActivatedNormal - Texture for ACTIVATED_NORMAL statetexActivatedHovered - Texture for ACTIVATED_HOVERED stateimageSize - size of the state imagesspace - space between the Image and the Label
public LabeledStateButton.Description(Texture texDeactivatedNormal,
Texture texActivatedNormal,
org.openmali.types.twodee.Sized2fRO imageSize,
float space,
Label.Description labelDesc)
texDeactivatedNormal - Texture for DEACTIVATED_NORMAL statetexActivatedNormal - Texture for ACTIVATED_NORMAL stateimageSize - size of the state imagesspace - space between the Image and the LabellabelDesc - description of the Label
public LabeledStateButton.Description(Texture texDeactivatedNormal,
Texture texActivatedNormal,
float space,
Label.Description labelDesc)
texDeactivatedNormal - Texture for DEACTIVATED_NORMAL statetexActivatedNormal - Texture for ACTIVATED_NORMAL statespace - space between the Image and the LabellabelDesc - description of the Label
public LabeledStateButton.Description(Texture texDeactivatedNormal,
Texture texActivatedNormal,
org.openmali.types.twodee.Sized2fRO imageSize,
float space)
texDeactivatedNormal - Texture for DEACTIVATED_NORMAL statetexActivatedNormal - Texture for ACTIVATED_NORMAL stateimageSize - size of the state imagesspace - space between the Image and the Label
public LabeledStateButton.Description(Texture texDeactivatedNormal,
Texture texActivatedNormal,
float space)
texDeactivatedNormal - Texture for DEACTIVATED_NORMAL statetexActivatedNormal - Texture for ACTIVATED_NORMAL statespace - space between the Image and the Label
public LabeledStateButton.Description(java.lang.String texDeactivatedNormal,
java.lang.String texDeactivatedHovered,
java.lang.String texActivatedNormal,
java.lang.String texActivatedHovered,
org.openmali.types.twodee.Sized2fRO imageSize,
float space,
Label.Description labelDesc)
texDeactivatedNormal - Texture for DEACTIVATED_NORMAL statetexDeactivatedHovered - Texture for DEACTIVATED_HOVERED statetexActivatedNormal - Texture for ACTIVATED_NORMAL statetexActivatedHovered - Texture for ACTIVATED_HOVERED stateimageSize - size of the state imagesspace - space between the Image and the LabellabelDesc - description of the Label
public LabeledStateButton.Description(java.lang.String texDeactivatedNormal,
java.lang.String texDeactivatedHovered,
java.lang.String texActivatedNormal,
java.lang.String texActivatedHovered,
float space,
Label.Description labelDesc)
texDeactivatedNormal - Texture for DEACTIVATED_NORMAL statetexDeactivatedHovered - Texture for DEACTIVATED_HOVERED statetexActivatedNormal - Texture for ACTIVATED_NORMAL statetexActivatedHovered - Texture for ACTIVATED_HOVERED statespace - space between the Image and the LabellabelDesc - description of the Label
public LabeledStateButton.Description(java.lang.String texDeactivatedNormal,
java.lang.String texDeactivatedHovered,
java.lang.String texActivatedNormal,
java.lang.String texActivatedHovered,
float space)
texDeactivatedNormal - Texture for DEACTIVATED_NORMAL statetexDeactivatedHovered - Texture for DEACTIVATED_HOVERED statetexActivatedNormal - Texture for ACTIVATED_NORMAL statetexActivatedHovered - Texture for ACTIVATED_HOVERED statespace - space between the Image and the Label
public LabeledStateButton.Description(java.lang.String texDeactivatedNormal,
java.lang.String texDeactivatedHovered,
java.lang.String texActivatedNormal,
java.lang.String texActivatedHovered,
org.openmali.types.twodee.Sized2fRO imageSize,
float space)
texDeactivatedNormal - Texture for DEACTIVATED_NORMAL statetexDeactivatedHovered - Texture for DEACTIVATED_HOVERED statetexActivatedNormal - Texture for ACTIVATED_NORMAL statetexActivatedHovered - Texture for ACTIVATED_HOVERED stateimageSize - size of the state imagesspace - space between the Image and the Label
public LabeledStateButton.Description(java.lang.String texDeactivatedNormal,
java.lang.String texActivatedNormal,
org.openmali.types.twodee.Sized2fRO imageSize,
float space,
Label.Description labelDesc)
texDeactivatedNormal - Texture for DEACTIVATED_NORMAL statetexActivatedNormal - Texture for ACTIVATED_NORMAL stateimageSize - size of the state imagesspace - space between the Image and the LabellabelDesc - description of the Label
public LabeledStateButton.Description(java.lang.String texDeactivatedNormal,
java.lang.String texActivatedNormal,
float space,
Label.Description labelDesc)
texDeactivatedNormal - Texture for DEACTIVATED_NORMAL statetexActivatedNormal - Texture for ACTIVATED_NORMAL statespace - space between the Image and the LabellabelDesc - description of the Label
public LabeledStateButton.Description(java.lang.String texDeactivatedNormal,
java.lang.String texActivatedNormal,
org.openmali.types.twodee.Sized2fRO imageSize,
float space)
texDeactivatedNormal - Texture for DEACTIVATED_NORMAL statetexActivatedNormal - Texture for ACTIVATED_NORMAL stateimageSize - size of the state imagesspace - space between the Image and the Label
public LabeledStateButton.Description(java.lang.String texDeactivatedNormal,
java.lang.String texActivatedNormal,
float space)
texDeactivatedNormal - Texture for DEACTIVATED_NORMAL statetexActivatedNormal - Texture for ACTIVATED_NORMAL statespace - space between the Image and the Labelpublic LabeledStateButton.Description()
| Method Detail |
|---|
public void setTexture(StateButton.State state,
Texture texture)
public void setTexture(StateButton.State state,
java.lang.String name)
public Texture getTexture(StateButton.State state)
public void setMeasurement(HUDUnitsMeasurement measurement)
public HUDUnitsMeasurement getMeasurement()
public void setImageSize(org.openmali.types.twodee.Dim2f size)
public void setImageSize(float width,
float height)
public org.openmali.types.twodee.Dim2f getImageSize()
public void setSpace(float space)
public float getSpace()
public void setLabelDescription(Label.Description labelDesc)
public Label.Description getLabelDescription()
public void set(LabeledStateButton.Description desc)
public LabeledStateButton.Description clone()
clone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||