Packageorg.aswing.event
Classpublic class FrameEvent
InheritanceFrameEvent Inheritance InteractiveEvent Inheritance AWEvent Inheritance flash.events.Event

Event for JFrame.

See also

org.aswing.JFrame


Public Methods
 MethodDefined by
  
FrameEvent(type:String, programmatic:Boolean = false)
FrameEvent
  
clone():Event
FrameEvent
 Inherited
isProgrammatic():Boolean
Returns the programmatic property.
InteractiveEvent
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
 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
  FRAME_ABILITY_CHANGED : String = "frameAbilityChanged"
[static] The FrameEvent.FRAME_ABILITY_CHANGED constant defines the value of the type property of the event object for a frameAbilityChanged event.
FrameEvent
  FRAME_CLOSING : String = "frameClosing"
[static] The FrameEvent.FRAME_CLOSING constant defines the value of the type property of the event object for a frameClosing event.
FrameEvent
  FRAME_ICONIFIED : String = "frameIconified"
[static] The FrameEvent.FRAME_ICONIFIED constant defines the value of the type property of the event object for a frameIconified event.
FrameEvent
  FRAME_MAXIMIZED : String = "frameMaximized"
[static] The FrameEvent.WINDOW_DEACTIVATED constant defines the value of the type property of the event object for a frameMaximized event.
FrameEvent
  FRAME_RESTORED : String = "frameRestored"
[static] The FrameEvent.FRAME_RESTORED constant defines the value of the type property of the event object for a frameRestored event.
FrameEvent
 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
 InheritedSCROLL_CHANGED : String = "scrollChanged"
[static] The InteractiveEvent.SCROLL_CHANGED constant defines the value of the type property of the event object for a scrollChanged event.
InteractiveEvent
 InheritedSELECTION_CHANGED : String = "selectionChanged"
[static] The InteractiveEvent.SELECTION_CHANGED constant defines the value of the type property of the event object for a selectionChanged event.
InteractiveEvent
 InheritedSHOWN : String = "shown"
[static] The AWEvent.SHOWN constant defines the value of the type property of the event object for a shown event.
AWEvent
 InheritedSTATE_CHANGED : String = "stateChanged"
[static] The InteractiveEvent.STATE_CHANGED constant defines the value of the type property of the event object for a stateChanged event.
InteractiveEvent
 InheritedTEXT_CHANGED : String = "textChanged"
[static] The InteractiveEvent.TEXT_CHANGED constant defines the value of the type property of the event object for a textChanged event.
InteractiveEvent
Constructor detail
FrameEvent()constructor
public function FrameEvent(type:String, programmatic:Boolean = false)Parameters
type:String
 
programmatic:Boolean (default = false)
Method detail
clone()method
public override function clone():Event

Returns
Event
Constant detail
FRAME_ABILITY_CHANGEDconstant
public static const FRAME_ABILITY_CHANGED:String = "frameAbilityChanged"

The FrameEvent.FRAME_ABILITY_CHANGED constant defines the value of the type property of the event object for a frameAbilityChanged event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
isProgrammatic()true
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.
FRAME_CLOSINGconstant 
public static const FRAME_CLOSING:String = "frameClosing"

The FrameEvent.FRAME_CLOSING constant defines the value of the type property of the event object for a frameClosing event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
isProgrammatic()false
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.
FRAME_ICONIFIEDconstant 
public static const FRAME_ICONIFIED:String = "frameIconified"

The FrameEvent.FRAME_ICONIFIED constant defines the value of the type property of the event object for a frameIconified event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
isProgrammatic()True means this event is fired by the programmatic reason, false means user mouse/keyboard interaction reason.
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.
FRAME_MAXIMIZEDconstant 
public static const FRAME_MAXIMIZED:String = "frameMaximized"

The FrameEvent.WINDOW_DEACTIVATED constant defines the value of the type property of the event object for a frameMaximized event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
isProgrammatic()True means this event is fired by the programmatic reason, false means user mouse/keyboard interaction reason.
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.
FRAME_RESTOREDconstant 
public static const FRAME_RESTORED:String = "frameRestored"

The FrameEvent.FRAME_RESTORED constant defines the value of the type property of the event object for a frameRestored event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
isProgrammatic()True means this event is fired by the programmatic reason, false means user mouse/keyboard interaction reason.
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.