Package | feathers.themes |
Class | public class StyleNameFunctionTheme |
Inheritance | StyleNameFunctionTheme ![]() ![]() |
Subclasses | BaseMetalWorksDesktopTheme, BaseMetalWorksMobileTheme |
Product Version : | Feathers 2.0.0 |
StyleNameFunctionStyleProvider
to each component class.
See also
Property | Defined By | ||
---|---|---|---|
starling : Starling
The Starling instance associated with this theme. | StyleNameFunctionTheme |
Method | Defined By | ||
---|---|---|---|
Constructor. | StyleNameFunctionTheme | ||
![]() | addEventListener(type:String, listener:Function):void Registers an event listener at a certain object. | EventDispatcher | |
![]() | dispatchEvent(event:Event):void Dispatches an event to all objects that have registered listeners for its type. | EventDispatcher | |
![]() | dispatchEventWith(type:String, bubbles:Boolean = false, data:Object = null):void Dispatches an event with the given parameters to all objects that have registered
listeners for the given type. | EventDispatcher | |
dispose():void
Disposes the theme. | StyleNameFunctionTheme | ||
Returns a StyleNameFunctionStyleProvider to be passed to
the specified class. | StyleNameFunctionTheme | ||
![]() | hasEventListener(type:String, listener:Function = null):Boolean If called with one argument, figures out if there are any listeners registered for
the given event type. | EventDispatcher | |
![]() | removeEventListener(type:String, listener:Function):void Removes an event listener from the object. | EventDispatcher | |
![]() | removeEventListeners(type:String = null):void Removes all event listeners with a certain type, or all of them if type is null. | EventDispatcher |
starling | property |
protected var starling:Starling
The Starling instance associated with this theme.
StyleNameFunctionTheme | () | Constructor |
public function StyleNameFunctionTheme()
Constructor.
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 |
StyleNameFunctionStyleProvider |