using System;
using System.Runtime.InteropServices;
-
+ /// <summary>
+ /// A control which provides a multi-line editable text editor.
+ /// </summary>
public class TextEditor : View
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
DisposeQueue.Instance.Add(this);
}
+ /// <summary>
+ /// Dispose.
+ /// </summary>
public override void Dispose()
{
if (!Stage.IsInstalled())
- /**
- * @brief Event arguments that passed via TextChanged signal
- *
- */
+ /// <summary>
+ /// Event arguments that passed via TextChanged signal.
+ /// </summary>
public class TextChangedEventArgs : EventArgs
{
private TextEditor _textEditor;
- /**
- * @brief TextEditor - is the texteditor control which has the text contents changed.
- *
- */
+
+ /// <summary>
+ /// TextEditor - is the texteditor control which has the text contents changed.
+ /// </summary>
public TextEditor TextEditor
{
get
private EventHandler<TextChangedEventArgs> _textEditorTextChangedEventHandler;
private TextChangedCallbackDelegate _textEditorTextChangedCallbackDelegate;
- /**
- * @brief Event for TextChanged signal which can be used to subscribe/unsubscribe the event handler
- * (in the type of TextChangedEventHandler-DaliEventHandler<object,TextChangedEventArgs>)
- * provided by the user. TextChanged signal is emitted when the text changes.
- */
+ /// <summary>
+ /// Event for TextChanged signal which can be used to subscribe/unsubscribe the event handler
+ /// provided by the user. TextChanged signal is emitted when the text changes.
+ /// </summary>
public event EventHandler<TextChangedEventArgs> TextChanged
{
add
}
+ /// <summary>
+ /// Creates an empty handle.
+ /// </summary>
public TextEditor() : this(NDalicPINVOKE.TextEditor_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
+ /// <summary>
+ /// Downcasts a handle to TextEditor.
+ /// </summary>
public new static TextEditor DownCast(BaseHandle handle)
{
TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_DownCast(BaseHandle.getCPtr(handle)), true);
PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
}
+ /// <summary>
+ /// Rendering backend property
+ /// </summary>
public int RenderingBackend
{
get
SetProperty(TextEditor.Property.RENDERING_BACKEND, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Text property.
+ /// </summary>
public string Text
{
get
SetProperty(TextEditor.Property.TEXT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Text color property.
+ /// </summary>
public Vector4 TextColor
{
get
SetProperty(TextEditor.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Font family property.
+ /// </summary>
public string FontFamily
{
get
SetProperty(TextEditor.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Font style property.
+ /// </summary>
public PropertyMap FontStyle
{
get
SetProperty(TextEditor.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Point size property.
+ /// </summary>
public float PointSize
{
get
SetProperty(TextEditor.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Horizontal alignment property.
+ /// </summary>
public string HorizontalAlignment
{
get
SetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Scroll threshold property.
+ /// </summary>
public float ScrollThreshold
{
get
SetProperty(TextEditor.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Scroll speed property.
+ /// </summary>
public float ScrollSpeed
{
get
SetProperty(TextEditor.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Primary cursor color property.
+ /// </summary>
public Vector4 PrimaryCursorColor
{
get
SetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SecondaryCursorColor property.
+ /// </summary>
public Vector4 SecondaryCursorColor
{
get
SetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// EnableCursorBlink property.
+ /// </summary>
public bool EnableCursorBlink
{
get
SetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// CursorBlinkInterval property.
+ /// </summary>
public float CursorBlinkInterval
{
get
SetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// CursorBlinkDuration property.
+ /// </summary>
public float CursorBlinkDuration
{
get
SetProperty(TextEditor.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// CursorWidth property.
+ /// </summary>
public int CursorWidth
{
get
SetProperty(TextEditor.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// GrabHandleImage property.
+ /// </summary>
public string GrabHandleImage
{
get
SetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// GrabHandlePressedImage property.
+ /// </summary>
public string GrabHandlePressedImage
{
get
SetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandleImageLeft property.
+ /// </summary>
public PropertyMap SelectionHandleImageLeft
{
get
SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandleImageRight property.
+ /// </summary>
public PropertyMap SelectionHandleImageRight
{
get
SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandlePressedImageLeft property.
+ /// </summary>
public PropertyMap SelectionHandlePressedImageLeft
{
get
SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandlePressedImageRight property.
+ /// </summary>
public PropertyMap SelectionHandlePressedImageRight
{
get
SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandleMarkerImageLeft property.
+ /// </summary>
public PropertyMap SelectionHandleMarkerImageLeft
{
get
SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandleMarkerImageRight property.
+ /// </summary>
public PropertyMap SelectionHandleMarkerImageRight
{
get
SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHighlightColor property.
+ /// </summary>
public Vector4 SelectionHighlightColor
{
get
SetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// DecorationBoundingBox property.
+ /// </summary>
public Rectangle DecorationBoundingBox
{
get
SetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// EnableMarkup property.
+ /// </summary>
public bool EnableMarkup
{
get
SetProperty(TextEditor.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputColor property.
+ /// </summary>
public Vector4 InputColor
{
get
SetProperty(TextEditor.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputFontFamily property.
+ /// </summary>
public string InputFontFamily
{
get
SetProperty(TextEditor.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputFontStyle property.
+ /// </summary>
public PropertyMap InputFontStyle
{
get
SetProperty(TextEditor.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputPointSize property.
+ /// </summary>
public float InputPointSize
{
get
SetProperty(TextEditor.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// LineSpacing property.
+ /// </summary>
public float LineSpacing
{
get
SetProperty(TextEditor.Property.LINE_SPACING, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputLineSpacing property.
+ /// </summary>
public float InputLineSpacing
{
get
SetProperty(TextEditor.Property.INPUT_LINE_SPACING, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Underline property.
+ /// </summary>
public PropertyMap Underline
{
get
SetProperty(TextEditor.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputUnderline property.
+ /// </summary>
public PropertyMap InputUnderline
{
get
SetProperty(TextEditor.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Shadow property.
+ /// </summary>
public PropertyMap Shadow
{
get
SetProperty(TextEditor.Property.SHADOW, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputShadow property.
+ /// </summary>
public PropertyMap InputShadow
{
get
SetProperty(TextEditor.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Emboss property.
+ /// </summary>
public PropertyMap Emboss
{
get
SetProperty(TextEditor.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputEmboss property.
+ /// </summary>
public PropertyMap InputEmboss
{
get
SetProperty(TextEditor.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Outline property.
+ /// </summary>
public PropertyMap Outline
{
get
SetProperty(TextEditor.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputOutline property.
+ /// </summary>
public PropertyMap InputOutline
{
get