com.extjs.gxt.ui.client.event
Class MessageBoxEvent

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseEvent
      extended by com.extjs.gxt.ui.client.event.DomEvent
          extended by com.extjs.gxt.ui.client.event.ComponentEvent
              extended by com.extjs.gxt.ui.client.event.BoxComponentEvent
                  extended by com.extjs.gxt.ui.client.event.WindowEvent
                      extended by 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

Field Summary
 
Fields inherited from class com.extjs.gxt.ui.client.event.DomEvent
event
 
Constructor Summary
MessageBoxEvent(MessageBox messageBox, Dialog window, Button buttonClicked)
           
 
Method Summary
 Dialog getDialog()
          Returns the source dialog.
 MessageBox getMessageBox()
          The source message box.
 java.lang.String getValue()
          Returns the value.
 void setDialog(Dialog dialog)
          Sets the source dialog.
 void setMessageBox(MessageBox messageBox)
          Sets the source message box.
 void setValue(java.lang.String value)
          Sets the field value.
 
Methods inherited from class com.extjs.gxt.ui.client.event.WindowEvent
getButtonClicked, getWindow, setButtonClicked, setWindow
 
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.ComponentEvent
getComponent, getState, setComponent, setState
 
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 com.extjs.gxt.ui.client.event.BaseEvent
getSource, getType, isCancelled, setCancelled, setSource, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageBoxEvent

public MessageBoxEvent(MessageBox messageBox,
                       Dialog window,
                       Button buttonClicked)
Method Detail

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