Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 2.5 |
Właściwość | Zdefiniowane przez | ||
---|---|---|---|
applicationDPI : Number [tylko do odczytu]
Returns the DPI of the application. | MobileSkin | ||
currentCSSState : String [tylko do odczytu]
The state to be used when matching CSS pseudo-selectors. | UIComponent | ||
focusSkinExclusions : Array [tylko do odczytu]
List of IDs of items that should be excluded when rendering the focus ring. | MobileSkin | ||
hasComplexLayoutMatrix : Boolean [tylko do odczytu]
Returns true if the UIComponent has any non-translation (x,y) transform properties. | UIComponent | ||
measuredDefaultHeight : Number = 0
Specifies a default height. | MobileSkin | ||
measuredDefaultWidth : Number = 0
Specifies a default width. | MobileSkin | ||
resourceManager : IResourceManager [tylko do odczytu]
A reference to the object which manages
all of the application's localized resources. | UIComponent | ||
symbolItems : Array [tylko do odczytu]
Names of items that should have their color property defined by
the symbolColor style. | MobileSkin | ||
unscaledHeight : Number [tylko do odczytu]
A convenience method for determining the unscaled height
of the component. | UIComponent | ||
unscaledWidth : Number [tylko do odczytu]
A convenience method for determining the unscaled width
of the component
All of a component's drawing and child layout should be done
within a bounding rectangle of this width, which is also passed
as an argument to updateDisplayList(). | UIComponent | ||
useSymbolColor : Boolean = false
Specifies whether or not this skin should be affected by the symbolColor style. | MobileSkin |
Metoda | Zdefiniowane przez | ||
---|---|---|---|
Constructor. | MobileSkin | ||
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 | ||
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 | ||
Called before a bitmap capture is made for this skin. | MobileSkin | ||
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 | ||
Called after a bitmap capture is made for this skin. | MobileSkin | ||
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 | ||
[przesłanianie]
MobileSkin does not use states. | MobileSkin | ||
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 | ||
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 | ||
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 |
Metoda | Zdefiniowane przez | ||
---|---|---|---|
Adjust the focus rectangle. | UIComponent | ||
A helper method to set a color transform on a DisplayObject. | MobileSkin | ||
Commits the computed matrix built from the combination of the layout
matrix and the transform offsets to the flash displayObject's transform. | UIComponent | ||
This is an internal method used by the Flex framework
to support the Dissolve effect. | UIComponent | ||
Determines if the call to the measure() method can be skipped. | UIComponent | ||
Performs any final processing after child objects are created. | UIComponent | ||
Called whenever the currentState changes. | MobileSkin | ||
Processes the properties set on the component. | UIComponent | ||
Create child objects of the component. | UIComponent | ||
Creates a new object using a context
based on the embedded font being used. | UIComponent | ||
Creates the object using a given moduleFactory. | UIComponent | ||
Helper method for dispatching a PropertyChangeEvent
when a property is updated. | UIComponent | ||
Renders a background for the skin. | MobileSkin | ||
The event handler called when a UIComponent object gets focus. | UIComponent | ||
The event handler called when a UIComponent object loses focus. | UIComponent | ||
A helper method to retrieve the preferred height of a child element. | MobileSkin | ||
A helper method to retrieve the preferred width of a child element. | MobileSkin | ||
Initializes the implementation and storage of some of the less frequently
used advanced layout features of a component. | UIComponent | ||
Finalizes the initialization of this component. | UIComponent | ||
Initializes this component's accessibility code. | UIComponent | ||
Helper method to invalidate parent size and display list if
this object affects its layout (includeInLayout is true). | UIComponent | ||
Typically overridden by components containing UITextField objects,
where the UITextField object gets focus. | UIComponent | ||
The event handler called for a keyDown event. | UIComponent | ||
The event handler called for a keyUp event. | UIComponent | ||
Positions the children for this skin. | MobileSkin | ||
Calculates the default size, and optionally the default minimum size,
of the component. | UIComponent | ||
This method is called when a UIComponent is constructed,
and again whenever the ResourceManager dispatches
a "change" Event to indicate
that the localized resources have changed in some way. | UIComponent | ||
A helper method to position children elements of this component. | MobileSkin | ||
A helper method to size children elements of this component. | MobileSkin | ||
Specifies a transform stretch factor in the horizontal and vertical direction. | UIComponent | ||
This method is called when a state changes to check whether
state-specific styles apply to this component. | UIComponent | ||
Draws the object and/or sizes and positions its children. | 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.
applicationDPI | właściwość |
applicationDPI:Number
[tylko do odczytu] Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 2.5 |
Returns the DPI of the application. This property can only be set in MXML on the root application.
Implementacja
protected function get applicationDPI():Number
focusSkinExclusions | właściwość |
focusSkinExclusions:Array
[tylko do odczytu] Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 2.5 |
List of IDs of items that should be excluded when rendering the focus ring. Only items of type DisplayObject or GraphicElement should be excluded. Items of other types are ignored.
Implementacja
protected function get focusSkinExclusions():Array
measuredDefaultHeight | właściwość |
protected var measuredDefaultHeight:Number = 0
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 2.5 |
Specifies a default height. measuredHeight
returns this value
when the computed measuredHeight
is less than
measuredDefaultHeight
.
Wartością domyślną jest 0.
measuredDefaultWidth | właściwość |
protected var measuredDefaultWidth:Number = 0
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 2.5 |
Specifies a default width. measuredWidth
returns this value
when the computed measuredWidth
is less than
measuredDefaultWidth
.
Wartością domyślną jest 0.
symbolItems | właściwość |
useSymbolColor | właściwość |
protected var useSymbolColor:Boolean = false
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 2.5 |
Specifies whether or not this skin should be affected by the symbolColor
style.
Wartością domyślną jest false.
MobileSkin | () | Konstruktor |
public function MobileSkin()
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 2.5 |
Constructor.
applyColorTransform | () | metoda |
protected function applyColorTransform(displayObject:DisplayObject, originalColor:uint, tintColor:uint):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 2.5 |
A helper method to set a color transform on a DisplayObject.
Parametry
displayObject:DisplayObject — The display object to transform
| |
originalColor:uint — The original color
| |
tintColor:uint — The desired color
|
beginHighlightBitmapCapture | () | metoda |
public function beginHighlightBitmapCapture():Boolean
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 2.5 |
Called before a bitmap capture is made for this skin. The default implementation excludes items in the focusSkinExclusions array.
ZwracaBoolean — true if the component needs to be redrawn; otherwise false .
|
commitCurrentState | () | metoda |
protected function commitCurrentState():void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 2.5 |
Called whenever the currentState changes. Skins should override this function if they make any appearance changes during a state change.
drawBackground | () | metoda |
protected function drawBackground(unscaledWidth:Number, unscaledHeight:Number):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 2.5 |
Renders a background for the skin.
This method, along with layoutContents()
, is called
by the updateDisplayList()
.
This method draws the background chromeColor. Override this method to change the appearance of the chromeColor.
Parametry
unscaledWidth:Number — Specifies the width of the component, in pixels,
in the component's coordinates, regardless of the value of the
scaleX property of the component.
| |
unscaledHeight:Number — Specifies the height of the component, in pixels,
in the component's coordinates, regardless of the value of the
scaleY property of the component.
|
endHighlightBitmapCapture | () | metoda |
public function endHighlightBitmapCapture():Boolean
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 2.5 |
Called after a bitmap capture is made for this skin. The default implementation restores the items in the focusSkinExclusions array.
ZwracaBoolean — true if the component needs to be redrawn; otherwise false .
|
getElementPreferredHeight | () | metoda |
protected function getElementPreferredHeight(element:Object):Number
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10.1, AIR 2.5 |
A helper method to retrieve the preferred height of a child element.
This method is the recommended way to get a child element's preferred height. You can use this method instead of checking for and using various interfaces/classes such as ILayoutElement, IFlexDisplayObject, or StyleableTextField.
Parametry
element:Object — The child element to retrieve the height for. The element could
be an ILayoutElement, IFlexDisplayObject, StyleableTextField, or a generic
DisplayObject.
|
Number — The child element's preferred height.
|
Powiązane elementy interfejsu API
getElementPreferredWidth | () | metoda |
protected function getElementPreferredWidth(element:Object):Number
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10.1, AIR 2.5 |
A helper method to retrieve the preferred width of a child element.
This method is the recommended way to get a child element's preferred width. You can use this method instead of checking for and using various interfaces/classes such as ILayoutElement, IFlexDisplayObject, or StyleableTextField.
Parametry
element:Object — The child element to retrieve the width for. The element could
be an ILayoutElement, IFlexDisplayObject, StyleableTextField, or a generic
DisplayObject.
|
Number — The child element's preferred width.
|
Powiązane elementy interfejsu API
hasState | () | metoda |
override public function hasState(stateName:String):Boolean
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 2.5 |
MobileSkin does not use states. Skins should override this function to return false for states that are not implemented.
Parametry
stateName:String — The state name.
|
Boolean — false for states that are not implemented.
|
layoutContents | () | metoda |
protected function layoutContents(unscaledWidth:Number, unscaledHeight:Number):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10.1, AIR 2.5 |
Positions the children for this skin.
This method, along with colorizeContents()
, is called
by the updateDisplayList()
method.
This method positions skin parts and graphic children of the skin. Subclasses should override this to position their children.
Parametry
unscaledWidth:Number — Specifies the width of the component, in pixels,
in the component's coordinates, regardless of the value of the
scaleX property of the component.
| |
unscaledHeight:Number — Specifies the height of the component, in pixels,
in the component's coordinates, regardless of the value of the
scaleY property of the component.
|
setElementPosition | () | metoda |
protected function setElementPosition(element:Object, x:Number, y:Number):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10.1, AIR 2.5 |
A helper method to position children elements of this component.
This method is the recommended way to position children elements. You can use this method instead of checking for and using various interfaces/classes such as ILayoutElement, IFlexDisplayObject, or StyleableTextField.
Call this method after calling setElementSize()
Parametry
element:Object — The child element to position. The element could be an
ILayoutElement, IFlexDisplayObject, StyleableTextField, or a generic
DisplayObject.
| |
x:Number — The x-coordinate of the child.
| |
y:Number — The y-coordinate of the child.
|
Powiązane elementy interfejsu API
setElementSize | () | metoda |
protected function setElementSize(element:Object, width:Number, height:Number):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 4.5 |
Wersje środowiska wykonawczego: | Flash Player 10.1, AIR 2.5 |
A helper method to size children elements of this component.
This method is the recommended way to size children elements. You can use this method instead of checking for and using interfaces/classes such as ILayoutElement, IFlexDisplayObject, or StyleableTextField.
Call this method before calling the setElementPosition()
method.
Parametry
element:Object — The child element to size. The element could be an
ILayoutElement, IFlexDisplayObject, StyleableTextField, or a generic
DisplayObject.
| |
width:Number — The width of the child.
| |
height:Number — The height of the child.
|
Powiązane elementy interfejsu API
Tue Jun 12 2018, 12:06 PM Z