IconSkin
Package | qnx.ui.skins.buttons |
Class | public class IconSkin |
Inheritance | IconSkin ![]() ![]() ![]() |
Subclasses | BackButtonSkinBlack, BackButtonSkinWhite, CheckBoxSkinAlternateBlack, CheckBoxSkinAlternateWhite, CheckBoxSkinBlack, CheckBoxSkinWhite, ExpandButtonSkinBlack, ExpandButtonSkinWhite, RadioButtonSkinBlack, RadioButtonSkinWhite |
The IconSkin class is the base implementation for skins with an icon.
Class information: |
---|
PlayBook Tablet OS Version: 1.0.6 |
Public Properties
Property | Defined By | ||
---|---|---|---|
![]() | containment : String
Gets or sets a property that determines how a component is contained within a parent container. | UIComponent | |
![]() | edgeMetrics : EdgeMetrics [read-only]
Returns the edgeMetrics of the current state. | UISkin | |
![]() | size : Number
Gets or sets the size for this component (as a percentage of the
container's size, or in pixels). | UIComponent | |
![]() | sizeMode : String
Gets or sets the size mode for this component. | UIComponent | |
![]() | sizeUnit : String
Gets or sets the unit of measure for the size property. | UIComponent | |
![]() | state : String
Gets or sets the state of the skin. | UISkin |
Public Methods
Method | Defined By | ||
---|---|---|---|
IconSkin()
Creates a new IconSkin instance. | IconSkin | ||
![]() | destroy():void
Call this method when you want to have your object collected by the garbage collector. | UIComponent | |
![]() | drawNow():void
Calls the draw() method. | UIComponent | |
![]() | getLayoutRect():Rectangle
Returns the layout rectangle. | UISkin | |
![]() | invalidate(property:String = all, invalidateNow:Boolean = false):void
Marks the property as invalid and the draw() method is called on the next frame or the next render, whichever comes first. | UIComponent | |
![]() | setPosition(x:Number, y:Number):void
Sets the x and y position of the component. | UIComponent | |
![]() | setSize(w:Number, h:Number):void
Sets the width and height of the component. | UIComponent |