MetalWorksMobileVectorTheme
public class
feathers.themes.MetalWorksMobileVectorTheme
Description
Copyright (c) 2012 Josh Tynjala
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
API overview
Constructor
MetalWorksMobileVectorTheme
(
container: DisplayObjectContainer
= null
,
scaleToDPI: Boolean
= true
)
Attributes
Public attributes
Protected attributes
Constants
Constants
Constructor
MetalWorksMobileVectorTheme ( container: DisplayObjectContainer = null , scaleToDPI: Boolean = true )
Attributes
atlas: TextureAtlas
backgroundDisabledSkinTextures: Scale9Textures
backgroundFocusedSkinTextures: Scale9Textures
backgroundInsetSkinTextures: Scale9Textures
backgroundPopUpSkinTextures: Scale9Textures
backgroundSkinTextures: Scale9Textures
buttonBackDisabledSkinTextures: Scale3Textures
buttonBackDownSkinTextures: Scale3Textures
buttonBackUpSkinTextures: Scale3Textures
buttonCallToActionDownSkinTextures: Scale9Textures
buttonCallToActionUpSkinTextures: Scale9Textures
buttonDangerDownSkinTextures: Scale9Textures
buttonDangerUpSkinTextures: Scale9Textures
buttonDisabledSkinTextures: Scale9Textures
buttonDownSkinTextures: Scale9Textures
buttonForwardDisabledSkinTextures: Scale3Textures
buttonForwardDownSkinTextures: Scale3Textures
buttonForwardUpSkinTextures: Scale3Textures
buttonQuietDownSkinTextures: Scale9Textures
buttonQuietUpSkinTextures: Scale9Textures
buttonSelectedDisabledSkinTextures: Scale9Textures
buttonSelectedUpSkinTextures: Scale9Textures
buttonUpSkinTextures: Scale9Textures
calloutBottomArrowSkinTexture: Texture
calloutLeftArrowSkinTexture: Texture
calloutRightArrowSkinTexture: Texture
calloutTopArrowSkinTexture: Texture
checkDisabledIconTexture: Texture
checkDownIconTexture: Texture
checkSelectedDisabledIconTexture: Texture
checkSelectedDownIconTexture: Texture
checkSelectedUpIconTexture: Texture
checkUpIconTexture: Texture
headerBackgroundSkinTexture: Texture
headerTextFormat: TextFormat
horizontalScrollBarThumbSkinTextures: Scale3Textures
initializeOnce: Boolean
Inherited from DisplayListWatcher
Determines if objects added to the display list are initialized only once or every time that they are re-added.
insetItemRendererFirstSelectedSkinTextures: Scale9Textures
insetItemRendererFirstUpSkinTextures: Scale9Textures
insetItemRendererLastSelectedSkinTextures: Scale9Textures
insetItemRendererLastUpSkinTextures: Scale9Textures
insetItemRendererSingleSelectedSkinTextures: Scale9Textures
insetItemRendererSingleUpSkinTextures: Scale9Textures
itemRendererSelectedSkinTextures: Scale9Textures
itemRendererUpSkinTextures: Scale9Textures
largeDarkTextFormat: TextFormat
largeDisabledTextFormat: TextFormat
largeLightTextFormat: TextFormat
largeUIDarkTextFormat: TextFormat
largeUIDisabledTextFormat: TextFormat
largeUILightTextFormat: TextFormat
largeUISelectedTextFormat: TextFormat
originalDPI: Number
read-only
pageIndicatorNormalSkinTexture: Texture
pageIndicatorSelectedSkinTexture: Texture
pickerListButtonIconTexture: Texture
pickerListItemSelectedIconTexture: Texture
processRecursively: Boolean
Inherited from DisplayListWatcher
Determines if only the object added should be processed or if its children should be processed recursively.
radioDisabledIconTexture: Texture
radioDownIconTexture: Texture
radioSelectedDisabledIconTexture: Texture
radioSelectedDownIconTexture: Texture
radioSelectedUpIconTexture: Texture
radioUpIconTexture: Texture
requiredBaseClass: Type
Inherited from DisplayListWatcher
The minimum base class required before the AddedWatcher will check to see if a particular display object has any initializers.
scale: Number
scaleToDPI: Boolean
read-only
smallDarkTextFormat: TextFormat
smallDisabledTextFormat: TextFormat
smallLightTextFormat: TextFormat
smallLightTextFormatCentered: TextFormat
smallUIDarkDisabledTextFormat: TextFormat
smallUIDarkTextFormat: TextFormat
smallUILightDisabledTextFormat: TextFormat
smallUILightTextFormat: TextFormat
smallUISelectedTextFormat: TextFormat
tabDownSkinTextures: Scale9Textures
tabSelectedDisabledSkinTextures: Scale9Textures
tabSelectedSkinTextures: Scale9Textures
verticalScrollBarThumbSkinTextures: Scale3Textures
Protected attributes
Constants
BACK_BUTTON_SCALE3_REGION1: Number
static
BACK_BUTTON_SCALE3_REGION2: Number
static
BUTTON_SCALE9_GRID: Rectangle
static
BUTTON_SELECTED_SCALE9_GRID: Rectangle
static
COMPONENT_NAME_PICKER_LIST_ITEM_RENDERER: String
static
DARK_DISABLED_TEXT_COLOR: Number
static
DARK_TEXT_COLOR: Number
static
DEFAULT_SCALE9_GRID: Rectangle
static
DISABLED_TEXT_COLOR: Number
static
FORWARD_BUTTON_SCALE3_REGION1: Number
static
FORWARD_BUTTON_SCALE3_REGION2: Number
static
GROUPED_LIST_FOOTER_BACKGROUND_COLOR: Number
static
GROUPED_LIST_HEADER_BACKGROUND_COLOR: Number
static
INSET_ITEM_RENDERER_FIRST_SCALE9_GRID: Rectangle
static
INSET_ITEM_RENDERER_LAST_SCALE9_GRID: Rectangle
static
INSET_ITEM_RENDERER_SINGLE_SCALE9_GRID: Rectangle
static
ITEM_RENDERER_SCALE9_GRID: Rectangle
static
LIGHT_TEXT_COLOR: Number
static
LIST_BACKGROUND_COLOR: Number
static
MODAL_OVERLAY_COLOR: Number
static
ORIGINAL_DPI_IPAD_RETINA: Number
static
ORIGINAL_DPI_IPHONE_RETINA: Number
static
PRIMARY_BACKGROUND_COLOR: Number
static
[Embed(source="/../assets/images/metalworks.png")] protected static const ATLAS_IMAGE:Class;
[Embed(source="/../assets/images/metalworks.xml",mimeType="application/octet-stream")] protected static const ATLAS_XML:Class;
[Embed(source="/../assets/fonts/SourceSansPro-Regular.ttf",fontName="SourceSansPro",mimeType="application/x-font",embedAsCFF="false")] protected static const SOURCE_SANS_PRO_REGULAR:Class;
[Embed(source="/../assets/fonts/SourceSansPro-Semibold.ttf",fontName="SourceSansProSemibold",fontWeight="bold",mimeType="application/x-font",embedAsCFF="false")] protected static const SOURCE_SANS_PRO_SEMIBOLD:Class;
SCROLL_BAR_THUMB_REGION1: Number
static
SCROLL_BAR_THUMB_REGION2: Number
static
SELECTED_TEXT_COLOR: Number
static
TAB_BACKGROUND_COLOR: Number
static
TAB_DISABLED_BACKGROUND_COLOR: Number
static
TAB_SCALE9_GRID: Rectangle
static
Functions
clearInitializerForClass
(
type: Type
,
withName: String
= null
): Void
Inherited from DisplayListWatcher
If an initializer exists for a specific class, it will be removed completely.
Parameters
| type: Type | |
| withName: String = null |
clearInitializerForClassAndSubclasses
(
type: Type
): Void
Inherited from DisplayListWatcher
If an initializer exists for a specific class and its subclasses, the initializer will be removed completely.
Parameters
| type: Type |
dispose
(): Void
Inherited from DisplayListWatcher
Stops listening to the root and cleans up anything else that needs to
be disposed. If a DisplayListWatcher is extended for a
theme, it should also dispose textures and other assets.
exclude
(
target: DisplayObject
): Void
Inherited from DisplayListWatcher
Excludes a display object, and all if its children (if any) from being watched.
Parameters
| target: DisplayObject |
getFullTypeName
(): String
Inherited from Object
native
Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.
Returns
| String | fully qualified type name of the Object. |
getInitializerForClass
(
type: Type
,
withName: String
= null
): Function
Inherited from DisplayListWatcher
If an initializer exists for a specific class, it will be returned.
Parameters
| type: Type | |
| withName: String = null |
getInitializerForClassAndSubclasses
(
type: Type
): Function
Inherited from DisplayListWatcher
If an initializer exists for a specific class and its subclasses, the initializer will be returned.
Parameters
| type: Type |
getType
(): Type
Inherited from Object
native
Gets the Type that describes the Object.
Returns
| Type | The Type that describes the object. |
getTypeName
(): String
Inherited from Object
native
Gets the type name of the Object.
Returns
| String | type name of the Object. |
isExcluded
(
target: DisplayObject
): Boolean
Inherited from DisplayListWatcher
Determines if an object is excluded from being watched.
Parameters
| target: DisplayObject |
setInitializerForClass
(
type: Type
,
initializer: Function
,
withName: String
= null
): Void
Inherited from DisplayListWatcher
Sets the initializer for a specific class.
Parameters
| type: Type | |
| initializer: Function | |
| withName: String = null |