C# Class Axiom.Samples.CheckBox

Basic check box widget.
Inheritance: Widget
显示文件 Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Property Type Description
IsCursorOver bool
isFitToContents bool
square BorderPanel
textArea TextArea
x OverlayElement

Public Methods

Method Description
Check ( ) : void

Check ( bool notifyListener ) : void

CheckBox ( String name, String caption, Real width ) : System

Do not instantiate any widgets directly. Use SdkTrayManager.

OnCheckChanged ( object sender, CheckBox box ) : void
OnCursorMoved ( Vector2 cursorPos ) : void

OnCursorPressed ( Vector2 cursorPos ) : void

OnLostFocus ( ) : void

SetChecked ( bool check, bool notifyListener ) : void

Toggle ( ) : void

Toggle ( bool notifyListener ) : void

Uncheck ( ) : void

Uncheck ( bool notifyListener ) : void

Method Details

Check() public method

public Check ( ) : void
return void

Check() public method

public Check ( bool notifyListener ) : void
notifyListener bool
return void

CheckBox() public method

Do not instantiate any widgets directly. Use SdkTrayManager.
public CheckBox ( String name, String caption, Real width ) : System
name String
caption String
width Real
return System

OnCheckChanged() public method

public OnCheckChanged ( object sender, CheckBox box ) : void
sender object
box CheckBox
return void

OnCursorMoved() public method

public OnCursorMoved ( Vector2 cursorPos ) : void
cursorPos Vector2
return void

OnCursorPressed() public method

public OnCursorPressed ( Vector2 cursorPos ) : void
cursorPos Vector2
return void

OnLostFocus() public method

public OnLostFocus ( ) : void
return void

SetChecked() public method

public SetChecked ( bool check, bool notifyListener ) : void
check bool
notifyListener bool
return void

Toggle() public method

public Toggle ( ) : void
return void

Toggle() public method

public Toggle ( bool notifyListener ) : void
notifyListener bool
return void

Uncheck() public method

public Uncheck ( ) : void
return void

Uncheck() public method

public Uncheck ( bool notifyListener ) : void
notifyListener bool
return void

Property Details

IsCursorOver protected_oe property

protected bool IsCursorOver
return bool

isFitToContents protected_oe property

protected bool isFitToContents
return bool

square protected_oe property

protected BorderPanel square
return BorderPanel

textArea protected_oe property

protected TextArea textArea
return TextArea

x protected_oe property

protected OverlayElement x
return OverlayElement