Packageorg.aswing.event
Classpublic class TableCellEditEvent
InheritanceTableCellEditEvent Inheritance AWEvent Inheritance flash.events.Event

The event for table cell editing.



Public Methods
 MethodDefined by
  
TableCellEditEvent(type:String, row:int, column:int, oldValue:* = null, newValue:* = null)
Create a cell edit event.
TableCellEditEvent
  
clone():Event
TableCellEditEvent
  
getColumn():int
TableCellEditEvent
  
TableCellEditEvent
  
TableCellEditEvent
  
getRow():int
TableCellEditEvent
Public Constants
 ConstantDefined by
 InheritedACT : String = "act"
[static] The AWEvent.ACT constant defines the value of the type property of the event object for a act event.
AWEvent
  EDITING_CANCELED : String = "tableCellEditingCanceled"
[static] The TableCellEditEvent.EDITING_CANCELED constant defines the value of the type property of the event object for a tableCellEditingCanceled event.
TableCellEditEvent
  EDITING_STARTED : String = "tableCellEditingStarted"
[static] The TableCellEditEvent.EDITING_STARTED constant defines the value of the type property of the event object for a tableCellEditingStarted event.
TableCellEditEvent
  EDITING_STOPPED : String = "tableCellEditingStopped"
[static] The TableCellEditEvent.EDITING_STOPPED constant defines the value of the type property of the event object for a tableCellEditingStopped event.
TableCellEditEvent
 InheritedFOCUS_GAINED : String = "focusGained"
[static] The AWEvent.FOCUS_GAINED constant defines the value of the type property of the event object for a focusGained event.
AWEvent
 InheritedFOCUS_LOST : String = "focusLost"
[static] The AWEvent.FOCUS_LOST constant defines the value of the type property of the event object for a focusLost event.
AWEvent
 InheritedHIDDEN : String = "hidden"
[static] The AWEvent.HIDDEN constant defines the value of the type property of the event object for a hidden event.
AWEvent
 InheritedPAINT : String = "paint"
[static] The AWEvent.PAINT constant defines the value of the type property of the event object for a paint event.
AWEvent
 InheritedSHOWN : String = "shown"
[static] The AWEvent.SHOWN constant defines the value of the type property of the event object for a shown event.
AWEvent
Constructor detail
TableCellEditEvent()constructor
public function TableCellEditEvent(type:String, row:int, column:int, oldValue:* = null, newValue:* = null)

Create a cell edit event.

Parameters
type:String — the type
 
row:int — the edit row
 
column:int — the edit column
 
oldValue:* (default = null) — the old value
 
newValue:* (default = null) — the edited new value
Method detail
clone()method
public override function clone():Event

Returns
Event
getColumn()method 
public function getColumn():int

Returns
int
getNewValue()method 
public function getNewValue():*

Returns
*
getOldValue()method 
public function getOldValue():*

Returns
*
getRow()method 
public function getRow():int

Returns
int
Constant detail
EDITING_CANCELEDconstant
public static const EDITING_CANCELED:String = "tableCellEditingCanceled"

The TableCellEditEvent.EDITING_CANCELED constant defines the value of the type property of the event object for a tableCellEditingCanceled event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
getRow()the row be edit
getColumn()the column be edit
currentTargetThe Object that defines the event listener that handles the event. For example, if you use comp.addEventListener() to register an event listener, comp is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
EDITING_STARTEDconstant 
public static const EDITING_STARTED:String = "tableCellEditingStarted"

The TableCellEditEvent.EDITING_STARTED constant defines the value of the type property of the event object for a tableCellEditingStarted event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
getRow()the row be edit
getColumn()the column be edit
getOldValue()the old value
currentTargetThe Object that defines the event listener that handles the event. For example, if you use comp.addEventListener() to register an event listener, comp is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
EDITING_STOPPEDconstant 
public static const EDITING_STOPPED:String = "tableCellEditingStopped"

The TableCellEditEvent.EDITING_STOPPED constant defines the value of the type property of the event object for a tableCellEditingStopped event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
getRow()the row be edit
getColumn()the column be edit
getOldValue()the old value
getNewValue()the new value edited
currentTargetThe Object that defines the event listener that handles the event. For example, if you use comp.addEventListener() to register an event listener, comp is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.