Packagefeathers.themes
Classpublic class StyleNameFunctionTheme
InheritanceStyleNameFunctionTheme Inheritance starling.events.EventDispatcher

Product Version : Feathers 2.0.0

Base class for themes that pass a StyleNameFunctionStyleProvider to each component class.

See also

feathers.skins.StyleNameFunctionStyleProvider
Skinning Feathers components
Creating custom Feathers themes


Protected Properties
 PropertyDefined By
  starling : Starling
The Starling instance associated with this theme.
StyleNameFunctionTheme
Public Methods
 MethodDefined By
  
Constructor.
StyleNameFunctionTheme
  
dispose():void
Disposes the theme.
StyleNameFunctionTheme
  
Returns a StyleNameFunctionStyleProvider to be passed to the specified class.
StyleNameFunctionTheme
Property Detail
starlingproperty
protected var starling:Starling

The Starling instance associated with this theme.

Constructor Detail
StyleNameFunctionTheme()Constructor
public function StyleNameFunctionTheme()

Constructor.

Method Detail
dispose()method
public function dispose():void

Disposes the theme.

getStyleProviderForClass()method 
public function getStyleProviderForClass(type:Class):StyleNameFunctionStyleProvider

Returns a StyleNameFunctionStyleProvider to be passed to the specified class.

Parameters

type:Class

Returns
StyleNameFunctionStyleProvider