|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.golden.gamedev.GameObject moagg.game.menu.widget.TextField
public class TextField
Field Summary |
---|
Fields inherited from class com.golden.gamedev.GameObject |
---|
bsGraphics, bsInput, bsIO, bsLoader, bsMusic, bsSound, bsTimer, fontManager, parent |
Constructor Summary | |
---|---|
TextField(com.golden.gamedev.GameEngine parent,
java.lang.String text)
|
Method Summary | |
---|---|
java.lang.String |
getText()
|
void |
initResources()
|
boolean |
isAborted()
|
boolean |
isEntered()
|
boolean |
isSelected()
|
void |
render(java.awt.Graphics2D g)
|
void |
select()
|
void |
setText(java.lang.String text)
|
void |
update(long elapsedTime)
|
Methods inherited from class com.golden.gamedev.GameObject |
---|
checkPosMouse, checkPosMouse, click, drawFPS, finish, getCurrentFPS, getFPS, getHeight, getImage, getImage, getImages, getImages, getImages, getImages, getImages, getImages, getMouseX, getMouseY, getRandom, getWidth, hideCursor, keyDown, keyPressed, playMusic, playSound, rightClick, setFPS, setMaskColor, showCursor, start, takeScreenShot, takeScreenShot |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextField(com.golden.gamedev.GameEngine parent, java.lang.String text)
Method Detail |
---|
public void select()
public boolean isSelected()
public boolean isEntered()
public boolean isAborted()
public void setText(java.lang.String text)
public java.lang.String getText()
public void initResources()
initResources
in class com.golden.gamedev.GameObject
public void update(long elapsedTime)
update
in class com.golden.gamedev.GameObject
public void render(java.awt.Graphics2D g)
render
in class com.golden.gamedev.GameObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |