Pakiet | spark.components.supportClasses |
Klasa | public class StyleableStageText |
Dziedziczenie | StyleableStageText UIComponent FlexSprite Sprite DisplayObjectContainer InteractiveObject DisplayObject EventDispatcher Object |
Implementuje | IEditableText, ISoftKeyboardHintClient |
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
StageText allows for better text entry and manipulation experiences on mobile devices using native text fields. The native fields provide correct visuals, text spacing and reflow, selection behavior, and text entry assistance. This class can also be used on desktop platforms where it behaves as a wrapper around TextField.
The padding around native text controls may be different than the padding around TextField controls.Similiar to other native applications, when you tap outside of the native text field, the text field gives up focus and the soft keyboard goes away. This differs from when you tap outside of a TextField and the focus stays in the TextField and the soft keyboard remains visible.
Limitation of StageText-based controls:
- Native text input fields cannot be clipped by other Flex content and are rendered in a layer above the Stage. Because of this limitation, components that use StageText-based skin classes will always appear to be on top of other Flex components. Flex popups and drop-downs will also be obscured by any visible native text fields. Finally, native text fields' relative z-order cannot be controlled by the application.
- The native controls do not support embedded fonts.
- Links and html markup are not supported.
-
text
is always selectable. - Fractional alpha values are not supported.
- Keyboard events are not dispatched for most keys. This means that the tab key will not dispatch keyDown or keyUp events so focus cannot be removed from a StageText-based control with the tab key.
- StageText is currently not capable of measuring text.
- At this time StageText does not support programmatic control of scroll position.
- At this time StageText does not support an event model necessary to allow for touch-based scrolling of forms containing native text fields.
Powiązane elementy interfejsu API
Właściwość | Zdefiniowane przez | ||
---|---|---|---|
accessibilityDescription : String
A convenience accessor for the description property
in this UIComponent's accessibilityProperties object. | UIComponent | ||
accessibilityEnabled : Boolean
A convenience accessor for the silent property
in this UIComponent's accessibilityProperties object. | UIComponent | ||
accessibilityImplementation : AccessibilityImplementation
Bieżąca implementacja dostępności (AccessibilityImplementation) dla tego wystąpienia klasy InteractiveObject. | InteractiveObject | ||
accessibilityName : String
A convenience accessor for the name property
in this UIComponent's accessibilityProperties object. | UIComponent | ||
accessibilityProperties : AccessibilityProperties
Bieżące opcje dostępności tego obiektu wyświetlanego. | DisplayObject | ||
accessibilityShortcut : String
A convenience accessor for the shortcut property
in this UIComponent's accessibilityProperties object. | UIComponent | ||
activeEffects : Array [tylko do odczytu]
The list of effects that are currently playing on the component,
as an Array of EffectInstance instances. | UIComponent | ||
autoCapitalize : String
Hint indicating what captialization behavior soft keyboards should use. | StyleableStageText | ||
autoCorrect : Boolean
Hint indicating whether a soft keyboard should use its auto-correct
behavior, if supported. | StyleableStageText | ||
automationDelegate : Object
The delegate object that handles the automation-related functionality. | UIComponent | ||
automationEnabled : Boolean [tylko do odczytu]
True if this component is enabled for automation, false
otherwise. | UIComponent | ||
automationName : String
Name that can be used as an identifier for this object. | UIComponent | ||
automationOwner : DisplayObjectContainer [tylko do odczytu]
The owner of this component for automation purposes. | UIComponent | ||
automationParent : DisplayObjectContainer [tylko do odczytu]
The parent of this component for automation purposes. | UIComponent | ||
automationTabularData : Object [tylko do odczytu]
An implementation of the IAutomationTabularData interface, which
can be used to retrieve the data. | UIComponent | ||
automationValue : Array [tylko do odczytu]
This value generally corresponds to the rendered appearance of the
object and should be usable for correlating the identifier with
the object as it appears visually within the application. | UIComponent | ||
automationVisible : Boolean [tylko do odczytu]
True if this component is visible for automation, false
otherwise. | UIComponent | ||
baseline : Object
For components, this layout constraint property is a
facade on top of the similarly-named style. | UIComponent | ||
baselinePosition : Number [tylko do odczytu]
The y-coordinate of the baseline
of the first line of text of the component. | UIComponent | ||
blendMode : String
Wartość z klasy BlendMode określająca, jakiego trybu mieszania należy użyć. | DisplayObject | ||
blendShader : Shader [tylko do zapisu]
Ustawia moduł cieniujący, który jest używany do mieszania pierwszego planu oraz tła. | DisplayObject | ||
bottom : Object
For components, this layout constraint property is a
facade on top of the similarly-named style. | UIComponent | ||
buttonMode : Boolean
Określa tryb przycisku tej ikonki. | Sprite | ||
cacheAsBitmap : Boolean
Jeśli ustawiono wartość true, środowisko wykonawcze Flash buforuje wewnętrzną reprezentację bitmapy obiektu wyświetlanego. | DisplayObject | ||
cacheAsBitmapMatrix : Matrix
W przypadku wartości innej niż null ten obiekt Matrix definiuje sposób renderowania obiektu wyświetlanego, gdy cacheAsBitmap jest ustawione na true. | DisplayObject | ||
cacheHeuristic : Boolean [tylko do zapisu]
Used by Flex to suggest bitmap caching for the object. | UIComponent | ||
cachePolicy : String
Specifies the bitmap caching policy for this object. | UIComponent | ||
className : String [tylko do odczytu]
The name of this instance's class, such as "Button". | UIComponent | ||
constructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu. | Object | ||
contentMouseX : Number [tylko do odczytu]
Returns the x position of the mouse, in the content coordinate system. | UIComponent | ||
contentMouseY : Number [tylko do odczytu]
Returns the y position of the mouse, in the content coordinate system. | UIComponent | ||
contextMenu : NativeMenu
Określa menu kontekstowe tego obiektu. | InteractiveObject | ||
currentState : String
The current view state of the component. | UIComponent | ||
cursorManager : ICursorManager [tylko do odczytu]
Gets the CursorManager that controls the cursor for this component
and its peers. | UIComponent | ||
depth : Number
Determines the order in which items inside of containers
are rendered. | UIComponent | ||
descriptor : UIComponentDescriptor
Reference to the UIComponentDescriptor, if any, that was used
by the createComponentFromDescriptor() method to create this
UIComponent instance. | UIComponent | ||
designLayer : DesignLayer
Specifies the optional DesignLayer instance associated with this visual
element. | UIComponent | ||
displayAsPassword : Boolean
Specifies whether the text field is a password text field. | StyleableStageText | ||
document : Object
A reference to the document object associated with this UIComponent. | UIComponent | ||
doubleClickEnabled : Boolean [przesłanianie]
Specifies whether the UIComponent object receives doubleClick events. | UIComponent | ||
dropTarget : DisplayObject [tylko do odczytu]
Określa obiekt ekranowy, nad którym jest przeciągana ikonka, lub na który upuszczono ikonkę. | Sprite | ||
editable : Boolean
Flag that indicates whether the text in the field is editable. | StyleableStageText | ||
enabled : Boolean
Whether the component can accept user interaction. | UIComponent | ||
errorString : String
The text that displayed by a component's error tip when a
component is monitored by a Validator and validation fails. | UIComponent | ||
explicitHeight : Number
Number that specifies the explicit height of the component,
in pixels, in the component's coordinates. | UIComponent | ||
explicitMaxHeight : Number
The maximum recommended height of the component to be considered
by the parent during layout. | UIComponent | ||
explicitMaxWidth : Number
The maximum recommended width of the component to be considered
by the parent during layout. | UIComponent | ||
explicitMinHeight : Number
The minimum recommended height of the component to be considered
by the parent during layout. | UIComponent | ||
explicitMinWidth : Number
The minimum recommended width of the component to be considered
by the parent during layout. | UIComponent | ||
explicitWidth : Number
Number that specifies the explicit width of the component,
in pixels, in the component's coordinates. | UIComponent | ||
filters : Array
Indeksowana tablica zawierająca wszystkie filtry aktualnie skojarzone z obiektem wyświetlanym. | DisplayObject | ||
flexContextMenu : IFlexContextMenu
The context menu for this UIComponent. | UIComponent | ||
focusEnabled : Boolean
Indicates whether the component can receive focus when tabbed to. | UIComponent | ||
focusManager : IFocusManager
Gets the FocusManager that controls focus for this component
and its peers. | UIComponent | ||
focusPane : Sprite
The focus pane associated with this object. | UIComponent | ||
focusRect : Object
Określa, czy z tym obiektem skojarzono ramkę aktywności. | InteractiveObject | ||
graphics : Graphics [tylko do odczytu]
Określa obiekt Graphics skojarzony z ikonką, której mogą dotyczyć polecenia rysowania kształtów wektorowych. | Sprite | ||
hasFocusableChildren : Boolean
A flag that indicates whether child objects can receive focus. | UIComponent | ||
hasLayoutMatrix3D : Boolean [tylko do odczytu]
Contains true if the element has 3D Matrix. | UIComponent | ||
height : Number [przesłanianie]
Number that specifies the height of the component, in pixels,
in the parent's coordinates. | UIComponent | ||
hitArea : Sprite
Określa ikonkę, która ma pełnić funkcję obszaru naciskania innej ikonki. | Sprite | ||
horizontalCenter : Object
For components, this layout constraint property is a
facade on top of the similarly-named style. | UIComponent | ||
id : String
ID of the component. | UIComponent | ||
includeInLayout : Boolean
Specifies whether this component is included in the layout of the
parent container. | UIComponent | ||
inheritingStyles : Object
The beginning of this component's chain of inheriting styles. | UIComponent | ||
initialized : Boolean
A flag that determines if an object has been through all three phases
of layout: commitment, measurement, and layout (provided that any were required). | UIComponent | ||
instanceIndex : int [tylko do odczytu]
The index of a repeated component. | UIComponent | ||
instanceIndices : Array
An Array containing the indices required to reference
this UIComponent object from its parent document. | UIComponent | ||
is3D : Boolean [tylko do odczytu]
Contains true when the element is in 3D. | UIComponent | ||
isDocument : Boolean [tylko do odczytu]
Contains true if this UIComponent instance is a document object. | UIComponent | ||
isPopUp : Boolean
Set to true by the PopUpManager to indicate
that component has been popped up. | UIComponent | ||
layoutMatrix3D : Matrix3D [tylko do zapisu]
The transform matrix that is used to calculate a component's layout
relative to its siblings. | UIComponent | ||
left : Object
For components, this layout constraint property is a
facade on top of the similarly-named style. | UIComponent | ||
loaderInfo : LoaderInfo [tylko do odczytu]
Zwraca obiekt LoaderInfo zawierający informacje o ładowaniu pliku, do którego należy ten obiekt wyświetlany. | DisplayObject | ||
maintainProjectionCenter : Boolean
When true, the component keeps its projection matrix centered on the
middle of its bounding box. | UIComponent | ||
mask : DisplayObject
Wywoływany obiekt wyświetlany jest maskowany przez określony obiekt maski. | DisplayObject | ||
maxChars : int
Wskazuje maksymalną liczbę znaków, które użytkownik może wprowadzać w polu tekstowym. | StyleableStageText | ||
maxHeight : Number
The maximum recommended height of the component to be considered
by the parent during layout. | UIComponent | ||
maxWidth : Number
The maximum recommended width of the component to be considered
by the parent during layout. | UIComponent | ||
measuredHeight : Number
The default height of the component, in pixels. | UIComponent | ||
measuredMinHeight : Number
The default minimum height of the component, in pixels. | UIComponent | ||
measuredMinWidth : Number
The default minimum width of the component, in pixels. | UIComponent | ||
measuredWidth : Number
The default width of the component, in pixels. | UIComponent | ||
metaData : Object
Pobiera obiekt metadanych wystąpienia klasy DisplayObject, jeśli metadane są przechowywane razem z tym wystąpieniem klasy DisplayObject w pliku SWF, korzystając ze znacznika PlaceObject4. | DisplayObject | ||
minHeight : Number
The minimum recommended height of the component to be considered
by the parent during layout. | UIComponent | ||
minWidth : Number
The minimum recommended width of the component to be considered
by the parent during layout. | UIComponent | ||
moduleFactory : IFlexModuleFactory
A module factory is used as context for using embedded fonts and for
finding the style manager that controls the styles for this
component. | UIComponent | ||
mouseChildren : Boolean
Określa, czy elementy potomne obiektu obsługują mysz lub inne urządzenie wejściowe użytkownika. | DisplayObjectContainer | ||
mouseEnabled : Boolean
Określa, czy ten obiekt odbiera komunikaty z myszy lub innego urządzenia wejściowego użytkownika. | InteractiveObject | ||
mouseFocusEnabled : Boolean
Whether you can receive focus when clicked on. | UIComponent | ||
mouseX : Number [tylko do odczytu]
Określa współrzędną x myszy lub urządzenia wejściowego użytkownika w pikselach. | DisplayObject | ||
mouseY : Number [tylko do odczytu]
Określa współrzędną y myszy lub urządzenia wejściowego użytkownika w pikselach. | DisplayObject | ||
multiline : Boolean
Wskazuje, czy w obiekcie StageText można wyświetlać więcej niż jeden wiersz tekstu. | StyleableStageText | ||
name : String
Nazwa instancji obiektu DisplayObject. | DisplayObject | ||
needsSoftKeyboard : Boolean
Określa, czy klawiatura wirtualna (klawiatura programowa wyświetlana na ekranie) powinna być wyświetlana, gdy to wystąpienie klasy InteractiveObject staje się aktywne. | InteractiveObject | ||
nestLevel : int
Depth of this object in the containment hierarchy. | UIComponent | ||
nonInheritingStyles : Object
The beginning of this component's chain of non-inheriting styles. | UIComponent | ||
numAutomationChildren : int [tylko do odczytu]
The number of automation children this container has. | UIComponent | ||
numChildren : int [tylko do odczytu]
Zwraca liczbę elementów potomnych tego obiektu. | DisplayObjectContainer | ||
opaqueBackground : Object
Określa, czy przy konkretnym kolorze tła obiekt wyświetlany jest nieprzejrzysty. | DisplayObject | ||
owner : DisplayObjectContainer
The owner of this IVisualElement object. | UIComponent | ||
parent : DisplayObjectContainer [przesłanianie] [tylko do odczytu]
The parent container or component for this component. | UIComponent | ||
parentApplication : Object [tylko do odczytu]
A reference to the Application object that contains this UIComponent
instance. | UIComponent | ||
parentDocument : Object [tylko do odczytu]
A reference to the parent document object for this UIComponent. | UIComponent | ||
percentHeight : Number
Specifies the height of a component as a percentage
of its parent's size. | UIComponent | ||
percentWidth : Number
Specifies the width of a component as a percentage
of its parent's size. | UIComponent | ||
postLayoutTransformOffsets : mx.geom:TransformOffsets
Defines a set of adjustments that can be applied to the object's
transform in a way that is invisible to its parent's layout. | UIComponent | ||
processedDescriptors : Boolean
Set to true after immediate or deferred child creation,
depending on which one happens. | UIComponent | ||
repeater : IRepeater [tylko do odczytu]
A reference to the Repeater object
in the parent document that produced this UIComponent. | UIComponent | ||
repeaterIndex : int [tylko do odczytu]
The index of the item in the data provider
of the Repeater that produced this UIComponent. | UIComponent | ||
repeaterIndices : Array
An Array containing the indices of the items in the data provider
of the Repeaters in the parent document that produced this UIComponent. | UIComponent | ||
repeaters : Array
An Array containing references to the Repeater objects
in the parent document that produced this UIComponent. | UIComponent | ||
restrict : String
Ogranicza zestaw znaków, które użytkownik może wprowadzać w polu tekstowym. | StyleableStageText | ||
returnKeyLabel : String
Hint indicating what label should be displayed for the return key on
soft keyboards. | StyleableStageText | ||
right : Object
For components, this layout constraint property is a
facade on top of the similarly-named style. | UIComponent | ||
root : DisplayObject [tylko do odczytu]
Dla obiektu wyświetlanego w załadowanym pliku SWF główną właściwość stanowi obiekt wyświetlany na samym szczycie na liście wyświetlania w postaci struktury drzewa, którą reprezentuje plik SWF. | DisplayObject | ||
rotation : Number [przesłanianie]
Określa wielkość obrotu instancji obiektu DisplayObject (w kątach). | UIComponent | ||
rotationX : Number [przesłanianie]
Indicates the x-axis rotation of the DisplayObject instance, in degrees, from its original orientation
relative to the 3D parent container. | UIComponent | ||
rotationY : Number [przesłanianie]
Indicates the y-axis rotation of the DisplayObject instance, in degrees, from its original orientation
relative to the 3D parent container. | UIComponent | ||
rotationZ : Number [przesłanianie]
Indicates the z-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container. | UIComponent | ||
scale9Grid : Rectangle
Aktualnie stosowana siatka skalowania. | DisplayObject | ||
scaleX : Number [przesłanianie]
Number that specifies the horizontal scaling factor. | UIComponent | ||
scaleY : Number [przesłanianie]
Number that specifies the vertical scaling factor. | UIComponent | ||
scaleZ : Number [przesłanianie]
Number that specifies the scaling factor along the z axis. | UIComponent | ||
screen : Rectangle [tylko do odczytu]
Returns an object that contains the size and position of the base
drawing surface for this object. | UIComponent | ||
scrollRect : Rectangle
Granice obszaru przewijania obiektu wyświetlanego. | DisplayObject | ||
selectionActivePosition : int [tylko do odczytu]
The active, or last clicked position, of the selection. | StyleableStageText | ||
selectionAnchorPosition : int [tylko do odczytu]
The anchor, or first clicked position, of the selection. | StyleableStageText | ||
showInAutomationHierarchy : Boolean
A flag that determines if an automation object
shows in the automation hierarchy. | UIComponent | ||
softKeyboard : String
Steruje wyglądem klawiatury programowej. | InteractiveObject | ||
softKeyboardInputAreaOfInterest : Rectangle
Definiuje obszar, który powinien pozostać na ekranie po wyświetleniu klawiatury programowej (niedostępna w systemie iOS). | InteractiveObject | ||
softKeyboardType : String
Hint indicating what kind of soft keyboard should be displayed for this
component. | StyleableStageText | ||
soundTransform : flash.media:SoundTransform
Kontroluje dźwięki skojarzone z tą ikonką. | Sprite | ||
stage : Stage [tylko do odczytu]
Stół montażowy obiektu wyświetlanego. | DisplayObject | ||
states : Array
The view states that are defined for this component. | UIComponent | ||
styleDeclaration : CSSStyleDeclaration
Storage for the inline inheriting styles on this object. | UIComponent | ||
styleManager : IStyleManager2 [tylko do odczytu]
Returns the StyleManager instance used by this component. | UIComponent | ||
styleName : Object
The class style used by this component. | UIComponent | ||
styleParent : IAdvancedStyleClient
A component's parent is used to evaluate descendant selectors. | UIComponent | ||
systemManager : ISystemManager
Returns the SystemManager object used by this component. | UIComponent | ||
tabChildren : Boolean
Określa, czy elementy potomne tego obiektu mają reagować na klawisz Tab. | DisplayObjectContainer | ||
tabEnabled : Boolean
Określa, czy do tego obiektu można przejść za pomocą klawisza Tab. | InteractiveObject | ||
tabFocusEnabled : Boolean
A flag that indicates whether this object can receive focus
via the TAB key
This is similar to the tabEnabled property
used by the Flash Player.
This is usually true for components that
handle keyboard input, but some components in controlbars
have them set to false because they should not steal
focus from another component like an editor. | UIComponent | ||
tabIndex : int
Określa kolejność uaktywniania obiektów (z pliku SWF) za pomocą klawisza Tab. | InteractiveObject | ||
text : String
A string that is the current text in the text field. | StyleableStageText | ||
textSnapshot : flash.text:TextSnapshot [tylko do odczytu]
Zwraca obiekt TextSnapshot dla tego wystąpienia klasy DisplayObjectContainer. | DisplayObjectContainer | ||
toolTip : String
Text to display in the ToolTip. | UIComponent | ||
top : Object
For components, this layout constraint property is a
facade on top of the similarly-named style. | UIComponent | ||
transform : flash.geom:Transform [przesłanianie]
An object with properties pertaining to a display object's matrix, color transform,
and pixel bounds. | UIComponent | ||
transformX : Number
Sets the x coordinate for the transform center of the component. | UIComponent | ||
transformY : Number
Sets the y coordinate for the transform center of the component. | UIComponent | ||
transformZ : Number
Sets the z coordinate for the transform center of the component. | UIComponent | ||
transitions : Array
An Array of Transition objects, where each Transition object defines a
set of effects to play when a view state change occurs. | UIComponent | ||
tweeningProperties : Array
Array of properties that are currently being tweened on this object. | UIComponent | ||
uid : String
A unique identifier for the object. | UIComponent | ||
updateCompletePendingFlag : Boolean
A flag that determines if an object has been through all three phases
of layout validation (provided that any were required). | UIComponent | ||
useHandCursor : Boolean
Wartość typu Boolean wskazuje, czy wskaźnik dłoni pojawia się w momencie, gdy wskaźnik jest przesuwany nad ikonką, której właściwość buttonMode jest ustawiona na wartość true. | Sprite | ||
validationSubField : String
Used by a validator to associate a subfield with this component. | UIComponent | ||
verticalCenter : Object
For components, this layout constraint property is a
facade on top of the similarly-named style. | UIComponent | ||
visible : Boolean [przesłanianie]
Whether or not the display object is visible. | UIComponent | ||
width : Number [przesłanianie]
Number that specifies the width of the component, in pixels,
in the parent's coordinates. | UIComponent | ||
x : Number [przesłanianie]
Number that specifies the component's horizontal position,
in pixels, within its parent container. | UIComponent | ||
y : Number [przesłanianie]
Number that specifies the component's vertical position,
in pixels, within its parent container. | UIComponent | ||
z : Number [przesłanianie]
Indicates the z coordinate position along the z-axis of the DisplayObject
instance relative to the 3D parent container. | UIComponent |
Metoda | Zdefiniowane przez | ||
---|---|---|---|
Constructor. | StyleableStageText | ||
Dodaje potomne wystąpienie klasy DisplayObject do tego wystąpienia klasy DisplayObjectContainer. | DisplayObjectContainer | ||
Dodaje potomne wystąpienie klasy DisplayObject do tego wystąpienia klasy DisplayObjectContainer. | DisplayObjectContainer | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Rejestruje obiekt detektora zdarzeń w obiekcie EventDispatcher, dzięki czemu detektor będzie otrzymywał powiadomienia o zdarzeniu. | EventDispatcher | ||
Adds a non-visual style client to this component instance. | UIComponent | ||
Appends the specified text to the end of the text component,
as if you had clicked at the end and typed. | StyleableStageText | ||
Wskazuje, czy ograniczenia ze względów bezpieczeństwa będą powodowały pomijanie obiektów wyświetlanych na liście uzyskanej poprzez wywołanie metody DisplayObjectContainer.getObjectsUnderPoint() z określonym punktem. | DisplayObjectContainer | ||
Queues a function to be called later. | UIComponent | ||
Deletes a style property from this component instance. | UIComponent | ||
Decyduje o tym, czy określony obiekt ekranowy jest potomkiem instancji obiektu DisplayObjectContainer, czy też sam jest taką instancją. | DisplayObjectContainer | ||
Converts a Point object from content coordinates to global coordinates. | UIComponent | ||
Converts a Point object from content to local coordinates. | UIComponent | ||
Returns a set of properties that identify the child within
this container. | UIComponent | ||
Returns a set of properties that identify the child within
this container. | UIComponent | ||
Creates an id reference to this IUIComponent object
on its parent document object. | UIComponent | ||
Deletes the id reference to this IUIComponent object
on its parent document object. | UIComponent | ||
Returns a UITextFormat object corresponding to the text styles
for this UIComponent. | UIComponent | ||
[przesłanianie]
Dispatches an event into the event flow. | UIComponent | ||
Shows or hides the focus indicator around this component. | UIComponent | ||
drawRoundRect(x:Number, y:Number, w:Number, h:Number, r:Object = null, c:Object = null, alpha:Object = null, rot:Object = null, gradient:String = null, ratios:Array = null, hole:Object = null):void
Programmatically draws a rectangle into this skin's Graphics object. | UIComponent | ||
Called by the effect instance when it stops playing on the component. | UIComponent | ||
Called by the effect instance when it starts playing on the component. | UIComponent | ||
Ends all currently playing effects on the component. | UIComponent | ||
Executes all the bindings for which the UIComponent object is the destination. | UIComponent | ||
Called after printing is complete. | UIComponent | ||
Provides the automation object at the specified index. | UIComponent | ||
Provides the automation object list . | UIComponent | ||
Zwraca prostokąt definiujący obszar obiektu wyświetlanego (w układzie współrzędnych obiektu targetCoordinateSpace). | DisplayObject | ||
Returns the x coordinate of the element's bounds at the specified element size. | UIComponent | ||
Returns the y coordinate of the element's bounds at the specified element size. | UIComponent | ||
Zwraca instancję podrzędnego obiektu wyświetlanego o podanym indeksie. | DisplayObjectContainer | ||
Zwraca instancję podrzędnego obiektu wyświetlanego o podanej nazwie. | DisplayObjectContainer | ||
Zwraca indeks podrzędnej instancji DisplayObject. | DisplayObjectContainer | ||
Finds the type selectors for this UIComponent instance. | UIComponent | ||
Returns a layout constraint value, which is the same as
getting the constraint style for this component. | UIComponent | ||
A convenience method for determining whether to use the
explicit or measured height
| UIComponent | ||
A convenience method for determining whether to use the
explicit or measured width
| UIComponent | ||
Gets the object that currently has focus. | UIComponent | ||
Returns the element's layout height. | UIComponent | ||
Returns the element's layout width. | UIComponent | ||
Returns the x coordinate that the element uses to draw on screen. | UIComponent | ||
Returns the y coordinate that the element uses to draw on screen. | UIComponent | ||
Returns the transform matrix that is used to calculate the component's
layout relative to its siblings. | UIComponent | ||
Returns the layout transform Matrix3D for this element. | UIComponent | ||
Returns the element's maximum height. | UIComponent | ||
Returns the element's maximum width. | UIComponent | ||
Returns the element's minimum height. | UIComponent | ||
Returns the element's minimum width. | UIComponent | ||
Zwraca tablicę obiektów, które leżą poniżej określonego punktu i są obiektami podrzędnymi tej instancji obiektu DisplayObjectContainer. | DisplayObjectContainer | ||
Returns the element's preferred height. | UIComponent | ||
Returns the element's preferred width. | UIComponent | ||
Zwraca prostokąt definiujący granice obiektu wyświetlanego w układzie współrzędnych określonych przez parametr targetCoordinateSpace (z wyłączeniem konturów kształtów). | DisplayObject | ||
Returns the item in the dataProvider that was used
by the specified Repeater to produce this Repeater, or
null if this Repeater isn't repeated. | UIComponent | ||
Gets a style property that has been set anywhere in this
component's style lookup chain. | UIComponent | ||
Converts a Point object from global to content coordinates. | UIComponent | ||
Konwertuje obiekt punktowy ze współrzędnych obiektu Stage (globalne) do współrzędnych obiektu wyświetlanego (lokalne). | DisplayObject | ||
Konwertuje punkt dwuwymiarowy ze współrzędnych stołu wymiarowego (globalnych) na współrzędne trójwymiarowego obiektu wyświetlanego (lokalne). | DisplayObject | ||
Returns true if currentCSSState is not null. | UIComponent | ||
Sprawdza, czy obiekt EventDispatcher zawiera jakiekolwiek detektory zarejestrowane dla konkretnego typu zdarzeń. | EventDispatcher | ||
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość. | Object | ||
Determines whether the specified state has been defined on this
UIComponent. | UIComponent | ||
Wyznacza prostokąt ograniczający obiekt wyświetlany w celu sprawdzenia, czy zachodzi on lub przecina się z prostokątem ograniczającym obiektu wyświetlanego obj. | DisplayObject | ||
Analizuje obiekt wyświetlany w celu ustalenia czy nakłada się on lub przecina punkt określony przez parametry x i y. | DisplayObject | ||
Returns a box Matrix which can be passed to the
drawRoundRect() method
as the rot parameter when drawing a horizontal gradient. | UIComponent | ||
Initializes the internal structure of this component. | UIComponent | ||
Initializes various properties which keep track of repeated instances
of this component. | UIComponent | ||
Inserts the specified text into the text component
as if you had typed it. | StyleableStageText | ||
Marks a component so that its updateDisplayList()
method gets called during a later screen update. | UIComponent | ||
Called by a component's items to indicate that their depth
property has changed. | UIComponent | ||
An element must call this method when its layoutDirection changes or
when its parent's layoutDirection changes. | UIComponent | ||
Marks a component so that its commitProperties()
method gets called during a later screen update. | UIComponent | ||
Marks a component so that its measure()
method gets called during a later screen update. | UIComponent | ||
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr. | Object | ||
Konwertuje punkt trójwymiarowy trójwymiarowego obiektu wyświetlanego (lokalnego) na punkt dwuwymiarowy we współrzędnych stołu montażowego (globalnych). | DisplayObject | ||
Converts a Point object from local to content coordinates. | UIComponent | ||
Konwertuje obiekt punktowy ze współrzędnych obiektu wyświetlanego (lokalne) do współrzędnych obiektu Stage (globalne). | DisplayObject | ||
Returns true if cssState matches currentCSSState. | UIComponent | ||
Determines whether this instance is the same as, or is a subclass of,
the given type. | UIComponent | ||
Measures the specified HTML text, which can contain HTML tags such
as <font> and <b>,
assuming that it is displayed
in a single-line UITextField using a UITextFormat
determined by the styles of this UIComponent. | UIComponent | ||
Measures the specified text, assuming that it is displayed
in a single-line UITextField (or UIFTETextField) using a UITextFormat
determined by the styles of this UIComponent. | UIComponent | ||
Moves the component to a specified position within its parent. | UIComponent | ||
Propagates style changes to the children. | UIComponent | ||
Returns true if the chain of owner properties
points from child to this UIComponent. | UIComponent | ||
Called by Flex when a UIComponent object is added to or removed from a parent. | UIComponent | ||
Prepares an IFlexDisplayObject for printing. | UIComponent | ||
Wskazuje, czy określona właściwość istnieje i jest przeliczalna. | Object | ||
Builds or rebuilds the CSS style cache for this component
and, if the recursive parameter is true,
for all descendants of this component as well. | UIComponent | ||
For each effect event, registers the EffectManager
as one of the event listeners. | UIComponent | ||
Usuwa określoną instancję obiektu podrzędnego DisplayObject z listy obiektów podrzędnych instancji DisplayObjectContainer. | DisplayObjectContainer | ||
Usuwa obiekt potomny DisplayObject o podanym indeksie z listy elementów potomnych obiektu DisplayObjectContainer. | DisplayObjectContainer | ||
Powoduje usunięcie wszystkich wystąpień potomnych klasy DisplayObject z listy obiektów potomnych wystąpień klasy DisplayObjectContainer. | DisplayObjectContainer | ||
Usuwa detektor z obiektu EventDispatcher. | EventDispatcher | ||
Removes a non-visual style client from this component instance. | UIComponent | ||
Replays the specified event. | UIComponent | ||
Powoduje uniesienie klawiatury wirtualnej. | InteractiveObject | ||
Resolves a child by using the id provided. | UIComponent | ||
[statyczny]
Resumes the background processing of methods
queued by callLater(), after a call to
suspendBackgroundProcessing(). | UIComponent | ||
Selects all of the text. | StyleableStageText | ||
Selects a specified range of characters. | StyleableStageText | ||
Sizes the object. | UIComponent | ||
Zmienia położenie istniejącego elementu potomnego w kontenerze obiektów ekranowych. | DisplayObjectContainer | ||
Sets a layout constraint value, which is the same as
setting the constraint style for this component. | UIComponent | ||
Set the current state. | UIComponent | ||
Sets the focus to this component. | UIComponent | ||
Sets the coordinates that the element uses to draw on screen. | UIComponent | ||
Sets the layout size of the element. | UIComponent | ||
Sets the transform Matrix that is used to calculate the component's layout
size and position relative to its siblings. | UIComponent | ||
Sets the transform Matrix3D that is used to calculate the component's layout
size and position relative to its siblings. | UIComponent | ||
Ustawia dostępność właściwości dynamicznej używanej w pętlach. | Object | ||
Sets a style property on this component instance. | UIComponent | ||
Called when the visible property changes. | UIComponent | ||
Pozwala użytkownikowi przeciągnąć określoną ikonkę. | Sprite | ||
Umożliwia użytkownikowi przeciąganie określonej ikonki na urządzeniu z ekranem dotykowym. | Sprite | ||
Rekurencyjnie zatrzymuje wykonywanie osi czasu wszystkich obiektów MovieClip, dla których ten obiekt jest obiektem głównym. | DisplayObjectContainer | ||
Kończy metodę startDrag(). | Sprite | ||
Kończy działanie metody startTouchDrag(); używana z urządzeniami wyposażonymi w ekran dotykowy. | Sprite | ||
Detects changes to style properties. | UIComponent | ||
Flex calls the stylesInitialized() method when
the styles for a component are first initialized. | UIComponent | ||
[statyczny]
Blocks the background processing of methods
queued by callLater(),
until resumeBackgroundProcessing() is called. | UIComponent | ||
Zamienia kolejność dwóch określonych obiektów podrzędnych. | DisplayObjectContainer | ||
Zamienia miejscami na liście dwa różne obiekty potomne o podanych indeksach. | DisplayObjectContainer | ||
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych. | Object | ||
[przesłanianie]
Returns a string indicating the location of this object
within the hierarchy of DisplayObjects in the Application. | FlexSprite | ||
transformAround(transformCenter:Vector3D, scale:Vector3D = null, rotation:Vector3D = null, translation:Vector3D = null, postLayoutScale:Vector3D = null, postLayoutRotation:Vector3D = null, postLayoutTranslation:Vector3D = null, invalidateLayout:Boolean = true):void
A utility method to update the rotation, scale, and translation of the
transform while keeping a particular point, specified in the component's
own coordinate space, fixed in the parent's coordinate space. | UIComponent | ||
A utility method to transform a point specified in the local
coordinates of this object to its location in the object's parent's
coordinates. | UIComponent | ||
Validates the position and size of children and draws other
visuals. | UIComponent | ||
Validate and update the properties and layout of this object
and redraw it, if necessary. | UIComponent | ||
Used by layout logic to validate the properties of a component
by calling the commitProperties() method. | UIComponent | ||
Validates the measured size of the component
If the LayoutManager.invalidateSize() method is called with
this ILayoutManagerClient, then the validateSize() method
is called when it's time to do measurements. | UIComponent | ||
Handles both the valid and invalid events from a
validator assigned to this component. | UIComponent | ||
Zwraca pierwotną wartość dla określonego obiektu. | Object | ||
Returns a box Matrix which can be passed to drawRoundRect()
as the rot parameter when drawing a vertical gradient. | UIComponent | ||
Sprawdza, czy detektor zdarzeń określonego typu jest zarejestrowany w tym obiekcie EventDispatcher lub jego elementach macierzystych. | EventDispatcher |
Zdarzenie | Podsumowanie | Zdefiniowane przez | ||
---|---|---|---|---|
[zdarzenie broadcast] Wywoływane, gdy program Flash Player lub aplikacja środowiska wykonawczego AIR uzyskuje fokus w systemie operacyjnym i przechodzi w stan aktywny. | EventDispatcher | |||
Dispatched when the component is added to a container as a content child by using the addChild(), addChildAt(), addElement(), or addElementAt() method. | UIComponent | |||
Wywoływane, gdy obiekt wyświetlany jest dodawany do listy wyświetlania. | DisplayObject | |||
Wywoływane, gdy obiekt wyświetlany jest dodawany do listy wyświetlania na scenie — albo bezpośrednio, albo wskutek dodania poddrzewa zawierającego obiekt wyświetlany. | DisplayObject | |||
Dispatched after a user editing operation is complete. | StyleableStageText | |||
Wywoływane, gdy użytkownik wybierz opcje „Wyczyść” (lub „Usuń”) z menu kontekstowego dla tekstu. | InteractiveObject | |||
Wywoływane w momencie naciśnięcia i zwolnienia głównego przycisku urządzenia wskazującego przez użytkownika na tej samej instancji InteractiveObject. | InteractiveObject | |||
Wywoływane, gdy w wyniku gestu użytkownika zostanie uaktywnione menu kontekstowe skojarzone z tym obiektem interaktywnym w aplikacji AIR. | InteractiveObject | |||
Wywoływane, gdy użytkownik uaktywnia specyficzną dla platformy kombinację klawiszy wywołującą operację kopiowania lub wybiera polecenie Kopiuj z menu kontekstowego dla tekstu. | InteractiveObject | |||
Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing. | UIComponent | |||
Dispatched after the view state has changed. | UIComponent | |||
Dispatched after the currentState property changes, but before the view state changes. | UIComponent | |||
Wywoływane, gdy użytkownik uaktywnia specyficzną dla platformy kombinację klawiszy wywołującą operację wycięcia lub wybiera polecenie Wytnij z menu kontekstowego dla tekstu. | InteractiveObject | |||
[zdarzenie broadcast] Wywoływane, gdy program Flash Player lub aplikacja AIR traci fokus w systemie operacyjnym i przechodzi w stan nieaktywny. | EventDispatcher | |||
Wywoływane w momencie, gdy użytkownik naciska i zwalnia główny przycisk urządzenia wskazującego dwukrotnie w krótkim odstępie czasu nad tym samym obiektem InteractiveObject, podczas gdy flaga doubleClickEnabled obiektu jest ustawiona na wartość true. | InteractiveObject | |||
Dispatched by the drag initiator (the component that is the source of the data being dragged) when the drag operation completes, either when you drop the dragged data onto a drop target or when you end the drag-and-drop operation without performing a drop. | UIComponent | |||
Dispatched by the drop target when the user releases the mouse over it. | UIComponent | |||
Dispatched by a component when the user moves the mouse over the component during a drag operation. | UIComponent | |||
Dispatched by the component when the user drags outside the component, but does not drop the data onto the target. | UIComponent | |||
Dispatched by a component when the user moves the mouse while over the component during a drag operation. | UIComponent | |||
Dispatched by the drag initiator when starting a drag operation. | UIComponent | |||
Dispatched after an effect ends. | UIComponent | |||
Dispatched just before an effect starts. | UIComponent | |||
Dispatched after an effect is stopped, which happens only by a call to stop() on the effect. | UIComponent | |||
Dispatched if the StageText is not multiline and the user presses the enter key. | StyleableStageText | |||
[zdarzenie broadcast] Wywoływane, gdy głowica odtwarzania przechodzi do nowej klatki. | DisplayObject | |||
Dispatched after the component has entered a view state. | UIComponent | |||
[zdarzenie broadcast] Wywoływane, gdy głowica odtwarzania kończy odtwarzanie bieżącej klatki. | DisplayObject | |||
Dispatched just before the component exits a view state. | UIComponent | |||
Dispatched after the native text control gains focus. | StyleableStageText | |||
Dispatched after the native text control loses focus. | StyleableStageText | |||
[zdarzenie broadcast] Wywoływane po zadziałaniu konstruktorów obiektów wyświetlanych klatek, ale przed działaniem skryptów klatek. | DisplayObject | |||
Zostaje rozesłane, gdy użytkownik utworzy punkt styku wzdłuż krawędzi powierzchni dotykowej z instancją obiektu InteractiveObject (np. dotknięcie wzdłuż krawędzi powierzchni dotykowej pilota Siri Remote do telewizora firmy Apple). Niektóre urządzenia mogą również interpretować taki styk, jako kombinację różnych zdarzeń dotykowych. | InteractiveObject | |||
Wywoływane, gdy użytkownik naciśnie na dwa punkty kontaktu nad tą samą instancją klasy InteractiveObject na urządzeniu dotykowym (np. naciśnie dwoma palcami i zwolni obiekt wyświetlany na ekranie dotykowym telefonu komórkowego lub tabletu). | InteractiveObject | |||
Wywoływane, gdy użytkownik przesuwa punkt kontaktu nad wystąpieniem klasy InteractiveObject na urządzeniu dotykowym (na przykład przez przesuwanie palców z lewej strony na prawą nad obiektem ekranowym na telefonie komórkowym lub tablecie z ekranem dotykowym). | InteractiveObject | |||
Wywoływane, gdy użytkownik wykona gest obrotu w punkcie kontaktu z instancją klasy InteractiveObject (np. dotknie obiektu wyświetlanego dwoma palcami i obróci palce na ekranie dotykowym telefonu komórkowego lub tabletu). | InteractiveObject | |||
Wywoływane, gdy użytkownik wykona gest machnięcia w punkcie kontaktu na instancji obiektu InteractiveObject (np. dotknięcie trzema złączonymi palcami ekranu, a następnie szybkie przesunięcie ich nad obiektem wyświetlanym na ekranie dotykowym telefonu komórkowego lub tabletu). | InteractiveObject | |||
Wywoływane, gdy użytkownik utworzy punkt kontaktu z instancją obiektu InteractiveObject, a następnie stuknie w urządzenie dotykowe (np. przyłoży kilka palców do obiektu wyświetlanego w celu otwarcia menu, a następnie stuknie jednym palcem, aby wybrać element menu na ekranie dotykowym telefonu komórkowego lub tabletu). | InteractiveObject | |||
Wywoływane, gdy użytkownik wykona gest powiększenia w punkcie kontaktu na instancji obiektu InteractiveObject (np. dotknięcie dwoma palcami ekranu, a następnie szybkie rozsunięcie palców nad obiektem wyświetlanym na ekranie dotykowym telefonu komórkowego lub tabletu). | InteractiveObject | |||
Dispatched when an object's state changes from visible to invisible. | UIComponent | |||
To zdarzenie jest wywoływane w każdej aplikacji klienckiej, która obsługuje lokalne wprowadzanie znaków za pomocą edytora IME. | InteractiveObject | |||
Dispatched when the component has finished its construction and has all initialization properties set. | UIComponent | |||
Dispatched when a component is monitored by a Validator and the validation failed. | UIComponent | |||
Wywoływane, gdy użytkownik naciśnie klawisz. | InteractiveObject | |||
Dysponowana, gdy użytkownik próbuje uaktywnić inny element za pomocą klawiatury. | InteractiveObject | |||
Wywoływane, gdy użytkownik zwolni klawisz. | InteractiveObject | |||
Wywoływane, gdy użytkownik naciśnie i zwolni środkowy przycisk urządzenia wskazującego nad tą samą instancją klasy InteractiveObject. | InteractiveObject | |||
Wywoływane, gdy użytkownik naciśnie środkowy przycisk urządzenia wskazującego nad wystąpieniem klasy InteractiveObject. | InteractiveObject | |||
Wywoływane, gdy użytkownik zwolni przycisk urządzenia wskazującego nad wystąpieniem klasy InteractiveObject. | InteractiveObject | |||
Wywoływane, gdy użytkownik naciśnie przycisk urządzenia wskazującego nad instancją klasy InteractiveObject. | InteractiveObject | |||
Dispatched from a component opened using the PopUpManager when the user clicks outside it. | UIComponent | |||
Wywoływane, gdy użytkownik próbuje uaktywnić inny element za pomocą urządzenia wskazującego. | InteractiveObject | |||
Dysponowana, gdy użytkownik ustawi kursor nad instancją obiektu InteractiveObject i poruszy urządzenie wskazujące. | InteractiveObject | |||
Wywoływane, gdy użytkownik przesunie kursor poza instancję obiektu InteractiveObject (za pomocą urządzenia wskazującego). | InteractiveObject | |||
Dysponowana, gdy użytkownik przesunie kursor nad instancję obiektu InteractiveObject (za pomocą urządzenia wskazującego). | InteractiveObject | |||
Wywoływane, gdy użytkownik zwolni przycisk urządzenia wskazującego nad wystąpieniem klasy InteractiveObject. | InteractiveObject | |||
Wywoływane, gdy kółko myszy zostanie obrócone nad instancją klasy InteractiveObject. | InteractiveObject | |||
Dispatched from a component opened using the PopUpManager when the user scrolls the mouse wheel outside it. | UIComponent | |||
Dispatched when the object has moved. | UIComponent | |||
Wywoływane przez obiekt InteractiveObject inicjujący przeciąganie, gdy użytkownik zwolni przycisk podczas przeciągania. | InteractiveObject | |||
Wywoływane przez docelowy obiekt InteractiveObject, gdy przeciągany obiekt zostanie na niego upuszczony i upuszczenie zostanie zaakceptowane wywołaniem DragManager.acceptDragDrop(). | InteractiveObject | |||
Wywoływane przez obiekt InteractiveObject, gdy podczas gestu przeciągania wskaźnik wchodzi w granice tego obiektu. | InteractiveObject | |||
Wywoływane przez obiekt InteractiveObject, gdy podczas gestu przeciągania wskaźnik opuści granice tego obiektu. | InteractiveObject | |||
Regularnie wywoływane przez obiekt InteractiveObject, gdy wskaźnik podczas przeciągania pozostaje w granicach tego obiektu. | InteractiveObject | |||
Wywoływane na początku operacji przeciągania przez obiekt InteractiveObject określony jako inicjator przeciągania w wywołaniu DragManager.doDrag(). | InteractiveObject | |||
Wywoływane podczas operacji przeciągania przez obiekt InteractiveObject określony jako inicjator przeciągania w wywołaniu DragManager.doDrag(). | InteractiveObject | |||
Wywoływane, gdy użytkownik uaktywnia specyficzną dla platformy kombinację klawiszy wywołującą operację wklejenia lub wybiera polecenie Wklej z menu kontekstowego dla tekstu. | InteractiveObject | |||
Dispatched at the beginning of the component initialization sequence. | UIComponent | |||
Wywoływane, gdy użytkownik opuści aktywny pisak na odległość mniejszą niż graniczna odległość wykrywania dla ekranu. | InteractiveObject | |||
Wywoływane, gdy użytkownik uniesie aktywny pisak na odległość większą niż graniczna odległość wykrywania dla ekranu. | InteractiveObject | |||
Wywoływane, gdy użytkownik przesuwa aktywny pisak nad ekranem, przy czym pisak nie zostaje uniesiony na odległość większą niż graniczna odległość wykrywania dla ekranu. | InteractiveObject | |||
Wywoływane, gdy użytkownik przesuwa aktywny pisak poza dany obiekt InteractiveObject, przy czym pisak nie zostaje uniesiony na odległość większą niż graniczna odległość wykrywania dla ekranu. | InteractiveObject | |||
Wywoływane, gdy użytkownik przesuwa aktywny pisak bezpośrednio nad danym obiektem InteractiveObject, przy czym pisak nie zostaje uniesiony na odległość większą niż graniczna odległość wykrywania dla ekranu. | InteractiveObject | |||
Wywoływane, gdy użytkownik przesuwa aktywny pisak poza obiekt InteractiveObject i jego obiekty potomne, przy czym pisak nie zostaje uniesiony na odległość większą niż graniczna odległość wykrywania dla ekranu. | InteractiveObject | |||
Wywoływane, gdy użytkownik przesuwa aktywny pisak z obszaru poza drzewem obiektów potomnych danego obiektu InteractiveObject na liście wyświetlania nad ten obiekt (przy czym pisak nie zostaje uniesiony na odległość większą niż graniczna wartość wykrywania dla ekranu). | InteractiveObject | |||
Wywoływane, gdy użytkownik zwalnia przycisk urządzenia wskazującego, jeśli wcześniej nacisnął ten przycisk na wystąpieniu klasy InteractiveObject i przesunął wskaźnik urządzenia poza to wystąpienie klasy InteractiveObject. | InteractiveObject | |||
Dispatched when the component is removed from a container as a content child by using the removeChild(), removeChildAt(), removeElement(), or removeElementAt() method. | UIComponent | |||
Dysponowana, gdy obiekt ekranowy ma być usunięty z listy wyświetlania. | DisplayObject | |||
Dysponowana, gdy obiekt ekranowy ma być usunięty z listy wyświetlania na scenie — albo bezpośrednio, albo wskutek usunięcia poddrzewa zawierającego obiekt ekranowy. | DisplayObject | |||
[zdarzenie broadcast] Wywoływane, gdy lista wyświetlania ma być aktualizowana lub renderowana. | DisplayObject | |||
Dispatched when the component is resized. | UIComponent | |||
Wywoływane, gdy użytkownik naciśnie i zwolni prawy przycisk urządzenia wskazującego nad tą samą instancją klasy InteractiveObject. | InteractiveObject | |||
Wywoływane, gdy użytkownik naciśnie przycisk urządzenia wskazującego nad wystąpieniem klasy InteractiveObject. | InteractiveObject | |||
Wywoływane, gdy użytkownik zwolni przycisk urządzenia wskazującego nad instancją klasy InteractiveObject. | InteractiveObject | |||
Wywoływane, gdy użytkownik przesunie kursor poza wystąpienie klasy InteractiveObject (za pomocą urządzenia wskazującego). | InteractiveObject | |||
Wywoływane, gdy użytkownik przesunie kursor nad wystąpienie klasy InteractiveObject (za pomocą urządzenia wskazującego). | InteractiveObject | |||
Wywoływane, gdy użytkownik uaktywnia specyficzną dla platformy kombinację klawiszy wywołującą operację zaznaczenia wszystkiego lub wybiera polecenie „Zaznacz wszystko” z menu kontekstowego dla tekstu. | InteractiveObject | |||
Dispatched when an object's state changes from invisible to visible. | UIComponent | |||
Dispatched when a soft keyboard is displayed. | StyleableStageText | |||
Dispatched immediately before a soft keyboard is displayed. | StyleableStageText | |||
Dispatched when a soft keyboard is lowered or hidden. | StyleableStageText | |||
Dispatched after the component has entered a new state and any state transition animation to that state has finished playing. | UIComponent | |||
Dispatched when a component interrupts a transition to its current state in order to switch to a new state. | UIComponent | |||
Wywoływane, gdy zmienia się wartość flagi tabChildren obiektu. | InteractiveObject | |||
Wywoływane, gdy zmienia się flaga tabEnabled obiektu. | InteractiveObject | |||
Wywoływane, gdy zmienia się wartość właściwości tabIndex obiektu. | InteractiveObject | |||
Wywoływane, gdy użytkownik wprowadzi jeden lub większą liczbę znaków tekstu. | InteractiveObject | |||
Dispatched by the component when it is time to create a ToolTip. | UIComponent | |||
Dispatched by the component when its ToolTip has been hidden and is to be discarded soon. | UIComponent | |||
Dispatched by the component when its ToolTip is about to be hidden. | UIComponent | |||
Dispatched by the component when its ToolTip is about to be shown. | UIComponent | |||
Dispatched by the component when its ToolTip has been shown. | UIComponent | |||
Dispatched by a component whose toolTip property is set, as soon as the user moves the mouse over it. | UIComponent | |||
Wywoływane, gdy użytkownik zainicjuje kontakt z urządzeniem dotykowym (np. dotknie palcem ekranu dotykowego telefonu komórkowego lub tabletu). | InteractiveObject | |||
Wywoływane, gdy użytkownik przerwie kontakt z urządzeniem dotykowym (np. uniesie palec z ekranu dotykowego telefonu komórkowego lub tabletu). | InteractiveObject | |||
A non-cancellable event, dispatched by a component when it is done responding to a touch interaction user gesture. | UIComponent | |||
A non-cancellable event, dispatched by a component when it starts responding to a touch interaction user gesture. | UIComponent | |||
A cancellable event, dispatched by a component in an attempt to respond to a touch interaction user gesture. | UIComponent | |||
Wywoływane, gdy użytkownik dotyka urządzenia. Wywołanie jest powtarzane w sposób ciągły do momentu usunięcia punktu kontaktu. | InteractiveObject | |||
Wywoływane, gdy użytkownik przemieści punkt kontaktu od instancji klasy InteractiveObject na urządzeniu dotykowym (np. przeciągnie palcem z jednego obiektu wyświetlanego do punktu na drugim obiekcie wyświetlanym na ekranie dotykowym telefonu komórkowego lub tabletu). | InteractiveObject | |||
Wywoływane, gdy użytkownik przemieści punkt kontaktu nad instancję klasy InteractiveObject na urządzeniu dotykowym (np. przeciągnie palcem z punktu poza obiektem wyświetlanym do punktu na obiekcie wyświetlanym na ekranie dotykowym telefonu komórkowego lub tabletu). | InteractiveObject | |||
Wywoływane, gdy użytkownik przesuwa punkt kontaktu poza wystąpienie klasy InteractiveObject na urządzeniu dotykowym (na przykład przez przeciągnięcie palcem znad obiektu ekranowego do punktu poza obiektem ekranowym na telefonie komórkowym lub tablecie z ekranem dotykowym). | InteractiveObject | |||
Wywoływane, gdy użytkownik przemieści punkt kontaktu nad instancję klasy InteractiveObject na urządzeniu dotykowym (np. przeciągnie palcem z punktu poza obiektem wyświetlanym do punktu na obiekcie wyświetlanym na ekranie dotykowym telefonu komórkowego lub tabletu). | InteractiveObject | |||
Wywoływane, gdy użytkownik zwolni nacisk na ekran dotykowy w punkcie kontaktu na tej samej instancji klasy InteractiveObject, na której kontakt został zainicjowany (na przykład naciśnie palcem i zwolni pojedynczy punkt na obiekcie wyświetlanym na ekranie dotykowym telefonu komórkowego lub tabletu). | InteractiveObject | |||
Dispatched when an object has had its commitProperties(), measure(), and updateDisplayList() methods called (if needed). | UIComponent | |||
Dispatched when a component is monitored by a Validator and the validation succeeded. | UIComponent | |||
Dispatched when values are changed programmatically or by user interaction. | UIComponent |
Wyróżnia się style wspólne i powiązane z konkretnymi motywami. Styl wspólny może być używany z dowolnym motywem. Styl powiązany z konkretnym motywem może być używany pod warunkiem, że w aplikacji jest używany właśnie ten motyw.
Styl | Opis | Zdefiniowane przez | ||
---|---|---|---|---|
Typ: String Dziedziczenie CSS: Nie Wersja języka: ActionScript 3.0 Wersja produktu: Flex 3 Wersje środowiska wykonawczego: Flash9, AIR 1.1 The vertical distance in pixels from the top edge of the content area to the control's baseline position. | UIComponent | |||
Typ: String Dziedziczenie CSS: Nie Wersja języka: ActionScript 3.0 Wersja produktu: Flex 3 Wersje środowiska wykonawczego: Flash9, AIR 1.1 The vertical distance, in pixels, from the bottom edge of the component to the bottom edge of its parent container's content area. | UIComponent | |||
color | Typ: uint Format: Color Dziedziczenie CSS: Tak Wersja języka: ActionScript 3.0 Wersja produktu: Flex 4.6 Wersje środowiska wykonawczego: AIR3.0, Color of text in the component, including the component label. Wartością domyślną jest 0x000000 . | StyleableStageText | ||
Typ: uint Format: Color Dziedziczenie CSS: Tak Wersja języka: ActionScript 3.0 Wersja produktu: Flex 3 Wersje środowiska wykonawczego: Flash9, AIR 1.1 Color of the component highlight when validation fails. | UIComponent | |||
Typ: String Dziedziczenie CSS: Nie Wersja języka: ActionScript 3.0 Wersja produktu: Flex 3 Wersje środowiska wykonawczego: Flash9, AIR 1.1 Blend mode used by the focus rectangle. | UIComponent | |||
Typ: Class Dziedziczenie CSS: Nie Wersja języka: ActionScript 3.0 Wersja produktu: Flex 3 Wersje środowiska wykonawczego: Flash9, AIR 1.1 Skin used to draw the focus rectangle. | UIComponent | |||
Typ: Number Format: Length Dziedziczenie CSS: Nie Wersja języka: ActionScript 3.0 Wersja produktu: Flex 3 Wersje środowiska wykonawczego: Flash9, AIR 1.1 Thickness, in pixels, of the focus rectangle outline. | UIComponent | |||
fontFamily | Typ: String Dziedziczenie CSS: Tak Wersja języka: ActionScript 3.0 Wersja produktu: Flex 4.6 Wersje środowiska wykonawczego: AIR3.0, Name of the font to use. Unlike in a full CSS implementation, comma-separated lists are not supported. You can use any font family name. If you specify a generic font name, it is converted to an appropriate device font. Wartością domyślną jest "_sans" . | StyleableStageText | ||
fontSize | Typ: Number Format: Length Dziedziczenie CSS: Tak Wersja języka: ActionScript 3.0 Wersja produktu: Flex 4.6 Wersje środowiska wykonawczego: AIR3.0, Height of the text, in pixels. Wartością domyślną jest 24 . | StyleableStageText | ||
fontStyle | Typ: String Dziedziczenie CSS: Tak Wersja języka: ActionScript 3.0 Wersja produktu: Flex 4.6 Wersje środowiska wykonawczego: AIR3.0, Determines whether the text is italic font. Recognized values are "normal" and "italic" .
Wartością domyślną jest "normal" . | StyleableStageText | ||
fontWeight | Typ: String Dziedziczenie CSS: Tak Wersja języka: ActionScript 3.0 Wersja produktu: Flex 4.6 Wersje środowiska wykonawczego: AIR3.0, Determines whether the text is boldface. Recognized values are "normal" and "bold" .
Wartością domyślną jest "normal" . | StyleableStageText | ||
Typ: String Dziedziczenie CSS: Nie Wersja języka: ActionScript 3.0 Wersja produktu: Flex 3 Wersje środowiska wykonawczego: Flash9, AIR 1.1 The horizontal distance in pixels from the center of the component's content area to the center of the component. | UIComponent | |||
Typ: String Dziedziczenie CSS: Tak Wersja języka: ActionScript 3.0 Wersja produktu: Flex 4.5 Wersje środowiska wykonawczego: Flash10, AIR 2.5 The primary interaction mode for this component. | UIComponent | |||
Typ: String Dziedziczenie CSS: Tak Wersja języka: ActionScript 3.0 Wersja produktu: Flex 4.1 Wersje środowiska wykonawczego: Flash10, AIR 1.5 Specifies the desired layout direction of a component. | UIComponent | |||
Typ: String Dziedziczenie CSS: Nie Wersja języka: ActionScript 3.0 Wersja produktu: Flex 3 Wersje środowiska wykonawczego: Flash9, AIR 1.1 The horizontal distance, in pixels, from the left edge of the component to the left edge of its parent container's content area. | UIComponent | |||
locale | Typ: String Dziedziczenie CSS: Tak Wersja języka: ActionScript 3.0 Wersja produktu: Flex 4.6 Wersje środowiska wykonawczego: AIR3.0, The locale of the text. Controls case transformations and shaping. Uses standard locale identifiers as described in Unicode Technical Standard #35. For example "en", "en_US" and "en-US" are all English, "ja" is Japanese. The default value is undefined. This property inherits its value from an ancestor; if
still undefined, it inherits from the global When using the Spark formatters and globalization classes, you can set this style on the
root application to the value of the | StyleableStageText | ||
Typ: String Dziedziczenie CSS: Nie Wersja języka: ActionScript 3.0 Wersja produktu: Flex 3 Wersje środowiska wykonawczego: Flash9, AIR 1.1 The horizontal distance, in pixels, from the right edge of the component to the right edge of its parent container's content area. | UIComponent | |||
Typ: Boolean Dziedziczenie CSS: Tak Wersja języka: ActionScript 3.0 Wersja produktu: Flex 4.5 Wersje środowiska wykonawczego: Flash10, AIR 1.5 Show the error border or skin when this component is invalid | UIComponent | |||
Typ: Boolean Dziedziczenie CSS: Tak Wersja języka: ActionScript 3.0 Wersja produktu: Flex 4.5 Wersje środowiska wykonawczego: Flash10, AIR 1.5 Show the error tip when this component is invalid and the user rolls over it | UIComponent | |||
textAlign | Typ: String Dziedziczenie CSS: Tak Wersja języka: ActionScript 3.0 Wersja produktu: Flex 4.6 Wersje środowiska wykonawczego: AIR3.0, Alignment of text within a container. Possible values are "start" , "end" , "left" ,
"right" , or "center" .
Wartością domyślną jest "start" . | StyleableStageText | ||
Typ: String Dziedziczenie CSS: Nie Wersja języka: ActionScript 3.0 Wersja produktu: Flex 3 Wersje środowiska wykonawczego: Flash9, AIR 1.1 The vertical distance, in pixels, from the top edge of the component to the top edge of its parent container's content area. | UIComponent | |||
Typ: String Dziedziczenie CSS: Nie Wersja języka: ActionScript 3.0 Wersja produktu: Flex 3 Wersje środowiska wykonawczego: Flash9, AIR 1.1 The vertical distance in pixels from the center of the component's content area to the center of the component. | UIComponent |
autoCapitalize | właściwość |
autoCapitalize:String
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Hint indicating what captialization behavior soft keyboards should use.
Supported values are defined in flash.text.AutoCapitalize:
"none"
- no automatic capitalization"word"
- capitalize the first letter following any space or punctuation"sentence"
- captitalize the first letter following any period"all"
- capitalize every letter
Wartością domyślną jest "none".
Implementacja
public function get autoCapitalize():String
public function set autoCapitalize(value:String):void
Powiązane elementy interfejsu API
autoCorrect | właściwość |
autoCorrect:Boolean
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Hint indicating whether a soft keyboard should use its auto-correct behavior, if supported.
Wartością domyślną jest true.
Implementacja
public function get autoCorrect():Boolean
public function set autoCorrect(value:Boolean):void
displayAsPassword | właściwość |
displayAsPassword:Boolean
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Specifies whether the text field is a password text field.
Wartością domyślną jest false.
Implementacja
public function get displayAsPassword():Boolean
public function set displayAsPassword(value:Boolean):void
editable | właściwość |
editable:Boolean
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Flag that indicates whether the text in the field is editable.
Wartością domyślną jest true.
Implementacja
public function get editable():Boolean
public function set editable(value:Boolean):void
maxChars | właściwość |
maxChars:int
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Wskazuje maksymalną liczbę znaków, które użytkownik może wprowadzać w polu tekstowym. Skrypt może wstawić tekst o długości większej niż dozwolona wartość określona we właściwości maxChars
. Jeśli właściwość maxChars
ma wartość zero, użytkownik może wprowadzić nieograniczoną ilość tekstu w polu tekstowym.
Wartością domyślną jest 0.
Implementacja
public function get maxChars():int
public function set maxChars(value:int):void
multiline | właściwość |
multiline:Boolean
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Wskazuje, czy w obiekcie StageText można wyświetlać więcej niż jeden wiersz tekstu. Tylko do odczytu. Ta wartość odpowiada właściwości multiline
w obiekcie StageTextInitOptions, która jest używana podczas konstruowania.
Implementacja
public function get multiline():Boolean
public function set multiline(value:Boolean):void
restrict | właściwość |
restrict:String
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Ogranicza zestaw znaków, które użytkownik może wprowadzać w polu tekstowym. System skanuje ciąg znaków restrict
od lewej do prawej.
Wartość właściwości restrict
określa następujące reguły ograniczeń wprowadzania tekstu:
- Jeśli wartość jest równa
null
, użytkownik może wprowadzić dowolny znak. - Jeśli wartość jest pustym ciągiem znaków, użytkownik nie może wprowadzać żadnych znaków.
- Jeśli wartość jest ciągiem znaków, użytkownik może wprowadzać tylko znaki z tego ciągu znaków.
- Jeśli wartość zawiera znak karetki (^), użytkownik nie może wprowadzać żadnych znaków występujących za tym znakiem.
- W wartości można określić dozwolony zakres wprowadzanych znaków, używając znaku myślnika (-).
- Do skonstruowania ciągu znaków
restrict
można użyć sekwencji zmiany znaczenia\u
w wartości.
Znaki specjalne:
Aby wprowadzić znak karetki (^) lub kreski (-), należy użyć ukośnika odwrotnego. Akceptowalne sekwencje zawierające ukośnik odwrotny to: \-, \^ oraz \\. Ukośnik odwrotny musi stanowić rzeczywisty znak w ciągu znaków. Aby określić ukośnik odwrotny w języku ActionScript, należy użyć podwójnego ukośnika odwrotnego.
Przykłady ustawień właściwości restrict
:
W poniższym przykładzie użytkownik będzie mógł wprowadzać tylko znaki kreski (-) i karetki (^):
my_txt.restrict = "\\-\\^";
W poniższym przykładzie użytkownik będzie mógł wprowadzać tylko wielkie litery, spacje i liczby:
my_txt.restrict = "A-Z 0-9";
W poniższym przykładzie są wykluczane tylko małe litery:
my_txt.restrict = "^a-z";
W poniższym przykładzie użytkownik będzie mógł wprowadzać tylko wielkie litery z wyjątkiem wielkiej litery Q:
my_txt.restrict = "A-Z^Q";
W poniższym przykładzie użytkownik będzie mógł wprowadzać tylko znaki o kodach ASCII od 32 (spacja) do 126 (tylda).
my_txt.restrict = "\u0020-\u007E";
Uwaga: Ograniczenia dotyczą tylko danych wprowadzanych przez użytkownika. Skrypt może wstawić dowolne znaki w polu tekstowym.
Wartością domyślną jest null.
Implementacja
public function get restrict():String
public function set restrict(value:String):void
returnKeyLabel | właściwość |
returnKeyLabel:String
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Hint indicating what label should be displayed for the return key on soft keyboards.
Supported values are defined in flash.text.ReturnKeyLabel:
"default"
- default icon or label text"done"
- icon or label text indicating completed text entry"go"
- icon or label text indicating that an action should start-
"next"
- icon or label text indicating a move to the next field "search"
- icon or label text indicating that the entered text should be searched for
Wartością domyślną jest "default".
Implementacja
public function get returnKeyLabel():String
public function set returnKeyLabel(value:String):void
Powiązane elementy interfejsu API
selectionActivePosition | właściwość |
selectionActivePosition:int
[tylko do odczytu] Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
The active, or last clicked position, of the selection. If the implementation does not support selection anchor this is the last character of the selection.
This value can not be used as the source for data binding.
Implementacja
public function get selectionActivePosition():int
selectionAnchorPosition | właściwość |
selectionAnchorPosition:int
[tylko do odczytu] Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
The anchor, or first clicked position, of the selection. If the implementation does not support selection anchor this is the first character of the selection.
This value can not be used as the source for data binding.
Implementacja
public function get selectionAnchorPosition():int
softKeyboardType | właściwość |
softKeyboardType:String
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Hint indicating what kind of soft keyboard should be displayed for this component.
Supported values are defined in flash.text.SoftKeyboardType:
"default"
- the default keyboard"punctuation"
- puts the keyboard into punctuation/symbol entry mode"url"
- present soft keys appropriate for URL entry, such as a specialized key that inserts '.com'"number"
- puts the keyboard into numeric keypad mode"contact"
- puts the keyboard into a mode appropriate for entering contact information"email"
- puts the keyboard into e-mail addres entry mode, which may make it easier to enter the at sign or '.com'
Wartością domyślną jest "default".
Implementacja
public function get softKeyboardType():String
public function set softKeyboardType(value:String):void
Powiązane elementy interfejsu API
text | właściwość |
text:String
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
A string that is the current text in the text field. Lines are separated by the carriage return character ('\r', ASCII 13). This property contains unformatted text in the text field, without any formatting tags.
If there was a prior selection, it will be preserved.
If the length of the old text was less than the length of the new text, the selection
will be adjusted so that neither selectionAnchorPosition
or
selectionActivePosition
is greater than the length of the new text.
Wartością domyślną jest "".
Implementacja
public function get text():String
public function set text(value:String):void
StyleableStageText | () | Konstruktor |
public function StyleableStageText(multiline:Boolean = false)
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Constructor.
multiline
determines what happens when you press the Enter key.
If it is true
, the Enter key starts a new line.
If it is false
, it causes a FlexEvent.ENTER
event to be dispatched.
multiline:Boolean (default = false ) — Set to true to allow more than one line of text to be input.
|
appendText | () | metoda |
public function appendText(text:String):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Appends the specified text to the end of the text component, as if you had clicked at the end and typed.
An insertion point is then set after the new text. If necessary, the text will scroll to ensure that the insertion point is visible.
Parametry
text:String — The text to be appended.
|
insertText | () | metoda |
public function insertText(text:String):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Inserts the specified text into the text component as if you had typed it.
If a range was selected, the new text replaces the selected text. If there was an insertion point, the new text is inserted there.
An insertion point is then set after the new text. If necessary, the text will scroll to ensure that the insertion point is visible.
Parametry
text:String — The text to be inserted.
|
selectAll | () | metoda |
public function selectAll():void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Selects all of the text.
On iOS, for non multiline StyleableStageText objects, this function is not supported and does nothing.
For some devices or operating systems, the selection may only be visible when the StageText object has focus.
selectRange | () | metoda |
public function selectRange(anchorIndex:int, activeIndex:int):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Selects a specified range of characters.
If either position is negative, it will deselect the text range.
Parametry
anchorIndex:int — The character position specifying the end
of the selection that stays fixed when the selection is extended.
| |
activeIndex:int — The character position specifying the end
of the selection that moves when the selection is extended.
|
change | Zdarzenie |
flash.events.Event
właściwość Event.type =
flash.events.Event.CHANGE
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Dispatched after a user editing operation is complete.
StałaEvent.CHANGE
definiuje wartość właściwości type
obiektu zdarzenia change
.
To zdarzenie ma następujące właściwości:
Właściwość | Wartość |
---|---|
bubbles | true |
cancelable | false ; nie ma domyślnego zachowania, które można byłoby anulować. |
currentTarget | Obiekt przetwarzający aktywnie obiekt Event za pomocą detektora zdarzeń. |
target | Wartość obiektu została zmodyfikowana. Obiekt target nie zawsze jest obiektem na liście wyświetlania, która zarejestrowała detektor zdarzeń. Właściwość currentTarget umożliwia uzyskanie dostępu do obiektu na liście wyświetlania, który obecnie przetwarza zdarzenie. |
enter | Zdarzenie |
mx.events.FlexEvent
właściwość FlexEvent.type =
mx.events.FlexEvent.ENTER
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Dispatched if the StageText is not multiline and the user presses the enter key.
TheFlexEvent.ENTER
constant defines the value of the
type
property of the event object for a enter
event.
The properties of the event object have the following values:
Property | Value |
---|---|
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 . |
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. |
focusIn | Zdarzenie |
flash.events.FocusEvent
właściwość FocusEvent.type =
flash.events.FocusEvent.FOCUS_IN
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Dispatched after the native text control gains focus. This happens when a user highlights the text field with a pointing device, keyboard navigation, or a touch gesture.
Note: Since flash.text.StageText
is not an
InteractiveObject
, the Stage.focus
property may
not be used to determine if a native text field has focus.
type
obiektu zdarzenia focusIn
.
To zdarzenie ma następujące właściwości:
Właściwość | Wartość |
---|---|
bubbles | true |
cancelable | false ; nie ma domyślnego zachowania, które można byłoby anulować. |
currentTarget | Obiekt przetwarzający aktywnie obiekt Event za pomocą detektora zdarzeń. |
keyCode | 0; ma zastosowanie wyłącznie do zdarzeń keyFocusChange . |
relatedObject | Komplementarna instancja klasy InteractiveObject, która zmienia się wskutek przeniesienia aktywności. |
shiftKey | false ; ma zastosowanie wyłącznie do zdarzeń keyFocusChange . |
target | Instancja klasy InteractiveObject, która właśnie stała się aktywna. Obiekt target nie zawsze jest obiektem na liście wyświetlania, która zarejestrowała detektor zdarzeń. Właściwość currentTarget umożliwia uzyskanie dostępu do obiektu na liście wyświetlania, który obecnie przetwarza zdarzenie.
|
direction | Kierunek, z którego przypisano fokus. Ta właściwość przyjmuje wartość parametru direction metody assignFocus() stołu montażowego. Jeśli fokus został przeniesiony w inny sposób, właściwość będzie miała zawsze wartość FocusDirection.NONE . Ma zastosowanie wyłącznie do zdarzeń focusIn . Dla wszystkich pozostałych zdarzeń związanych z fokusem właściwość ma wartość FocusDirection.NONE . |
focusOut | Zdarzenie |
flash.events.FocusEvent
właściwość FocusEvent.type =
flash.events.FocusEvent.FOCUS_OUT
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Dispatched after the native text control loses focus. This happens when a user highlights an object other than the text field with a pointing device, keyboard navigation, or a touch gesture.
Note: Since flash.text.StageText
is not an
InteractiveObject
, the Stage.focus
property may
not be used to determine if a native text field has focus.
type
obiektu zdarzenia focusOut
.
To zdarzenie ma następujące właściwości:
Właściwość | Wartość |
---|---|
bubbles | true |
cancelable | false ; nie ma domyślnego zachowania, które można byłoby anulować. |
currentTarget | Obiekt przetwarzający aktywnie obiekt Event za pomocą detektora zdarzeń. |
keyCode | 0; ma zastosowanie wyłącznie do zdarzeń keyFocusChange . |
relatedObject | Komplementarna instancja klasy InteractiveObject, która zmienia się wskutek przeniesienia aktywności. |
shiftKey | false ; ma zastosowanie wyłącznie do zdarzeń keyFocusChange . |
target | Instancja klasy InteractiveObject, która właśnie utraciła aktywność. Obiekt target nie zawsze jest obiektem na liście wyświetlania, która zarejestrowała detektor zdarzeń. Właściwość currentTarget umożliwia uzyskanie dostępu do obiektu na liście wyświetlania, który obecnie przetwarza zdarzenie.
|
softKeyboardActivate | Zdarzenie |
flash.events.SoftKeyboardEvent
właściwość SoftKeyboardEvent.type =
flash.events.SoftKeyboardEvent.SOFT_KEYBOARD_ACTIVATE
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Dispatched when a soft keyboard is displayed.
StałaSoftKeyboardEvent.SOFT_KEYBOARD_ACTIVATE
definiuje wartość właściwości type
obiektu SoftKeyboardEvent, gdy jest wyświetlana klawiatura programowa. W przypadku tego zdarzenia cancellable = false
.
To zdarzenie ma następujące właściwości:
Właściwość | Wartość |
---|---|
type | SOFT_KEYBOARD_ACTIVATE |
bubbles | true |
cancelable | false ; nie ma domyślnego zachowania, które można byłoby anulować. |
relatedObjectVal | Odniesienie do listy obiektów ekranowych powiązanej ze zdarzeniem. |
triggerTypeVal | Określa, czy zdarzenie klawiatury zostało wywołane przez aplikację, czy przez użytkownika. |
currentTarget | Obiekt przetwarzający aktywnie obiekt Event za pomocą detektora zdarzeń. |
softKeyboardActivating | Zdarzenie |
flash.events.SoftKeyboardEvent
właściwość SoftKeyboardEvent.type =
flash.events.SoftKeyboardEvent.SOFT_KEYBOARD_ACTIVATING
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Dispatched immediately before a soft keyboard is displayed. If canceled by
calling preventDefault
, the soft keyboard will not open.
SoftKeyboardEvent.SOFT_KEYBOARD_ACTIVATING
definiuje wartość właściwości type
obiektu SoftKeyboardEvent bezpośrednio przed wyświetleniem klawiatury programowej. W przypadku tego zdarzenia cancellable = true
.
To zdarzenie ma następujące właściwości:
Właściwość | Wartość |
---|---|
type | SOFT_KEYBOARD_ACTIVATING |
bubbles | true |
cancelable | Wartość true , chyba że zdarzenie zostanie wywołane przez obiekt StageText. W przypadku obiektów StageText tego zdarzenia nie można anulować. |
relatedObjectVal | Odniesienie do listy obiektów ekranowych powiązanej ze zdarzeniem. |
triggerTypeVal | Określa, czy zdarzenie klawiatury zostało wywołane przez aplikację, czy przez użytkownika. |
currentTarget | Obiekt przetwarzający aktywnie obiekt Event za pomocą detektora zdarzeń. |
softKeyboardDeactivate | Zdarzenie |
flash.events.SoftKeyboardEvent
właściwość SoftKeyboardEvent.type =
flash.events.SoftKeyboardEvent.SOFT_KEYBOARD_DEACTIVATE
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.6 |
Wersje środowiska wykonawczego: | AIR 3.0 |
Dispatched when a soft keyboard is lowered or hidden.
StałaSoftKeyboardEvent.SOFT_KEYBOARD_DEACTIVATE
definiuje wartość właściwości type
obiektu SoftKeyboardEvent, gdy jest opuszczona lub ukryta klawiatura programowa. W przypadku tego zdarzenia cancellable = false
.
To zdarzenie ma następujące właściwości:
Właściwość | Wartość |
---|---|
type | SOFT_KEYBOARD_DEACTIVATE |
bubbles | true |
cancelable | false ; nie ma domyślnego zachowania, które można byłoby anulować. |
relatedObjectVal | Odniesienie do listy obiektów ekranowych powiązanej ze zdarzeniem. |
triggerTypeVal | Określa, czy zdarzenie klawiatury zostało wywołane przez aplikację, czy przez użytkownika. |
currentTarget | Obiekt przetwarzający aktywnie obiekt Event za pomocą detektora zdarzeń. |
Tue Jun 12 2018, 12:06 PM Z