| Package | qnx.fuse.ui.skins.picker |
| Class | public class AbstractPickerListBackgroundSkin |
| Inheritance | AbstractPickerListBackgroundSkin UISkin UIComponent flash.display.MovieClip |
| Implements | IPickerListBackground |
| Subclasses | PickerListBackgroundBlack, PickerListBackgroundWhite |
| Property | Defined By | ||
|---|---|---|---|
![]() | edgeMetrics : EdgeMetrics [read-only]
Returns the edgeMetrics of the current state. | UISkin | |
![]() | explicitHeight : Number [read-only] | UIComponent | |
![]() | explicitWidth : Number [read-only] | UIComponent | |
![]() | includeInLayout : Boolean
Specifies if the component should be included in it's parent containers layout. | UIComponent | |
![]() | layoutData : Object
Returns the layout data for the object. | UIComponent | |
![]() | minHeight : Number
Sets the minimum preferred height of the control. | UIComponent | |
![]() | minWidth : Number
Sets the minimum preferred width of the control. | UIComponent | |
| position : String | AbstractPickerListBackgroundSkin | ||
| state : String [override]
Gets or sets the state of the skin. | AbstractPickerListBackgroundSkin | ||
| Method | Defined By | ||
|---|---|---|---|
| AbstractPickerListBackgroundSkin | |||
![]() | childChanged(resizedChild:DisplayObject = null):Boolean
Notifies the UIComponent that one or more of its children has changed in a manner
that may affect this object's layout. | UIComponent | |
![]() | destroy():void
Call this method when you want to have your object collected by the garbage collector. | UIComponent | |
![]() | getLayoutRect():Rectangle
Returns the layout rectangle. | UISkin | |
![]() | getSizeOptions():int | UIComponent | |
![]() | invalidateDisplayList():void
Calling this method results in a call to the components validateDisplayList() method before the display list is rendered. | UIComponent | |
![]() | invalidateProperties():void
Calling this method results in a call to the components validateProperties() method before the display list is rendered. | UIComponent | |
![]() | measure(availableWidth:Number, availableHeight:Number):LayoutMeasurement | UIComponent | |
![]() | setActualSize(w:Number, h:Number):void
Sets the width and height of the object without setting
the explicitWidth and explicitHeight. | UIComponent | |
![]() | setLayoutBounds(bounds:Rectangle):void
Sets the receiver's size and location to the rectangular area specified
by the arguments. | UIComponent | |
![]() | setPosition(x:Number, y:Number):void
Sets the x and y position of the component. | UIComponent | |
![]() | validateDisplayList():void
Validates the display list of the component by calling the updateDisplayList(). | UIComponent | |
![]() | validateNow():void
Validates the component immediately by calling validateProperties(), validateSizes(), and validateDisplayList() if necessary. | UIComponent | |
![]() | validateProperties():void
Validates the properties of the component by calling the commitProperties() method. | UIComponent | |
| Method | Defined By | ||
|---|---|---|---|
![]() | commitProperties():void
Process properties of the component. | UIComponent | |
commitState():void [override]
Process the state of the component. | AbstractPickerListBackgroundSkin | ||
![]() | doMeasure(availableWidth:Number, availableHeight:Number):LayoutMeasurement | UIComponent | |
![]() | flushCache():void
Invoked as part of parentLayoutChanged. | UIComponent | |
![]() | onAdded():void
Called when the instance is added to the stage. | UIComponent | |
![]() | onRemoved():void
Called when the instance is removed from the stage. | UIComponent | |
![]() | parentLayoutChanged():void
Invalidates the parent's size and display list if includeInLayout property is set to true. | UIComponent | |
setSkinState(state:String, asset:DisplayObject):void [override] | AbstractPickerListBackgroundSkin | ||
setSkinStateForPosition(state:String, position:String, asset:DisplayObject):void | AbstractPickerListBackgroundSkin | ||
![]() | showSkin(skin:DisplayObject):void
Shows the given skin state. | UISkin | |
![]() | updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Sets the size and position of the children of the component. | UIComponent | |
| Constant | Defined By | ||
|---|---|---|---|
| PICKER_LIST_POSITION_LEFT : String = left [static] | AbstractPickerListBackgroundSkin | ||
| PICKER_LIST_POSITION_MIDDLE : String = middle [static] | AbstractPickerListBackgroundSkin | ||
| PICKER_LIST_POSITION_RIGHT : String = right [static] | AbstractPickerListBackgroundSkin | ||
| PICKER_LIST_POSITION_SINGLE : String = single [static] | AbstractPickerListBackgroundSkin | ||
| position | property |
position:String public function get position():String public function set position(value:String):void| state | property |
state:String[override] Gets or sets the state of the skin.
public function get state():String public function set state(value:String):void| AbstractPickerListBackgroundSkin | () | Constructor |
public function AbstractPickerListBackgroundSkin()| commitState | () | method |
override protected function commitState():voidProcess the state of the component. You may want to override this method in your own components.
The default implementation of this method sets the state of the skin to the current state of the component.
This method is called after the commitProperties() method is called and before the measure() method is called.
| setSkinState | () | method |
override protected function setSkinState(state:String, asset:DisplayObject):voidParameters
state:String | |
asset:DisplayObject |
| setSkinStateForPosition | () | method |
protected function setSkinStateForPosition(state:String, position:String, asset:DisplayObject):voidParameters
state:String | |
position:String | |
asset:DisplayObject |
| PICKER_LIST_POSITION_LEFT | Constant |
public static const PICKER_LIST_POSITION_LEFT:String = left| PICKER_LIST_POSITION_MIDDLE | Constant |
public static const PICKER_LIST_POSITION_MIDDLE:String = middle| PICKER_LIST_POSITION_RIGHT | Constant |
public static const PICKER_LIST_POSITION_RIGHT:String = right| PICKER_LIST_POSITION_SINGLE | Constant |
public static const PICKER_LIST_POSITION_SINGLE:String = single