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

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.FieldEvent
Direct Known Subclasses:
HtmlEditorEvent

public class FieldEvent
extends BoxComponentEvent

Field event type.

See Also:
Field

Field Summary
 
Fields inherited from class com.extjs.gxt.ui.client.event.DomEvent
event
 
Constructor Summary
FieldEvent(Field<?> field)
           
FieldEvent(Field<?> field, com.google.gwt.user.client.Event event)
           
 
Method Summary
 Field<?> getField()
          Returns the source field.
 java.lang.String getMessage()
          Returns the message.
 java.lang.Object getOldValue()
          Returns the old value.
 java.lang.Object getValue()
          Returns the value.
 void setField(Field<?> field)
          Sets the field.
 void setMessage(java.lang.String message)
          Sets the message.
 void setOldValue(java.lang.Object oldValue)
          Sets the old value.
 void setValue(java.lang.Object value)
          Sets the value.
 
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

FieldEvent

public FieldEvent(Field<?> field)

FieldEvent

public FieldEvent(Field<?> field,
                  com.google.gwt.user.client.Event event)
Method Detail

getField

public Field<?> getField()
Returns the source field.

Returns:
the field

getMessage

public java.lang.String getMessage()
Returns the message.

Returns:
the message

getOldValue

public java.lang.Object getOldValue()
Returns the old value.

Returns:
the old value

getValue

public java.lang.Object getValue()
Returns the value.

Returns:
the value

setField

public void setField(Field<?> field)
Sets the field.

Parameters:
field - the field

setMessage

public void setMessage(java.lang.String message)
Sets the message.

Parameters:
message - the message

setOldValue

public void setOldValue(java.lang.Object oldValue)
Sets the old value.

Parameters:
oldValue - the old value

setValue

public void setValue(java.lang.Object value)
Sets the value.

Parameters:
value - the value