Tizen Native API
4.0
|
A control which provides a multi-line editable text editor. More...
Classes | |
struct | InputStyle |
Mask used by the signal InputStyleChangedSignal(). Notifies which parameters of the input style have changed. More... | |
struct | Property |
Enumeration for the instance of properties belonging to the TextEditor class. More... | |
struct | Scroll |
Enumerations for the type of scrolling. More... | |
Public Types | |
enum | PropertyRange |
Enumeration for the start and end property ranges for this control. More... | |
typedef Signal< void(TextEditor) > | TextChangedSignalType |
Text changed signal type. | |
typedef Signal< void(TextEditor, InputStyle::Mask) > | InputStyleChangedSignalType |
Input Style changed signal type. | |
typedef Signal< void(TextEditor, Scroll::Type) > | ScrollStateChangedSignalType |
Scroll state changed signal type. | |
Public Member Functions | |
TextEditor () | |
Creates an empty handle. | |
TextEditor (const TextEditor &handle) | |
Copy constructor. | |
TextEditor & | operator= (const TextEditor &handle) |
Assignment operator. | |
~TextEditor () | |
Destructor. | |
TextChangedSignalType & | TextChangedSignal () |
This signal is emitted when the text changes. | |
InputStyleChangedSignalType & | InputStyleChangedSignal () |
This signal is emitted when the input style is updated as a consequence of a change in the cursor position. i.e. The signal is not emitted when the input style is updated through the property system. | |
ScrollStateChangedSignalType & | ScrollStateChangedSignal () |
This signal is emitted when TextEditor scrolling is started or finished. | |
Static Public Member Functions | |
static TextEditor | New () |
Creates the TextEditor control. | |
static TextEditor | DownCast (BaseHandle handle) |
Downcasts a handle to TextEditor. |
A control which provides a multi-line editable text editor.
Signals | Signal Name | Method | | |----------------------|--------------------------------|--------------------| | textChanged | TextChangedSignal() |
typedef Signal<void ( TextEditor, InputStyle::Mask ) > Dali::Toolkit::TextEditor::InputStyleChangedSignalType |
Input Style changed signal type.
typedef Signal< void ( TextEditor, Scroll::Type ) > Dali::Toolkit::TextEditor::ScrollStateChangedSignalType |
Scroll state changed signal type.
typedef Signal<void ( TextEditor ) > Dali::Toolkit::TextEditor::TextChangedSignalType |
Text changed signal type.
Enumeration for the start and end property ranges for this control.
Reimplemented from Dali::Toolkit::Control.
Creates an empty handle.
Dali::Toolkit::TextEditor::TextEditor | ( | const TextEditor & | handle | ) |
Copy constructor.
[in] | handle | The handle to copy from |
Destructor.
This is non-virtual since derived Handle types must not contain data or virtual methods.
static TextEditor Dali::Toolkit::TextEditor::DownCast | ( | BaseHandle | handle | ) | [static] |
Downcasts a handle to TextEditor.
If the BaseHandle points is a TextEditor, the downcast returns a valid handle. If not, the returned handle is left empty.
[in] | handle | Handle to an object |
Reimplemented from Dali::Toolkit::Control.
This signal is emitted when the input style is updated as a consequence of a change in the cursor position. i.e. The signal is not emitted when the input style is updated through the property system.
A callback of the following type may be connected. The mask
parameter notifies which parts of the style have changed.
void YourCallbackName( TextEditor textEditor, TextEditor::InputStyle::Mask mask );
static TextEditor Dali::Toolkit::TextEditor::New | ( | ) | [static] |
Creates the TextEditor control.
Reimplemented from Dali::Toolkit::Control.
TextEditor& Dali::Toolkit::TextEditor::operator= | ( | const TextEditor & | handle | ) |
Assignment operator.
[in] | handle | The handle to copy from |
This signal is emitted when TextEditor scrolling is started or finished.
A callback of the following type may be connected:
void YourCallbackName( Scroll::Type type );
type: Whether the scrolling is started or finished.
This signal is emitted when the text changes.
A callback of the following type may be connected:
void YourCallbackName( TextEditor textEditor );