C# Класс Nez.UI.CheckBox

A checkbox is a button that contains an image indicating the checked or unchecked state and a label
Наследование: TextButton
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

CheckBox() публичный Метод

public CheckBox ( string text, CheckBoxStyle style ) : System
text string
style CheckBoxStyle
Результат System

CheckBox() публичный Метод

public CheckBox ( string text, Skin skin, string styleName = null ) : System
text string
skin Skin
styleName string
Результат System

draw() публичный Метод

public draw ( Graphics graphics, float parentAlpha ) : void
graphics Graphics
parentAlpha float
Результат void

getImage() публичный Метод

public getImage ( ) : Image
Результат Image

getImageCell() публичный Метод

public getImageCell ( ) : Cell
Результат Cell

getStyle() публичный Метод

Returns the checkbox's style. Modifying the returned style may not have an effect until {@link #setStyle(ButtonStyle)} is called
public getStyle ( ) : CheckBoxStyle
Результат CheckBoxStyle

setStyle() публичный Метод

public setStyle ( ButtonStyle style ) : void
style ButtonStyle
Результат void