C# Class Nez.UI.CheckBox

A checkbox is a button that contains an image indicating the checked or unchecked state and a label
Inheritance: TextButton
Afficher le fichier Open project: prime31/Nez Class Usage Examples

Méthodes publiques

Méthode Description
CheckBox ( string text, CheckBoxStyle style ) : System
CheckBox ( string text, Skin skin, string styleName = null ) : System
draw ( Graphics graphics, float parentAlpha ) : void
getImage ( ) : Image
getImageCell ( ) : Cell
getStyle ( ) : CheckBoxStyle

Returns the checkbox's style. Modifying the returned style may not have an effect until {@link #setStyle(ButtonStyle)} is called

setStyle ( ButtonStyle style ) : void

Method Details

CheckBox() public méthode

public CheckBox ( string text, CheckBoxStyle style ) : System
text string
style CheckBoxStyle
Résultat System

CheckBox() public méthode

public CheckBox ( string text, Skin skin, string styleName = null ) : System
text string
skin Skin
styleName string
Résultat System

draw() public méthode

public draw ( Graphics graphics, float parentAlpha ) : void
graphics Graphics
parentAlpha float
Résultat void

getImage() public méthode

public getImage ( ) : Image
Résultat Image

getImageCell() public méthode

public getImageCell ( ) : Cell
Résultat Cell

getStyle() public méthode

Returns the checkbox's style. Modifying the returned style may not have an effect until {@link #setStyle(ButtonStyle)} is called
public getStyle ( ) : CheckBoxStyle
Résultat CheckBoxStyle

setStyle() public méthode

public setStyle ( ButtonStyle style ) : void
style ButtonStyle
Résultat void