Packageorg.openzet.events
Classpublic class MDIWindowEvent
InheritanceMDIWindowEvent Inheritance flash.events.Event

Custom Event class for IMDIWindow's state. Child controls for MDI should implement IMDIWindow interface as well as event dispatchment of the following events.

See also

org.openzet.containers.MDIWindow
org.openzet.containers.IMDIWindow


Public Properties
 PropertyDefined by
  newWindowState : String
Property representing new window state.
MDIWindowEvent
  oldWindowState : String
Property representing the previous window state.
MDIWindowEvent
Public Methods
 MethodDefined by
  
MDIWindowEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, oldWindowState:String = null, newWindowState:String = null)
Constructor.
MDIWindowEvent
Public Constants
 ConstantDefined by
  CLOSE : String = "close"
[static] Static constant that represents close event name.
MDIWindowEvent
  MAXIMIZE : String = "maximize"
[static] Static constant that represents maximize event name.
MDIWindowEvent
  MINIMIZE : String = "minimize"
[static] Static constant that represents minimize event name.
MDIWindowEvent
  RESTORE : String = "restore"
[static] Static constant that represents restore event name.
MDIWindowEvent
  WINDOW_FOCUS_IN : String = "windowFocusIn"
[static] Static constant that represents windowFocusIn event.
MDIWindowEvent
  WINDOW_FOCUS_OUT : String = "windowFocusOut"
[static] Static constant that represents windowFocusOut event.
MDIWindowEvent
Property detail
newWindowStateproperty
public var newWindowState:String

Property representing new window state.

oldWindowStateproperty 
public var oldWindowState:String

Property representing the previous window state.

Constructor detail
MDIWindowEvent()constructor
public function MDIWindowEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, oldWindowState:String = null, newWindowState:String = null)

Constructor.

Parameters
type:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
 
oldWindowState:String (default = null)
 
newWindowState:String (default = null)
Constant detail
CLOSEconstant
public static const CLOSE:String = "close"

Static constant that represents close event name. Normally dispatched when users click on close button.

MAXIMIZEconstant 
public static const MAXIMIZE:String = "maximize"

Static constant that represents maximize event name. Normally dispatched when users click on maximize button.

MINIMIZEconstant 
public static const MINIMIZE:String = "minimize"

Static constant that represents minimize event name. Normally dispatched when users click on minimize button.

RESTOREconstant 
public static const RESTORE:String = "restore"

Static constant that represents restore event name. Normally dispatched when users click on restore button.

WINDOW_FOCUS_INconstant 
public static const WINDOW_FOCUS_IN:String = "windowFocusIn"

Static constant that represents windowFocusIn event. Dispatched after a display object gains focus.

WINDOW_FOCUS_OUTconstant 
public static const WINDOW_FOCUS_OUT:String = "windowFocusOut"

Static constant that represents windowFocusOut event. Dispatched after a display object loses focus.