C# Class MonoGdx.Scene2D.UI.Button

Inheritance: Table
Show file Open project: jaquadro/MonoGdx Class Usage Examples

Public Properties

Property Type Description
CheckedEvent RoutedEvent
ClickEvent RoutedEvent
ToggleEvent RoutedEvent
UncheckedEvent RoutedEvent

Private Properties

Property Type Description
Initialize void

Public Methods

Method Description
Button ( ) : System
Button ( Actor child, ButtonStyle style ) : System
Button ( Actor child, Skin skin ) : System
Button ( Actor child, Skin skin, string styleName ) : System
Button ( ButtonStyle style ) : System
Button ( ISceneDrawable up ) : System
Button ( ISceneDrawable up, ISceneDrawable down ) : System
Button ( ISceneDrawable up, ISceneDrawable down, ISceneDrawable chkd ) : System
Button ( Skin skin ) : System
Button ( Skin skin, string styleName ) : System
Draw ( GdxSpriteBatch spriteBatch, float parentAlpha ) : void
Toggle ( ) : void

Protected Methods

Method Description
DrawBackground ( GdxSpriteBatch spriteBatch, float parentAlpha ) : void
OnChecked ( ) : bool
OnClicked ( ) : bool
OnToggled ( ) : bool
OnUnchecked ( ) : bool

Private Methods

Method Description
Initialize ( ) : void

Method Details

Button() public method

public Button ( ) : System
return System

Button() public method

public Button ( Actor child, ButtonStyle style ) : System
child Actor
style ButtonStyle
return System

Button() public method

public Button ( Actor child, Skin skin ) : System
child Actor
skin Skin
return System

Button() public method

public Button ( Actor child, Skin skin, string styleName ) : System
child Actor
skin Skin
styleName string
return System

Button() public method

public Button ( ButtonStyle style ) : System
style ButtonStyle
return System

Button() public method

public Button ( ISceneDrawable up ) : System
up ISceneDrawable
return System

Button() public method

public Button ( ISceneDrawable up, ISceneDrawable down ) : System
up ISceneDrawable
down ISceneDrawable
return System

Button() public method

public Button ( ISceneDrawable up, ISceneDrawable down, ISceneDrawable chkd ) : System
up ISceneDrawable
down ISceneDrawable
chkd ISceneDrawable
return System

Button() public method

public Button ( Skin skin ) : System
skin Skin
return System

Button() public method

public Button ( Skin skin, string styleName ) : System
skin Skin
styleName string
return System

Draw() public method

public Draw ( GdxSpriteBatch spriteBatch, float parentAlpha ) : void
spriteBatch MonoGdx.Graphics.G2D.GdxSpriteBatch
parentAlpha float
return void

DrawBackground() protected method

protected DrawBackground ( GdxSpriteBatch spriteBatch, float parentAlpha ) : void
spriteBatch MonoGdx.Graphics.G2D.GdxSpriteBatch
parentAlpha float
return void

OnChecked() protected method

protected OnChecked ( ) : bool
return bool

OnClicked() protected method

protected OnClicked ( ) : bool
return bool

OnToggled() protected method

protected OnToggled ( ) : bool
return bool

OnUnchecked() protected method

protected OnUnchecked ( ) : bool
return bool

Toggle() public method

public Toggle ( ) : void
return void

Property Details

CheckedEvent public static property

public static RoutedEvent CheckedEvent
return RoutedEvent

ClickEvent public static property

public static RoutedEvent ClickEvent
return RoutedEvent

ToggleEvent public static property

public static RoutedEvent ToggleEvent
return RoutedEvent

UncheckedEvent public static property

public static RoutedEvent UncheckedEvent
return RoutedEvent