|
||||||||||
| 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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.xith3d.ui.hud.base.Widget |
|---|
Widget.DescriptionBase |
| Method Summary | |
|---|---|
TextAlignment |
getAlignment()
|
java.awt.Font |
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(java.awt.Font 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 |
| Methods inherited from interface org.openmali.types.twodee.Sized2f |
|---|
setHeight, setWidth |
| Method Detail |
|---|
java.lang.String getText()
void setText(java.lang.String text)
text - the new Textorg.openmali.vecmath2.Colorf getFontColor()
void setFontColor(org.openmali.vecmath2.Colorf color)
color - the new colorjava.awt.Font getFont()
void setFont(java.awt.Font font)
font - the new Fontvoid setAlignment(TextAlignment alignment)
TextAlignment getAlignment()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||