org.xith3d.ui.hud.dialogs
Class MsgBox
java.lang.Object
org.xith3d.ui.hud.base.Widget
org.xith3d.ui.hud.base.Window
org.xith3d.ui.hud.widgets.Frame
org.xith3d.ui.hud.widgets.Dialog
org.xith3d.ui.hud.dialogs.MsgBox
- 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
public class MsgBox
- extends Dialog
This is a simple message displaying Dialog.
|
Method Summary |
static MsgBox.Factory |
getFactory()
|
TextWidget |
getMessageWidget()
|
Button |
getOKButton()
|
static void |
setFactory(MsgBox.Factory factory)
|
void |
setMessageWidget(TextWidget widget)
|
void |
setOKButton(Button button)
|
static MsgBox |
show(java.lang.String text,
HUD hud)
|
static MsgBox |
show(java.lang.String text,
HUD hud,
DialogListener listener)
|
static MsgBox |
show(java.lang.String text,
MsgBox.IconType iconType,
HUD hud)
|
static MsgBox |
show(java.lang.String text,
MsgBox.IconType iconType,
HUD hud,
DialogListener listener)
|
static MsgBox |
show(java.lang.String title,
java.lang.String text,
MsgBox.IconType iconType,
HUD hud)
|
static MsgBox |
show(java.lang.String title,
java.lang.String text,
MsgBox.IconType iconType,
HUD hud,
DialogListener listener)
|
| Methods inherited from class org.xith3d.ui.hud.base.Window |
addWindowListener, checkDragStartCondition, detach, drawAndUpdateWidget, drawBorder, drawWidget, getContentHeightPX, getContentPane, getContentWidthPX, getDefaultCloseOperation, getHeaderHeight, getHeaderWidget, getResX, getResY, getTitle, init, isCloseButtonVisible, isDecorated, isPaneDraggingEnabled, onCloseButtonClicked, onFocusLost, onKeyPressed, onKeyReleased, onKeyTyped, onMouseButtonPressed, onMouseButtonReleased, onMouseExited, onMouseMoved, onMouseWheelMoved, onSizeChanged, onVisibilityChanged, pick, removeWindowListener, setCloseButtonVisible, setContentSize, setDefaultCloseOperation, setHostTextureDirty, setPaneDraggingEnabled, setTextureDirty, setTitle, startDragging, toString |
| Methods inherited from class org.xith3d.ui.hud.base.Widget |
addContainerListener, addControllerListener, addFocusListener, addInputListener, addKeyboardListener, addLocationListener, addMouseListener, addSizeListener, addVisibilityListener, bindToGlobalMouseMovement, blocksFocusMoveDeviceComponent, calculateTransformHeight_Pixels2HUD, calculateTransformWidth_Pixels2HUD, compareAbsZIndex, createShape, drawBackground, drawWidgetAfterWidgetAssembler, drawWidgetContents, getAbsoluteLocationOnHUD_, getAspect, getAssembly, getBorder, getContainer, getContentAspect, getContentHeight, getContentLeftPX, getContentOffset, getContentTopPX, getContentWidth, getContextMenu, getCursor, getEqualHeight_, getEqualWidth_, getForcedRedrawFrequency, getHeight, getHeightPX, getHUD, getLeft, getLevel, getLocation, getLocation, getLocationHUD2Pixels_, getLocationHUD2SG_, getLocationPixels2HUD_, getLocationSG2HUD_, getMaxRedrawFrequency, getMinHeight, getMinWidth, getName, getParentWindow, getPickHeight, getPickWidth, getRelLocationHUD2Pixels_, getRootHostWidget, getShape, getSize, getSizeHUD2Pixels_, getSizeHUD2SG_, getSizeOfPixels_, getSizePixels2HUD_, getSizeSG2HUD_, getToolTip, getTop, getTransparency, getUserObject, getWidgetAssembler, getWidth, getWidthPX, getZIndex, hasDropShadow, hasFocus, hasFocus, hasToolTip, initSize, isAHostedWidgetDirty, isClickable, isDraggable, isFocussable, isHeavyWeight, isHovered, isInitialized, isInitializing, isPickable, isThisWidgetDirty, isVisible, notifyOnDragStopped, onAttachedToContainer, onAttachedToHUD, onControllerAxisChanged, onControllerButtonPressed, onControllerButtonReleased, onDetachedFromContainer, onFocusGained, onInputStateChanged, onLocationChanged, onMouseEntered, onMouseStopped, pickConditionsMatch, removeContainerListener, removeControllerListener, removeFocusListener, removeInputListener, removeKeyboardListener, removeLocationListener, removeMouseListener, removeSizeListener, removeVisibilityListener, requestFocus, resetWidgetDirty, setBorder, setBorder, setClickable, setContentClipRect, setContextMenu, setCursor, setDraggable, setFocussable, setForcedRedrawFrequency, setHasDropShadow, setHeight, setHostedWidgetDirty, setHostTextureDirty, setHostWidget, setLocation, setLocation, setLocation, setMaxRedrawFrequency, setName, setPickable, setSize, setSize, setSize, setSize, setTextureDirty, setToolTip, setTransparency, setTransparency, setUserObject, setVisible, setWidgetDirty, setWidth, setZIndex, update, updateAbsZIndex, updateSizeFactors, updateTranslation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
setFactory
public static void setFactory(MsgBox.Factory factory)
getFactory
public static final MsgBox.Factory getFactory()
setMessageWidget
public void setMessageWidget(TextWidget widget)
getMessageWidget
public final TextWidget getMessageWidget()
setOKButton
public void setOKButton(Button button)
getOKButton
public final Button getOKButton()
show
public static final MsgBox show(java.lang.String title,
java.lang.String text,
MsgBox.IconType iconType,
HUD hud,
DialogListener listener)
show
public static final MsgBox show(java.lang.String text,
MsgBox.IconType iconType,
HUD hud,
DialogListener listener)
show
public static final MsgBox show(java.lang.String text,
HUD hud,
DialogListener listener)
show
public static final MsgBox show(java.lang.String title,
java.lang.String text,
MsgBox.IconType iconType,
HUD hud)
show
public static final MsgBox show(java.lang.String text,
MsgBox.IconType iconType,
HUD hud)
show
public static final MsgBox show(java.lang.String text,
HUD hud)