C# Class Nez.UI.TextButton

Inheritance: Button
ファイルを表示 Open project: prime31/Nez Class Usage Examples

Public Methods

Method Description
TextButton ( string text, Skin skin, string styleName = null ) : System
TextButton ( string text, TextButtonStyle style ) : System
ToString ( ) : string
draw ( Graphics graphics, float parentAlpha ) : void
getLabel ( ) : Label
getLabelCell ( ) : Cell
getStyle ( ) : TextButtonStyle
getText ( ) : string
setStyle ( ButtonStyle style ) : void
setText ( String text ) : void

Method Details

TextButton() public method

public TextButton ( string text, Skin skin, string styleName = null ) : System
text string
skin Skin
styleName string
return System

TextButton() public method

public TextButton ( string text, TextButtonStyle style ) : System
text string
style TextButtonStyle
return System

ToString() public method

public ToString ( ) : string
return string

draw() public method

public draw ( Graphics graphics, float parentAlpha ) : void
graphics Graphics
parentAlpha float
return void

getLabel() public method

public getLabel ( ) : Label
return Label

getLabelCell() public method

public getLabelCell ( ) : Cell
return Cell

getStyle() public method

public getStyle ( ) : TextButtonStyle
return TextButtonStyle

getText() public method

public getText ( ) : string
return string

setStyle() public method

public setStyle ( ButtonStyle style ) : void
style ButtonStyle
return void

setText() public method

public setText ( String text ) : void
text String
return void