}
- public static TextField GetTextFieldFromPtr(global::System.IntPtr cPtr) {
+ internal static TextField GetTextFieldFromPtr(global::System.IntPtr cPtr) {
TextField ret = new TextField(cPtr, false);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public class Property : global::System.IDisposable {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal Property(global::System.IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj) {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~Property() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if (swigCPtr.Handle != global::System.IntPtr.Zero) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_TextField_Property(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- }
- }
-
- public Property() : this(NDalicPINVOKE.new_TextField_Property(), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
+ public class Property
+ {
public static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextField_Property_RENDERING_BACKEND_get();
public static readonly int TEXT = NDalicPINVOKE.TextField_Property_TEXT_get();
public static readonly int PLACEHOLDER_TEXT = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_get();
}
- public class InputStyle : global::System.IDisposable {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal InputStyle(global::System.IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InputStyle obj) {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~InputStyle() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if (swigCPtr.Handle != global::System.IntPtr.Zero) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_TextField_InputStyle(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- }
- }
-
- public InputStyle() : this(NDalicPINVOKE.new_TextField_InputStyle(), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public enum Mask {
+ public class InputStyle
+ {
+ public enum Mask
+ {
NONE = 0x0000,
COLOR = 0x0001,
FONT_FAMILY = 0x0002,
EMBOSS = 0x0040,
OUTLINE = 0x0080
}
-
}
public TextField () : this (NDalicPINVOKE.TextField_New(), true) {
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public TextField Assign(TextField handle) {
- TextField ret = new TextField(NDalicPINVOKE.TextField_Assign(swigCPtr, TextField.getCPtr(handle)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public new static TextField DownCast(BaseHandle handle) {
+ internal new static TextField DownCast(BaseHandle handle) {
TextField ret = new TextField(NDalicPINVOKE.TextField_DownCast(BaseHandle.getCPtr(handle)), true);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public TextFieldSignal TextChangedSignal() {
+ internal TextFieldSignal TextChangedSignal() {
TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_TextChangedSignal(swigCPtr), false);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public TextFieldSignal MaxLengthReachedSignal() {
+ internal TextFieldSignal MaxLengthReachedSignal() {
TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_MaxLengthReachedSignal(swigCPtr), false);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t InputStyleChangedSignal() {
+ internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t InputStyleChangedSignal() {
SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t ret = new SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t(NDalicPINVOKE.TextField_InputStyleChangedSignal(swigCPtr), false);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public enum PropertyRange {
- PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
- PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX+1000
- }
-
public enum ExceedPolicyType {
EXCEED_POLICY_ORIGINAL,
EXCEED_POLICY_CLIP
}
- public int RenderingBackend
- {
- get
- {
- int temp = 0;
- GetProperty( TextField.Property.RENDERING_BACKEND).Get( ref temp );
- return temp;
- }
- set
- {
- SetProperty( TextField.Property.RENDERING_BACKEND, new Dali.Property.Value( value ) );
- }
- }
public string Text
{
get
get
{
float temp = 0.0f;
- GetProperty( TextField.Property.POINT_SIZE).Get( ref temp );
+ GetProperty( TextField.Property.POINT_SIZE).Get( out temp );
return temp;
}
set
get
{
int temp = 0;
- GetProperty( TextField.Property.MAX_LENGTH).Get( ref temp );
+ GetProperty( TextField.Property.MAX_LENGTH).Get( out temp );
return temp;
}
set
get
{
int temp = 0;
- GetProperty( TextField.Property.EXCEED_POLICY).Get( ref temp );
+ GetProperty( TextField.Property.EXCEED_POLICY).Get( out temp );
return temp;
}
set
get
{
bool temp = false;
- GetProperty( TextField.Property.ENABLE_CURSOR_BLINK).Get( ref temp );
+ GetProperty( TextField.Property.ENABLE_CURSOR_BLINK).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( TextField.Property.CURSOR_BLINK_INTERVAL).Get( ref temp );
+ GetProperty( TextField.Property.CURSOR_BLINK_INTERVAL).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( TextField.Property.CURSOR_BLINK_DURATION).Get( ref temp );
+ GetProperty( TextField.Property.CURSOR_BLINK_DURATION).Get( out temp );
return temp;
}
set
get
{
int temp = 0;
- GetProperty( TextField.Property.CURSOR_WIDTH).Get( ref temp );
+ GetProperty( TextField.Property.CURSOR_WIDTH).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( TextField.Property.SCROLL_THRESHOLD).Get( ref temp );
+ GetProperty( TextField.Property.SCROLL_THRESHOLD).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( TextField.Property.SCROLL_SPEED).Get( ref temp );
+ GetProperty( TextField.Property.SCROLL_SPEED).Get( out temp );
return temp;
}
set
get
{
bool temp = false;
- GetProperty( TextField.Property.ENABLE_MARKUP).Get( ref temp );
+ GetProperty( TextField.Property.ENABLE_MARKUP).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( TextField.Property.INPUT_POINT_SIZE).Get( ref temp );
+ GetProperty( TextField.Property.INPUT_POINT_SIZE).Get( out temp );
return temp;
}
set