Paket | mx.events |
Klass | public class FlexNativeWindowBoundsEvent |
Arv | FlexNativeWindowBoundsEvent NativeWindowBoundsEvent Event Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | AIR 1.1 |
Relaterade API-element
Publika egenskaper
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
FlexNativeWindowBoundsEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, beforeBounds:Rectangle = null, afterBounds:Rectangle = null)
Constructor. | FlexNativeWindowBoundsEvent | ||
[åsidosätt]
Skapar en kopia av NativeWindowBoundsEvent-objektet och ställer in värdet för varje egenskap så att de matchar originalets egenskaper. | NativeWindowBoundsEvent | ||
Ett verktyg som används för att implementera metoden toString() i de anpassade klasserna ActionScript 3.0. | Event | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Kontrollerar om preventDefault()-metoden har anropats för händelsen. | Event | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Avbryter en händelses standardbeteende om det beteendet kan avbrytas. | Event | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Förhindrar behandling av händelsehanterare i den aktuella noden och alla noder som följer den aktuella noden i händelseflödet. | Event | ||
Förhindrar behandling av händelsehanterare i noder som följer den aktuella noden i händelseflödet. | Event | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
[åsidosätt]
Returnerar en sträng som innehåller alla egenskaper i NativeWindowBoundsEvent-objektet. | NativeWindowBoundsEvent | ||
Returnerar det angivna objektets primitiva värde. | Object |
Publika konstanter
Konstant | Definieras med | ||
---|---|---|---|
WINDOW_MOVE : String = "windowMove" [statisk]
The FlexNativeWindowBoundsEvent.WINDOW_MOVE constant defines the value of the
type property of the event object for a
windowMove event. | FlexNativeWindowBoundsEvent | ||
WINDOW_RESIZE : String = "windowResize" [statisk]
The FlexNativeWindowBoundsEvent.WINDOW_RESIZE constant defines the value of the
type property of the event object for a
windowResize event. | FlexNativeWindowBoundsEvent |
Konstruktordetaljer
FlexNativeWindowBoundsEvent | () | Konstruktor |
public function FlexNativeWindowBoundsEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, beforeBounds:Rectangle = null, afterBounds:Rectangle = null)
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | AIR 1.1 |
Constructor.
Parametrartype:String — The event type; indicates the action that caused the event.
| |
bubbles:Boolean (default = false ) — Specifies whether the event can bubble up
the display list hierarchy.
| |
cancelable:Boolean (default = false ) — Specifies whether the behavior
associated with the event can be prevented.
| |
beforeBounds:Rectangle (default = null ) — The bounds of the window before the resize.
| |
afterBounds:Rectangle (default = null ) — The bounds of the window before the resize.
|
Konstantdetaljer
WINDOW_MOVE | Konstant |
public static const WINDOW_MOVE:String = "windowMove"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | AIR 1.1 |
The FlexNativeWindowBoundsEvent.WINDOW_MOVE constant defines the value of the
type
property of the event object for a
windowMove
event.
The properties of the event object have the following values:
Property | Value |
---|---|
afterBounds | The bounds of the window after the bounds changed. |
beforeBounds | The bounds of the window before the bounds changed. |
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
file | The File object associated with this event. |
target | The 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. |
type | FlexNativeWindowBoundsEvent.WINDOW_MOVE |
WINDOW_RESIZE | Konstant |
public static const WINDOW_RESIZE:String = "windowResize"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | AIR 1.1 |
The FlexNativeWindowBoundsEvent.WINDOW_RESIZE constant defines the value of the
type
property of the event object for a
windowResize
event.
The properties of the event object have the following values:
Property | Value |
---|---|
afterBounds | The bounds of the window after the bounds changed. |
beforeBounds | The bounds of the window before the bounds changed. |
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
file | The File object associated with this event. |
target | The 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. |
type | FlexNativeWindowBoundsEvent.WINDOW_RESIZE |
Tue Jun 12 2018, 01:40 PM Z