C# Class MonoGdx.Scene2D.UI.Dialog

Inheritance: Window
Show file Open project: jaquadro/MonoGdx

Public Properties

Property Type Description
FadeDuration float

Public Methods

Method Description
AddButton ( Button button ) : void
AddButton ( Button button, object obj ) : void
AddButton ( string text ) : void
AddButton ( string text, object obj ) : void
AddButton ( string text, object obj, TextButtonStyle buttonStyle ) : void
AddText ( Label label ) : void
AddText ( string text ) : void
AddText ( string text, LabelStyle labelStyle ) : void
Cancel ( ) : void
Dialog ( string title, Skin skin ) : System
Dialog ( string title, Skin skin, string windowStyleName ) : System
Dialog ( string title, WindowStyle windowStyle ) : System
Hide ( ) : void
SetKey ( int keycode, object obj ) : void
SetObject ( Actor actor, object obj ) : void
Show ( Stage stage ) : void

Protected Methods

Method Description
OnLostKeyboardFocus ( KeyboardFocusChangedEventArgs e ) : void
OnLostScrollFocus ( ScrollFocusChangedEventArgs e ) : void
Result ( object obj ) : void

Private Methods

Method Description
CancelTouchDownHandler ( Actor sender, TouchEventArgs e ) : void
Initialize ( ) : void

Method Details

AddButton() public method

public AddButton ( Button button ) : void
button Button
return void

AddButton() public method

public AddButton ( Button button, object obj ) : void
button Button
obj object
return void

AddButton() public method

public AddButton ( string text ) : void
text string
return void

AddButton() public method

public AddButton ( string text, object obj ) : void
text string
obj object
return void

AddButton() public method

public AddButton ( string text, object obj, TextButtonStyle buttonStyle ) : void
text string
obj object
buttonStyle TextButtonStyle
return void

AddText() public method

public AddText ( Label label ) : void
label Label
return void

AddText() public method

public AddText ( string text ) : void
text string
return void

AddText() public method

public AddText ( string text, LabelStyle labelStyle ) : void
text string
labelStyle LabelStyle
return void

Cancel() public method

public Cancel ( ) : void
return void

Dialog() public method

public Dialog ( string title, Skin skin ) : System
title string
skin Skin
return System

Dialog() public method

public Dialog ( string title, Skin skin, string windowStyleName ) : System
title string
skin Skin
windowStyleName string
return System

Dialog() public method

public Dialog ( string title, WindowStyle windowStyle ) : System
title string
windowStyle WindowStyle
return System

Hide() public method

public Hide ( ) : void
return void

OnLostKeyboardFocus() protected method

protected OnLostKeyboardFocus ( KeyboardFocusChangedEventArgs e ) : void
e KeyboardFocusChangedEventArgs
return void

OnLostScrollFocus() protected method

protected OnLostScrollFocus ( ScrollFocusChangedEventArgs e ) : void
e ScrollFocusChangedEventArgs
return void

Result() protected method

protected Result ( object obj ) : void
obj object
return void

SetKey() public method

public SetKey ( int keycode, object obj ) : void
keycode int
obj object
return void

SetObject() public method

public SetObject ( Actor actor, object obj ) : void
actor Actor
obj object
return void

Show() public method

public Show ( Stage stage ) : void
stage Stage
return void

Property Details

FadeDuration public static property

public static float FadeDuration
return float