com.extjs.gxt.ui.client.event
Class MessageBoxEvent
java.lang.Object
com.extjs.gxt.ui.client.event.BaseEvent
com.extjs.gxt.ui.client.event.DomEvent
com.extjs.gxt.ui.client.event.ComponentEvent
com.extjs.gxt.ui.client.event.BoxComponentEvent
com.extjs.gxt.ui.client.event.WindowEvent
com.extjs.gxt.ui.client.event.MessageBoxEvent
public class MessageBoxEvent
- extends WindowEvent
MessageBox event type.
Note: For a given event, only the fields which are appropriate will be filled
in. The appropriate fields for each event are documented by the event source.
- See Also:
MessageBox
Fields inherited from class com.extjs.gxt.ui.client.event.DomEvent |
event |
Methods inherited from class com.extjs.gxt.ui.client.event.BoxComponentEvent |
getBoxComponent, getHeight, getSize, getWidth, getX, getY, setBoxComponent, setHeight, setSize, setWidth, setX, setY |
Methods inherited from class com.extjs.gxt.ui.client.event.DomEvent |
cancelBubble, getClientX, getClientY, getEvent, getEventTypeInt, getKeyCode, getTarget, getTarget, getTargetEl, getXY, hasModifier, isAltKey, isControlKey, isNavKeyPress, isNavKeyPress, isRightClick, isShiftKey, isSpecialKey, isSpecialKey, preventDefault, setEvent, stopEvent, within, within |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageBoxEvent
public MessageBoxEvent(MessageBox messageBox,
Dialog window,
Button buttonClicked)
getDialog
public Dialog getDialog()
- Returns the source dialog.
- Returns:
- the source dialog
getMessageBox
public MessageBox getMessageBox()
- The source message box.
- Returns:
- the message box
getValue
public java.lang.String getValue()
- Returns the value.
- Returns:
- the value
setDialog
public void setDialog(Dialog dialog)
- Sets the source dialog.
- Parameters:
dialog
- the source dialog
setMessageBox
public void setMessageBox(MessageBox messageBox)
- Sets the source message box.
- Parameters:
messageBox
- the message box
setValue
public void setValue(java.lang.String value)
- Sets the field value. Only applies to prompt and multi-prompt message
boxes.
- Parameters:
value
- the value