|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.render.UserFacingText
public class UserFacingText
| Constructor Summary | |
|---|---|
UserFacingText(CharSequence text,
Position textPosition)
|
|
| Method Summary | |
|---|---|
Color |
getBackgroundColor()
Indicates the background color used to draw the text. |
Color |
getColor()
Indicates the color used to draw the text. |
Font |
getFont()
Indicates the font used to draw the text. |
Position |
getPosition()
Indicates the geographic position of the text. |
double |
getPriority()
Indicates the text priority. |
CharSequence |
getText()
Indicates the text contained in this object. |
boolean |
isVisible()
Indicates whether or not the text is visible. |
void |
setBackgroundColor(Color background)
Specifies the background color used to draw the text. |
void |
setColor(Color color)
Specifies the color used to draw the text. |
void |
setFont(Font font)
Specifies the font used to draw the text. |
void |
setPosition(Position position)
Specifies the geographic position of the text. |
void |
setPriority(double priority)
Specifies the text priority. |
void |
setText(CharSequence text)
Specifies the text. |
void |
setVisible(boolean visible)
Specifies whether or not the text is visible. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserFacingText(CharSequence text,
Position textPosition)
| Method Detail |
|---|
public Color getBackgroundColor()
GeographicText
getBackgroundColor in interface GeographicTextpublic Color getColor()
GeographicText
getColor in interface GeographicTextpublic Font getFont()
GeographicText
getFont in interface GeographicTextpublic Position getPosition()
GeographicText
getPosition in interface GeographicTextpublic double getPriority()
GeographicText
getPriority in interface GeographicTextpublic CharSequence getText()
GeographicText
getText in interface GeographicTextpublic boolean isVisible()
GeographicTextfalse.
isVisible in interface GeographicTexttrue if the text is visible, otherwise false.public void setBackgroundColor(Color background)
GeographicText
setBackgroundColor in interface GeographicTextbackground - New background color.public void setColor(Color color)
GeographicText
setColor in interface GeographicTextcolor - New color.public void setFont(Font font)
GeographicText
setFont in interface GeographicTextfont - New font.public void setPosition(Position position)
GeographicText
setPosition in interface GeographicTextposition - New text position.public void setPriority(double priority)
GeographicText
setPriority in interface GeographicTextpriority - New priority.public void setText(CharSequence text)
GeographicText
setText in interface GeographicTexttext - New text.public void setVisible(boolean visible)
GeographicTextfalse.
setVisible in interface GeographicTextvisible - true if the text should be visible. false if not.
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||