Package | com.adobe.csxs.events |
Class | public class StateChangeEvent |
Inheritance | StateChangeEvent ![]() |
Property | Defined by | ||
---|---|---|---|
data : WindowGeometry
Retrieves the window geometry information associated with the event.
| StateChangeEvent |
Method | Defined by | ||
---|---|---|---|
StateChangeEvent(type:String, data:WindowGeometry = null, bubbles:Boolean = false, cancelable:Boolean = false)
Creates the event object.
| StateChangeEvent | ||
clone():Event
Creates a copy of this object and sets the value of each property to match that of the original.
| StateChangeEvent | ||
toString():String
Creates a string that contains all the properties of this object, in this format:
| StateChangeEvent |
Constant | Defined by | ||
---|---|---|---|
WINDOW_CLOSE : String = "windowClose" [static]
The window is being closed.
| StateChangeEvent | ||
WINDOW_GET_FOCUS : String = "windowGetFocus" [static]
The window is gaining the input focus.
| StateChangeEvent | ||
WINDOW_HIDE : String = "windowHide" [static]
The window is being hidden.
| StateChangeEvent | ||
WINDOW_LOSE_FOCUS : String = "windowLoseFocus" [static]
The window is losing the input focus.
| StateChangeEvent | ||
WINDOW_MINIMIZE : String = "windowMinimize" [static]
The window is being minimized/iconified.
| StateChangeEvent | ||
WINDOW_MOVE : String = "windowMove" [static]
The window is being moved.
| StateChangeEvent | ||
WINDOW_OPEN : String = "windowOpen" [static]
The window is being opened.
| StateChangeEvent | ||
WINDOW_RESIZE : String = "windowResize" [static]
The window is being resized.
| StateChangeEvent | ||
WINDOW_RESTORE : String = "windowRestore" [static]
The window is being restored after being minimized/iconified.
| StateChangeEvent | ||
WINDOW_SHOW : String = "windowShow" [static]
The window is being made visible.
| StateChangeEvent |
data | property |
data:WindowGeometry
[read-write]Retrieves the window geometry information associated with the event.
Implementation public function get data():WindowGeometry
public function set data(value:WindowGeometry):void
StateChangeEvent | () | constructor |
public function StateChangeEvent(type:String, data:WindowGeometry = null, bubbles:Boolean = false, cancelable:Boolean = false)
Creates the event object.
Parameterstype:String — The type of window state change.
|
|
data:WindowGeometry (default = null ) — The new window geometry for resize and move events.
|
|
bubbles:Boolean (default = false ) — True to allow propagation of this event.
|
|
cancelable:Boolean (default = false ) — True if the behavior associated with the event can be prevented.
|
clone | () | method |
public override function clone():Event
Creates a copy of this object and sets the value of each property to match that of the original.
ReturnsEvent — The new object.
|
toString | () | method |
public override function toString():String
Creates a string that contains all the properties of this object, in this format:
[StateChangeEvent type=value bubbles=value cancelable=value ... delta=value]
String — The properties string.
|
WINDOW_CLOSE | constant |
public static const WINDOW_CLOSE:String = "windowClose"
The window is being closed.
WINDOW_GET_FOCUS | constant |
public static const WINDOW_GET_FOCUS:String = "windowGetFocus"
The window is gaining the input focus.
WINDOW_HIDE | constant |
public static const WINDOW_HIDE:String = "windowHide"
The window is being hidden.
WINDOW_LOSE_FOCUS | constant |
public static const WINDOW_LOSE_FOCUS:String = "windowLoseFocus"
The window is losing the input focus.
WINDOW_MINIMIZE | constant |
public static const WINDOW_MINIMIZE:String = "windowMinimize"
The window is being minimized/iconified.
WINDOW_MOVE | constant |
public static const WINDOW_MOVE:String = "windowMove"
The window is being moved.
WINDOW_OPEN | constant |
public static const WINDOW_OPEN:String = "windowOpen"
The window is being opened. Never passed in a StateChangeEvent
; to open another extension, use
CSXSInterface.requestOpenExtension()
.
See also
WINDOW_RESIZE | constant |
public static const WINDOW_RESIZE:String = "windowResize"
The window is being resized.
WINDOW_RESTORE | constant |
public static const WINDOW_RESTORE:String = "windowRestore"
The window is being restored after being minimized/iconified.
WINDOW_SHOW | constant |
public static const WINDOW_SHOW:String = "windowShow"
The window is being made visible.