C# Class Knot3.Game.Widgets.TextInputDialog

Inheritance: Knot3.Framework.Widgets.Dialog, IKeyEventListener
Afficher le fichier Open project: knot3/knot3-code Class Usage Examples

Méthodes publiques

Свойство Type Description
Cancel Action
Submit Action

Méthodes publiques

Méthode Description
OnKeyEvent ( List key, KeyEvent keyEvent, GameTime time ) : void

SubComponents ( GameTime time ) : IEnumerable
TextInputDialog ( IScreen screen, DisplayLayer drawOrder, string title, string text, string inputText ) : System

Erstelle einen neuen TextInputDialog.

Method Details

OnKeyEvent() public méthode

public OnKeyEvent ( List key, KeyEvent keyEvent, GameTime time ) : void
key List
keyEvent KeyEvent
time Microsoft.Xna.Framework.GameTime
Résultat void

SubComponents() public méthode

public SubComponents ( GameTime time ) : IEnumerable
time Microsoft.Xna.Framework.GameTime
Résultat IEnumerable

TextInputDialog() public méthode

Erstelle einen neuen TextInputDialog.
public TextInputDialog ( IScreen screen, DisplayLayer drawOrder, string title, string text, string inputText ) : System
screen IScreen
drawOrder DisplayLayer
title string
text string
inputText string
Résultat System

Property Details

Cancel public_oe property

Wird aufgerufen, wenn der Dialog abgebrochen und geschlossen wird.
public Action Cancel
Résultat Action

Submit public_oe property

Wird aufgerufen, wenn der Text im Dialog abgesendet werden soll und der Dialog geschlossen wird.
public Action Submit
Résultat Action