|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmhframework.MHScreen
mhframework.gui.MHGUIDialogScreen
mhframework.gui.MHGUIInputDialogScreen
public class MHGUIInputDialogScreen
Field Summary | |
---|---|
protected MHGUILabel |
_txtInput
|
protected java.lang.StringBuffer |
input
|
Fields inherited from class mhframework.gui.MHGUIDialogScreen |
---|
_btnCancel, _btnOK, _messageFont, _titleFont, CANCEL_OPTION, OK_OPTION |
Constructor Summary | |
---|---|
MHGUIInputDialogScreen()
|
Method Summary | |
---|---|
java.lang.String |
getInputText()
|
void |
keyPressed(java.awt.event.KeyEvent e)
Delivers Key Pressed events to the GUI components. |
void |
render(java.awt.Graphics2D g2d)
Draws the GUI components onto the sent Graphics object. |
Methods inherited from class mhframework.gui.MHGUIDialogScreen |
---|
actionPerformed, advance, drawBackground, drawMessage, drawTitle, getBackgroundColor, getBackgroundImage, getMessage, getReturnCode, getTextColor, getTitle, getTitleColor, load, setBackgroundColor, setBackgroundImage, setButtonCaptions, setCancelButton, setMessage, setMessageFont, setOKButton, setTextColor, setTitle, setTitleColor, setTitleFont, unload |
Methods inherited from class mhframework.MHScreen |
---|
add, centerText, getComponentList, getFocusedComponent, getNextScreen, getPreviousScreen, hideErrorMessage, isDisposable, isFinished, keyReleased, keyTyped, mouseClicked, mouseMoved, mousePressed, mouseReleased, nextFocusableComponent, prevFocusableComponent, remove, setDisposable, setFinished, setNextScreen, setPreviousScreen, showErrorMessage, tileImage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final MHGUILabel _txtInput
protected final java.lang.StringBuffer input
Constructor Detail |
---|
public MHGUIInputDialogScreen()
Method Detail |
---|
public void render(java.awt.Graphics2D g2d)
MHScreen
render
in interface MHRenderable
render
in class MHGUIDialogScreen
g2d
- The Graphics object on which this object is to draw itself.public java.lang.String getInputText()
public void keyPressed(java.awt.event.KeyEvent e)
MHScreen
keyPressed
in class MHScreen
e
- The event that triggered a call to this method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |