Package | flexlib.events |
Class | public class WindowShadeEvent |
Inheritance | WindowShadeEvent ![]() |
See also
Method | Defined By | ||
---|---|---|---|
WindowShadeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructs a new WindowShadeEvent. | WindowShadeEvent |
Constant | Defined By | ||
---|---|---|---|
CLOSE_BEGIN : String = closeBegin [static]
The WindowShadeEvent.CLOSE_BEGIN constant defines the value of the type
property of a WindowShadeEvent object used to indicate that a WindowShade is about to be closed. | WindowShadeEvent | ||
CLOSE_END : String = closeEnd [static]
The WindowShadeEvent.CLOSE_END constant defines the value of the type
property of a WindowShadeEvent object used to indicate that a WindowShade has been completely opened. | WindowShadeEvent | ||
OPEN_BEGIN : String = openBegin [static]
The WindowShadeEvent.OPEN_BEGIN constant defines the value of the type
property of a WindowShadeEvent object used to indicate that a WindowShade is about to be opened. | WindowShadeEvent | ||
OPENED_CHANGED : String = openedChanged [static]
The WindowShadeEvent.OPENED_CHANGED constant defines the value of the
type property of the event object for a
openedChanged event, which indicates that the value of the
opened property has been toggled, either through user action
or programattically. | WindowShadeEvent | ||
OPEN_END : String = openEnd [static]
The WindowShadeEvent.OPEN_END constant defines the value of the type
property of a WindowShadeEvent object used to indicate that a WindowShade has been completely opened. | WindowShadeEvent |
WindowShadeEvent | () | Constructor |
public function WindowShadeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructs a new WindowShadeEvent.
Parameterstype:String | |
bubbles:Boolean (default = false )
| |
cancelable:Boolean (default = false )
|
CLOSE_BEGIN | Constant |
public static const CLOSE_BEGIN:String = closeBegin
The WindowShadeEvent.CLOSE_BEGIN constant defines the value of the type
property of a WindowShadeEvent object used to indicate that a WindowShade is about to be closed. This
type of WindowShadeEvent is not cancelable.
In most cases, an event of this type will be followed by an event of type WindowShadeEvent.CLOSE_END (closeEnd
); however,
if the user clicks the header button before the closing transition has run to completion, the closeEnd
event will
not be dispatched, since the WindowShade will not be left in the closed state.
CLOSE_END | Constant |
public static const CLOSE_END:String = closeEnd
The WindowShadeEvent.CLOSE_END constant defines the value of the type
property of a WindowShadeEvent object used to indicate that a WindowShade has been completely opened. The WindowShade, however,
is not guaranteed to have been rendered in the fully open state when this event is dispatched. (Use callLater in the event handler
if this is a problem.) This type of WindowShadeEvent is not cancelable.
OPEN_BEGIN | Constant |
public static const OPEN_BEGIN:String = openBegin
The WindowShadeEvent.OPEN_BEGIN constant defines the value of the type
property of a WindowShadeEvent object used to indicate that a WindowShade is about to be opened. This
type of WindowShadeEvent is not cancelable.
In most cases, an event of this type will be followed by an event of type WindowShadeEvent.OPEN_END (openEnd
); however,
if the user clicks the header button before the opening transition has run to completion, the openEnd
event will
not be dispatched, since the WindowShade will not be left in the open state.
OPEN_END | Constant |
public static const OPEN_END:String = openEnd
The WindowShadeEvent.OPEN_END constant defines the value of the type
property of a WindowShadeEvent object used to indicate that a WindowShade has been completely opened. The WindowShade, however,
is not guaranteed to have been rendered in the fully open state when this event is dispatched. (Use callLater in the event handler
if this is a problem.) This type of WindowShadeEvent is not cancelable.
OPENED_CHANGED | Constant |
public static const OPENED_CHANGED:String = openedChanged
The WindowShadeEvent.OPENED_CHANGED constant defines the value of the
type
property of the event object for a
openedChanged
event, which indicates that the value of the
opened
property has been toggled, either through user action
or programattically.
This is the only WindowShadeEvent type that can be cancelled by a listener function. If the
preventDefault()
method is called, the previous value of the opened
property
will be restored. The restoration will trigger an additonal PropertyChangeEvent to keep properties bound to
the opened
property in sync, but it will not trigger another openChanged
event.