EditableText Class Reference

Editable text widget. More...

Inheritance diagram for EditableText:
Widget

List of all members.

Public Member Functions

 EditableText ()
 Constructor.

Protected Member Functions

override void DisposeSelf ()
 Frees used resources.
override void OnPressStateChanged (PressStateChangedEventArgs e)
 Called when the press status changes.
override void OnUpdate (float elapsedTime)
 Update processing.
internal override void Render ()
 Renders a scene graph.

Properties

override float Width [get, set]
 Obtains and sets the width.
override float Height [get, set]
 Obtains and sets the height.
string Text [get, set]
 Obtains and sets the character string.
UIFont Font [get, set]
 Obtains and sets the font of the character string.
UIColor TextColor [get, set]
 Obtains and sets the color of the character string.
string DefaultText [get, set]
 Obtains and sets the default character string.
UIFont DefaultFont [get, set]
 Obtains and sets the font of the default character string.
UIColor DefaultTextColor [get, set]
 Obtains and sets the color of the default character string.
TextShadowSettings TextShadow [get, set]
 Obtains and sets the shadow of the character string.
HorizontalAlignment HorizontalAlignment [get, set]
 Obtains and sets the horizontal alignment for character strings or icon images.
VerticalAlignment VerticalAlignment [get, set]
 Obtains and sets the vertical alignment for character strings or icon images.
LineBreak LineBreak [get, set]
 Obtains and sets the break method of the character string.
TextTrimming TextTrimming [get, set]
 Obtains and sets the cropping method of the character string.
float LineGap [get, set]
 Obtains and sets the row spacing.
TextInputMode TextInputMode [get, set]
 Obtains and sets the operation mode for text input.

Events

EventHandler
< TextChangedEventArgs
TextChanged
 Event issued when Text property is changed.

Detailed Description

Editable text widget.


Member Function Documentation

override void OnPressStateChanged ( PressStateChangedEventArgs  e) [protected, virtual]

Called when the press status changes.

Parameters:
eEvent argument

Reimplemented from Widget.

override void OnUpdate ( float  elapsedTime) [protected, virtual]

Update processing.

Parameters:
elapsedTimeElapsed time from previous update (ms)

Reimplemented from Widget.


Property Documentation

float LineGap [get, set]

Obtains and sets the row spacing.

Default value is 0