org.xith3d.ui.hud.dialogs
Class InputBox
java.lang.Object
org.xith3d.ui.hud.base.WidgetBase
org.xith3d.ui.hud.base.RectangularWidget
org.xith3d.ui.hud.base.RectangularContentPaneWrapper
org.xith3d.ui.hud.base.Window
org.xith3d.ui.hud.widgets.Frame
org.xith3d.ui.hud.widgets.Dialog
org.xith3d.ui.hud.dialogs.InputBox
- All Implemented Interfaces:
- org.jagatoo.datatypes.NamableObject, org.jagatoo.datatypes.NamedObject, org.openmali.types.twodee.Positioned2f, org.openmali.types.twodee.Positioned2fRO, org.openmali.types.twodee.Sized2f, org.openmali.types.twodee.Sized2fRO, BorderSettable, ContentPaneWrapper, Widget
public class InputBox
- extends Dialog
This is a simple Dialog querying for a String to be inputed.
|
Method Summary |
Button |
getCancelButton()
|
static InputBox.Factory |
getFactory()
|
TextWidget |
getMessageWidget()
|
Button |
getOKButton()
|
java.lang.String |
getText()
|
TextField |
getTextField()
|
boolean |
isCancelled()
|
void |
setCancelButton(Button button)
|
static void |
setFactory(InputBox.Factory factory)
|
void |
setMessage(java.lang.String message)
|
void |
setMessageWidget(TextWidget widget)
|
void |
setOKButton(Button button)
|
void |
setText(java.lang.String text)
|
void |
setTextField(TextField textField)
|
static InputBox |
show(java.lang.String initialValue,
HUD hud)
|
static InputBox |
show(java.lang.String initialValue,
HUD hud,
DialogListener listener)
|
static InputBox |
show(java.lang.String initialValue,
HUD hud,
InputBox.InputBoxListener listener)
|
static InputBox |
show(java.lang.String message,
java.lang.String initialValue,
HUD hud)
|
static InputBox |
show(java.lang.String message,
java.lang.String initialValue,
HUD hud,
DialogListener listener)
|
static InputBox |
show(java.lang.String message,
java.lang.String initialValue,
HUD hud,
InputBox.InputBoxListener listener)
|
static InputBox |
show(java.lang.String title,
java.lang.String message,
java.lang.String initialValue,
HUD hud,
DialogListener listener)
|
static InputBox |
show(java.lang.String title,
java.lang.String message,
java.lang.String initialValue,
HUD hud,
InputBox.InputBoxListener listener)
|
| Methods inherited from class org.xith3d.ui.hud.base.Window |
addFrameListener, addWindowListener, checkDragStartCondition, getContentPane, getContentPaneWrapper, getDefaultCloseOperation, getHeaderWidget, getInnerHeight, getInnerWidth, getResX, getResY, getTransparency, init, isCloseButtonVisible, isDecorated, isPaneDraggingEnabled, onCloseButtonClicked, onFocusLost, onKeyPressed, onKeyReleased, onKeyTyped, onMouseButtonPressed, onMouseButtonReleased, onMouseLeft, onMouseMoved, onMouseUnbound, onMouseWheelMoved, removeFrameListener, removeWindowListener, setCloseButtonVisible, setContainer, setDefaultCloseOperation, setLocation, setPaneDraggingEnabled, setSize, setVisible |
| Methods inherited from class org.xith3d.ui.hud.base.WidgetBase |
addContainerListener, addFocusListener, addInputListener, addLocationListener, addSizeListener, addVisibilityListener, detach, getAspect, getAssembly, getCachedToolTipWidget, getContainer, getContextMenu, getCursor, getHeight, getHUD, getInheritedCursor, getLeft, getLocation, getName, getSGNode, getSGZPosition, getSize, getToolTip, getTop, getUserObject, getWidgetAssembler, getWidth, getZIndex, hasFocus, hasFocus, hasToolTip, isClickable, isDraggable, isFocussable, isInitialized, isInitializing, isPickable, isVisible, onAddedToContainer, onAddedToHUD, onControllerAxisChanged, onControllerButtonPressed, onControllerButtonReleased, onFocusGained, onInputStateChanged, onMouseEntered, onMouseStopped, onRemovedFromContainer, pickWidgetAssembler, removeContainerListener, removeFocusListener, removeInputListener, removeLocationListener, removeSizeListener, removeVisibilityListener, requestFocus, setAssembly, setCachedToolTipWidget, setClickable, setContextMenu, setCursor, setDraggable, setFocussable, setHeight, setLocation, setLocation, setName, setPickable, setSize, setSize, setSize, setToolTip, setTransparency, setUserObject, setWidth, setZIndex, toString, update, updateTranslation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xith3d.ui.hud.base.Widget |
addContainerListener, addFocusListener, addInputListener, addLocationListener, addSizeListener, addVisibilityListener, detach, getAspect, getAssembly, getCachedToolTipWidget, getContainer, getContextMenu, getCursor, getHeight, getHUD, getInheritedCursor, getLeft, getLocation, getName, getSGNode, getSGZPosition, getSize, getToolTip, getTop, getUserObject, getWidth, getZIndex, hasFocus, hasFocus, hasToolTip, isClickable, isDraggable, isFocussable, isPickable, isVisible, onControllerAxisChanged, onControllerButtonPressed, onControllerButtonReleased, onFocusGained, onInputStateChanged, onMouseEntered, onMouseStopped, removeContainerListener, removeFocusListener, removeInputListener, removeLocationListener, removeSizeListener, removeVisibilityListener, requestFocus, setAssembly, setCachedToolTipWidget, setClickable, setContextMenu, setCursor, setDraggable, setFocussable, setLocation, setLocation, setName, setPickable, setSize, setSize, setSize, setToolTip, setTransparency, setUserObject, setZIndex, update |
| Methods inherited from interface org.openmali.types.twodee.Sized2f |
setHeight, setWidth |
setFactory
public static void setFactory(InputBox.Factory factory)
getFactory
public static final InputBox.Factory getFactory()
setMessageWidget
public void setMessageWidget(TextWidget widget)
getMessageWidget
public final TextWidget getMessageWidget()
setTextField
public void setTextField(TextField textField)
getTextField
public final TextField getTextField()
setOKButton
public void setOKButton(Button button)
getOKButton
public final Button getOKButton()
setCancelButton
public void setCancelButton(Button button)
getCancelButton
public final Button getCancelButton()
setMessage
public void setMessage(java.lang.String message)
setText
public void setText(java.lang.String text)
getText
public final java.lang.String getText()
isCancelled
public final boolean isCancelled()
show
public static final InputBox show(java.lang.String title,
java.lang.String message,
java.lang.String initialValue,
HUD hud,
DialogListener listener)
show
public static final InputBox show(java.lang.String message,
java.lang.String initialValue,
HUD hud,
DialogListener listener)
show
public static final InputBox show(java.lang.String initialValue,
HUD hud,
DialogListener listener)
show
public static final InputBox show(java.lang.String title,
java.lang.String message,
java.lang.String initialValue,
HUD hud,
InputBox.InputBoxListener listener)
show
public static final InputBox show(java.lang.String message,
java.lang.String initialValue,
HUD hud,
InputBox.InputBoxListener listener)
show
public static final InputBox show(java.lang.String initialValue,
HUD hud,
InputBox.InputBoxListener listener)
show
public static final InputBox show(java.lang.String message,
java.lang.String initialValue,
HUD hud)
show
public static final InputBox show(java.lang.String initialValue,
HUD hud)