Packagecom.afcomponents.umap.gui.button
Classpublic class ButtonSkin

ButtonSkin



Public Properties
 PropertyDefined by
  down : Class
[read-only] Returns the skin class for down state
ButtonSkin
  hitTest : Class
[read-only] Returns the skin class for hitTest
ButtonSkin
  over : Class
[read-only] Returns the skin class for over state
ButtonSkin
  up : Class
[read-only] Returns the skin class for up state
ButtonSkin
Public Methods
 MethodDefined by
  
ButtonSkin(up:Class, down:Class, over:Class, hitTest:Class = null)
ButtonSkin
  
apply(button:GuiButton):void
ButtonSkin
  
ButtonSkin
  
dispose():void
Releases all the resources accuired by the object.
ButtonSkin
  
setIcon(up:Class, down:Class, over:Class):void
ButtonSkin
Property detail
downproperty
down:Class  [read-only]

Returns the skin class for down state

Implementation
    public function get down():Class
hitTestproperty 
hitTest:Class  [read-only]

Returns the skin class for hitTest

Implementation
    public function get hitTest():Class
overproperty 
over:Class  [read-only]

Returns the skin class for over state

Implementation
    public function get over():Class
upproperty 
up:Class  [read-only]

Returns the skin class for up state

Implementation
    public function get up():Class
Constructor detail
ButtonSkin()constructor
public function ButtonSkin(up:Class, down:Class, over:Class, hitTest:Class = null)

Parameters
up:Class
 
down:Class
 
over:Class
 
hitTest:Class (default = null)
Method detail
apply()method
public function apply(button:GuiButton):void

Parameters
button:GuiButton
clone()method 
public function clone():ButtonSkin

Returns
ButtonSkin
dispose()method 
public function dispose():void

Releases all the resources accuired by the object.

setIcon()method 
public function setIcon(up:Class, down:Class, over:Class):void

Parameters
up:Class
 
down:Class
 
over:Class