GODPAPER | All Packages | All Classes | Index | Frames No Frames |
MinimalTheme

Package | feathers.themes
Class | public class MinimalTheme
Inheritance | MinimalTheme DisplayListWatcher Object
Implements | IFeathersTheme

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | initializeOnce : Boolean Determines if objects added to the display list are initialized only once or every time that they are re-added. | DisplayListWatcher
|  | originalDPI : int [read-only] | MinimalTheme
|  | processRecursively : Boolean = true Determines if only the object added should be processed or if its children should be processed recursively. | DisplayListWatcher
|  | requiredBaseClass : Class The minimum base class required before the AddedWatcher will check to see if a particular display object has any initializers. | DisplayListWatcher
|  | scaleToDPI : Boolean [read-only] | MinimalTheme

Protected Properties
Hide Inherited Protected Properties
Show Inherited Protected Properties

| Property | Defined By
--- | --- | ---
|  | _fontSize : int | MinimalTheme
|  | _originalDPI : int | MinimalTheme
|  | root : DisplayObjectContainer The root of the display list that is watched for added children. | DisplayListWatcher
|  | _scale : Number | MinimalTheme
|  | _scaleToDPI : Boolean | MinimalTheme

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | MinimalTheme(root:DisplayObjectContainer, scaleToDPI:Boolean = true) | MinimalTheme
|  | clearInitializerForClass(type:Class, withName:String = null):void If an initializer exists for a specific class, it will be removed completely. | DisplayListWatcher
|  | clearInitializerForClassAndSubclasses(type:Class):void If an initializer exists for a specific class and its subclasses, the initializer will be removed completely. | DisplayListWatcher
|  | dispose():void Stops listening to the root and cleans up anything else that needs to be disposed. | DisplayListWatcher
|  | getInitializerForClass(type:Class, withName:String = null):Function If an initializer exists for a specific class, it will be returned. | DisplayListWatcher
|  | getInitializerForClassAndSubclasses(type:Class):Function If an initializer exists for a specific class and its subclasses, the initializer will be returned. | DisplayListWatcher
|  | setInitializerForClass(type:Class, initializer:Function, withName:String = null):void Sets the initializer for a specific class. | DisplayListWatcher
|  | setInitializerForClassAndSubclasses(type:Class, initializer:Function):void Sets an initializer for a specific class and any subclasses. | DisplayListWatcher

Protected Methods

| Method | Defined By
--- | --- | ---
|  | buttonInitializer(button:Button):void | MinimalTheme
|  | calloutInitializer(callout:Callout):void | MinimalTheme
|  | checkInitializer(check:Check):void | MinimalTheme
|  | groupedListInitializer(list:GroupedList):void | MinimalTheme
|  | headerOrFooterRendererInitializer(renderer:DefaultGroupedListHeaderOrFooterRenderer):void | MinimalTheme
|  | initialize():void | MinimalTheme
|  | itemRendererInitializer(renderer:BaseDefaultItemRenderer):void | MinimalTheme
|  | labelInitializer(label:BitmapFontTextRenderer):void | MinimalTheme
|  | listInitializer(list:List):void | MinimalTheme
|  | nothingInitializer(target:DisplayObject):void | MinimalTheme
|  | pickerListButtonInitializer(button:Button):void | MinimalTheme
|  | pickerListInitializer(list:PickerList):void | MinimalTheme
|  | progressBarInitializer(progress:ProgressBar):void | MinimalTheme
|  | radioInitializer(radio:Radio):void | MinimalTheme
|  | root_addedToStageHandler(event:Event):void | MinimalTheme
|  | screenHeaderInitializer(header:Header):void | MinimalTheme
|  | simpleScrollBarThumbInitializer(thumb:Button):void | MinimalTheme
|  | sliderInitializer(slider:Slider):void | MinimalTheme
|  | sliderThumbInitializer(thumb:Button):void | MinimalTheme
|  | tabInitializer(tab:Button):void | MinimalTheme
|  | textInputInitializer(input:TextInput):void | MinimalTheme
|  | toggleSwitchInitializer(toggleSwitch:ToggleSwitch):void | MinimalTheme
|  | toggleSwitchOnTrackInitializer(track:Button):void | MinimalTheme
|  | toggleSwitchThumbInitializer(thumb:Button):void | MinimalTheme
|  | toolBarButtonInitializer(button:Button):void | MinimalTheme

Public Constants

| Constant | Defined By
--- | --- | ---
|  | ATLAS : TextureAtlas [static] | MinimalTheme

Protected Constants

| Constant | Defined By
--- | --- | ---
|  | ATLAS_FONT_XML : Class [static] | MinimalTheme
|  | ATLAS_IMAGE : Class [static] | MinimalTheme
|  | ATLAS_XML : Class [static] | MinimalTheme
|  | BACKGROUND_COLOR : uint = 0xf3f3f3 [static] | MinimalTheme
|  | BITMAP_FONT : BitmapFont [static] | MinimalTheme
|  | BUTTON_DISABLED_SKIN_TEXTURES : Scale9Textures [static] | MinimalTheme
|  | BUTTON_DOWN_SKIN_TEXTURES : Scale9Textures [static] | MinimalTheme
|  | BUTTON_SELECTED_SKIN_TEXTURES : Scale9Textures [static] | MinimalTheme
|  | BUTTON_UP_SKIN_TEXTURES : Scale9Textures [static] | MinimalTheme
|  | CALLOUT_BOTTOM_ARROW_SKIN_TEXTURE : Texture [static] | MinimalTheme
|  | CALLOUT_LEFT_ARROW_SKIN_TEXTURE : Texture [static] | MinimalTheme
|  | CALLOUT_RIGHT_ARROW_SKIN_TEXTURE : Texture [static] | MinimalTheme
|  | CALLOUT_TOP_ARROW_SKIN_TEXTURE : Texture [static] | MinimalTheme
|  | CHECK_SCALE_9_GRID : Rectangle [static] | MinimalTheme
|  | CHECK_SELECTED_ICON_TEXTURES : Scale9Textures [static] | MinimalTheme
|  | DROP_DOWN_ARROW_TEXTURE : Texture [static] | MinimalTheme
|  | HEADER_SKIN_TEXTURES : Scale9Textures [static] | MinimalTheme
|  | INSET_BACKGROUND_DISABLED_SKIN_TEXTURES : Scale9Textures [static] | MinimalTheme
|  | INSET_BACKGROUND_SKIN_TEXTURES : Scale9Textures [static] | MinimalTheme
|  | INSET_TEXT_COLOR : uint = 0x333333 [static] | MinimalTheme
|  | LIST_ITEM_DOWN_TEXTURE : Texture [static] | MinimalTheme
|  | LIST_ITEM_SELECTED_TEXTURE : Texture [static] | MinimalTheme
|  | LIST_ITEM_UP_TEXTURE : Texture [static] | MinimalTheme
|  | ORIGINAL_DPI_IPAD_RETINA : int = 264 [static] | MinimalTheme
|  | ORIGINAL_DPI_IPHONE_RETINA : int = 326 [static] | MinimalTheme
|  | POPUP_BACKGROUND_SKIN_TEXTURES : Scale9Textures [static] | MinimalTheme
|  | PRIMARY_TEXT_COLOR : uint = 0x666666 [static] | MinimalTheme
|  | RADIO_ICON_TEXTURE : Texture [static] | MinimalTheme
|  | RADIO_SELECTED_ICON_TEXTURE : Texture [static] | MinimalTheme
|  | SCALE_9_GRID : Rectangle [static] | MinimalTheme
|  | SCROLLBAR_THUMB_SCALE_9_GRID : Rectangle [static] | MinimalTheme
|  | SCROLL_BAR_THUMB_SKIN_TEXTURES : Scale9Textures [static] | MinimalTheme
|  | SELECTED_TEXT_COLOR : uint = 0x333333 [static] | MinimalTheme
|  | TAB_DOWN_SKIN_TEXTURES : Scale9Textures [static] | MinimalTheme
|  | TAB_SCALE_9_GRID : Rectangle [static] | MinimalTheme
|  | TAB_SELECTED_SKIN_TEXTURES : Scale9Textures [static] | MinimalTheme
|  | TAB_UP_SKIN_TEXTURES : Scale9Textures [static] | MinimalTheme
|  | THUMB_SKIN_TEXTURES : Scale9Textures [static] | MinimalTheme
|  | TOOLBAR_BUTTON_DOWN_SKIN_TEXTURES : Scale9Textures [static] | MinimalTheme
|  | TOOLBAR_BUTTON_SELECTED_SKIN_TEXTURES : Scale9Textures [static] | MinimalTheme
|  | TOOLBAR_BUTTON_UP_SKIN_TEXTURES : Scale9Textures [static] | MinimalTheme

Property Detail

_fontSize | property

`protected var _fontSize:int`

_originalDPI | property |

`protected var _originalDPI:int`

_scale | property |

`protected var _scale:Number`

_scaleToDPI | property |

`protected var _scaleToDPI:Boolean`

originalDPI | property |

`originalDPI:int` [read-only]

Implementation
`public function get originalDPI():int`

scaleToDPI | property |

`scaleToDPI:Boolean` [read-only]

Implementation
`public function get scaleToDPI():Boolean`
Constructor Detail

MinimalTheme | () | Constructor

`public function MinimalTheme(root:DisplayObjectContainer, scaleToDPI:Boolean = true)`

Parameters

| `root:DisplayObjectContainer`
| `scaleToDPI:Boolean` (default = `true`)``

Method Detail

buttonInitializer | () | method

`protected function buttonInitializer(button:Button):void`

Parameters

| `button:Button`

calloutInitializer | () | method |

`protected function calloutInitializer(callout:Callout):void`

Parameters

| `callout:Callout`

checkInitializer | () | method |

`protected function checkInitializer(check:Check):void`

Parameters

| `check:Check`

groupedListInitializer | () | method |

`protected function groupedListInitializer(list:GroupedList):void`

Parameters

| `list:GroupedList`

headerOrFooterRendererInitializer | () | method |

`protected function headerOrFooterRendererInitializer(renderer:DefaultGroupedListHeaderOrFooterRenderer):void`

Parameters

| `renderer:DefaultGroupedListHeaderOrFooterRenderer`

initialize | () | method |

`protected function initialize():void`

itemRendererInitializer | () | method |

`protected function itemRendererInitializer(renderer:BaseDefaultItemRenderer):void`

Parameters

| `renderer:BaseDefaultItemRenderer`

labelInitializer | () | method |

`protected function labelInitializer(label:BitmapFontTextRenderer):void`

Parameters

| `label:BitmapFontTextRenderer`

listInitializer | () | method |

`protected function listInitializer(list:List):void`

Parameters

| `list:List`

nothingInitializer | () | method |

`protected function nothingInitializer(target:DisplayObject):void`

Parameters

| `target:DisplayObject`

pickerListButtonInitializer | () | method |

`protected function pickerListButtonInitializer(button:Button):void`

Parameters

| `button:Button`

pickerListInitializer | () | method |

`protected function pickerListInitializer(list:PickerList):void`

Parameters

| `list:PickerList`

progressBarInitializer | () | method |

`protected function progressBarInitializer(progress:ProgressBar):void`

Parameters

| `progress:ProgressBar`

radioInitializer | () | method |

`protected function radioInitializer(radio:Radio):void`

Parameters

| `radio:Radio`

root_addedToStageHandler | () | method |

`protected function root_addedToStageHandler(event:Event):void`

Parameters

| `event:Event`

screenHeaderInitializer | () | method |

`protected function screenHeaderInitializer(header:Header):void`

Parameters

| `header:Header`

simpleScrollBarThumbInitializer | () | method |

`protected function simpleScrollBarThumbInitializer(thumb:Button):void`

Parameters

| `thumb:Button`

sliderInitializer | () | method |

`protected function sliderInitializer(slider:Slider):void`

Parameters

| `slider:Slider`

sliderThumbInitializer | () | method |

`protected function sliderThumbInitializer(thumb:Button):void`

Parameters

| `thumb:Button`

tabInitializer | () | method |

`protected function tabInitializer(tab:Button):void`

Parameters

| `tab:Button`

textInputInitializer | () | method |

`protected function textInputInitializer(input:TextInput):void`

Parameters

| `input:TextInput`

toggleSwitchInitializer | () | method |

`protected function toggleSwitchInitializer(toggleSwitch:ToggleSwitch):void`

Parameters

| `toggleSwitch:ToggleSwitch`

toggleSwitchOnTrackInitializer | () | method |

`protected function toggleSwitchOnTrackInitializer(track:Button):void`

Parameters

| `track:Button`

toggleSwitchThumbInitializer | () | method |

`protected function toggleSwitchThumbInitializer(thumb:Button):void`

Parameters

| `thumb:Button`

toolBarButtonInitializer | () | method |

`protected function toolBarButtonInitializer(button:Button):void`

Parameters

| `button:Button`

Constant Detail

ATLAS | Constant

`public static const ATLAS:TextureAtlas`

ATLAS_FONT_XML | Constant |

`protected static const ATLAS_FONT_XML:Class`

ATLAS_IMAGE | Constant |

`protected static const ATLAS_IMAGE:Class`

ATLAS_XML | Constant |

`protected static const ATLAS_XML:Class`

BACKGROUND_COLOR | Constant |

`protected static const BACKGROUND_COLOR:uint = 0xf3f3f3`

BITMAP_FONT | Constant |

`protected static const BITMAP_FONT:BitmapFont`

BUTTON_DISABLED_SKIN_TEXTURES | Constant |

`protected static const BUTTON_DISABLED_SKIN_TEXTURES:Scale9Textures`

BUTTON_DOWN_SKIN_TEXTURES | Constant |

`protected static const BUTTON_DOWN_SKIN_TEXTURES:Scale9Textures`

BUTTON_SELECTED_SKIN_TEXTURES | Constant |

`protected static const BUTTON_SELECTED_SKIN_TEXTURES:Scale9Textures`

BUTTON_UP_SKIN_TEXTURES | Constant |

`protected static const BUTTON_UP_SKIN_TEXTURES:Scale9Textures`

CALLOUT_BOTTOM_ARROW_SKIN_TEXTURE | Constant |

`protected static const CALLOUT_BOTTOM_ARROW_SKIN_TEXTURE:Texture`

CALLOUT_LEFT_ARROW_SKIN_TEXTURE | Constant |

`protected static const CALLOUT_LEFT_ARROW_SKIN_TEXTURE:Texture`

CALLOUT_RIGHT_ARROW_SKIN_TEXTURE | Constant |

`protected static const CALLOUT_RIGHT_ARROW_SKIN_TEXTURE:Texture`

CALLOUT_TOP_ARROW_SKIN_TEXTURE | Constant |

`protected static const CALLOUT_TOP_ARROW_SKIN_TEXTURE:Texture`

CHECK_SCALE_9_GRID | Constant |

`protected static const CHECK_SCALE_9_GRID:Rectangle`

CHECK_SELECTED_ICON_TEXTURES | Constant |

`protected static const CHECK_SELECTED_ICON_TEXTURES:Scale9Textures`

DROP_DOWN_ARROW_TEXTURE | Constant |

`protected static const DROP_DOWN_ARROW_TEXTURE:Texture`

HEADER_SKIN_TEXTURES | Constant |

`protected static const HEADER_SKIN_TEXTURES:Scale9Textures`

INSET_BACKGROUND_DISABLED_SKIN_TEXTURES | Constant |

`protected static const INSET_BACKGROUND_DISABLED_SKIN_TEXTURES:Scale9Textures`

INSET_BACKGROUND_SKIN_TEXTURES | Constant |

`protected static const INSET_BACKGROUND_SKIN_TEXTURES:Scale9Textures`

INSET_TEXT_COLOR | Constant |

`protected static const INSET_TEXT_COLOR:uint = 0x333333`

LIST_ITEM_DOWN_TEXTURE | Constant |

`protected static const LIST_ITEM_DOWN_TEXTURE:Texture`

LIST_ITEM_SELECTED_TEXTURE | Constant |

`protected static const LIST_ITEM_SELECTED_TEXTURE:Texture`

LIST_ITEM_UP_TEXTURE | Constant |

`protected static const LIST_ITEM_UP_TEXTURE:Texture`

ORIGINAL_DPI_IPAD_RETINA | Constant |

`protected static const ORIGINAL_DPI_IPAD_RETINA:int = 264`

ORIGINAL_DPI_IPHONE_RETINA | Constant |

`protected static const ORIGINAL_DPI_IPHONE_RETINA:int = 326`

POPUP_BACKGROUND_SKIN_TEXTURES | Constant |

`protected static const POPUP_BACKGROUND_SKIN_TEXTURES:Scale9Textures`

PRIMARY_TEXT_COLOR | Constant |

`protected static const PRIMARY_TEXT_COLOR:uint = 0x666666`

RADIO_ICON_TEXTURE | Constant |

`protected static const RADIO_ICON_TEXTURE:Texture`

RADIO_SELECTED_ICON_TEXTURE | Constant |

`protected static const RADIO_SELECTED_ICON_TEXTURE:Texture`

SCALE_9_GRID | Constant |

`protected static const SCALE_9_GRID:Rectangle`

SCROLL_BAR_THUMB_SKIN_TEXTURES | Constant |

`protected static const SCROLL_BAR_THUMB_SKIN_TEXTURES:Scale9Textures`

SCROLLBAR_THUMB_SCALE_9_GRID | Constant |

`protected static const SCROLLBAR_THUMB_SCALE_9_GRID:Rectangle`

SELECTED_TEXT_COLOR | Constant |

`protected static const SELECTED_TEXT_COLOR:uint = 0x333333`

TAB_DOWN_SKIN_TEXTURES | Constant |

`protected static const TAB_DOWN_SKIN_TEXTURES:Scale9Textures`

TAB_SCALE_9_GRID | Constant |

`protected static const TAB_SCALE_9_GRID:Rectangle`

TAB_SELECTED_SKIN_TEXTURES | Constant |

`protected static const TAB_SELECTED_SKIN_TEXTURES:Scale9Textures`

TAB_UP_SKIN_TEXTURES | Constant |

`protected static const TAB_UP_SKIN_TEXTURES:Scale9Textures`

THUMB_SKIN_TEXTURES | Constant |

`protected static const THUMB_SKIN_TEXTURES:Scale9Textures`

TOOLBAR_BUTTON_DOWN_SKIN_TEXTURES | Constant |

`protected static const TOOLBAR_BUTTON_DOWN_SKIN_TEXTURES:Scale9Textures`

TOOLBAR_BUTTON_SELECTED_SKIN_TEXTURES | Constant |

`protected static const TOOLBAR_BUTTON_SELECTED_SKIN_TEXTURES:Scale9Textures`

TOOLBAR_BUTTON_UP_SKIN_TEXTURES | Constant |

`protected static const TOOLBAR_BUTTON_UP_SKIN_TEXTURES:Scale9Textures`

Thu Jan 16 2014, 01:11 PM +08:00