|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TextWidget
A TextWidget is a Widget type, that can hold a text.
| Method Summary | |
|---|---|
TextAlignment |
getAlignment()
|
HUDFont |
getFont()
|
org.openmali.vecmath2.Colorf |
getFontColor()
|
java.lang.String |
getText()
|
void |
setAlignment(TextAlignment alignment)
Sets the horizontal and vertical alignment of the text |
void |
setFont(HUDFont font)
Sets the new Font to be used |
void |
setFontColor(org.openmali.vecmath2.Colorf color)
Sets the new color to be used |
void |
setText(java.lang.String text)
Sets the new text to be displayed |
| Method Detail |
|---|
void setText(java.lang.String text)
text - the new Textjava.lang.String getText()
void setFontColor(org.openmali.vecmath2.Colorf color)
color - the new colororg.openmali.vecmath2.Colorf getFontColor()
void setFont(HUDFont font)
font - the new FontHUDFont getFont()
void setAlignment(TextAlignment alignment)
TextAlignment getAlignment()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||