using Tizen.NUI.BaseComponents;
- internal class Builder : BaseHandle
+ public class Builder : BaseHandle
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
*/
namespace Tizen.NUI
-{
-
- /// <summary>
- /// Three dimensional size
- /// </summary>
- internal class Size : global::System.IDisposable
+{\r
+\r
+ /*********************************************************************************/\r
+ /*** will be removed/deprecated ***/\r
+ /*********************************************************************************/\r
+ public class Size : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
// the SWIG interface file instead.
//------------------------------------------------------------------------------
+using Tizen.NUI.BaseComponents;
+
namespace Tizen.NUI {
internal class VideoViewSignal : global::System.IDisposable {
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-using Tizen.NUI.BaseComponents;
-
-namespace Tizen.NUI
+namespace Tizen.NUI.BaseComponents
{
/// <summary>
/// FlexContainer implements a subset of the flexbox spec (defined by W3C):https://www.w3.org/TR/css3-flexbox/<br>
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI
+namespace Tizen.NUI.BaseComponents
{
using System;
using System.Runtime.InteropServices;
- using Tizen.NUI.BaseComponents;
public class Scrollable : View
{
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-using Tizen.NUI.BaseComponents;
-
-namespace Tizen.NUI
+namespace Tizen.NUI.BaseComponents
{
- using Tizen.NUI.BaseComponents;
+
/// <summary>
/// TableView is a layout container for aligning child actors in a grid like layout.<br>
/// TableView constrains the x and y position and width and height of the child actors.<br>
// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI
+namespace Tizen.NUI.BaseComponents
{
using System;
using System.Runtime.InteropServices;
- using Tizen.NUI.BaseComponents;
/// <summary>
/// VideoView is a control for video playback and display.
}
}
+
+
+
+
+ /*********************************************************************************/
+ /*** will be removed/deprecated ***/
+ /*********************************************************************************/
+ public event EventHandlerWithReturnType<object, TouchEventArgs, bool> Touched
+ {
+ add
+ {
+ if (_touchDataEventHandler == null)
+ {
+ _touchDataCallback = OnTouch;
+ this.TouchSignal().Connect(_touchDataCallback);
+ }
+
+ _touchDataEventHandler += value;
+ }
+
+ remove
+ {
+ _touchDataEventHandler -= value;
+
+ if (_touchDataEventHandler == null && TouchSignal().Empty() == false)
+ {
+ this.TouchSignal().Disconnect(_touchDataCallback);
+ }
+
+ }
+ }
+ public event EventHandlerWithReturnType<object, HoverEventArgs, bool> Hovered
+ {
+ add
+ {
+ if (_hoverEventHandler == null)
+ {
+ _hoverEventCallback = OnHoverEvent;
+ this.HoveredSignal().Connect(_hoverEventCallback);
+ }
+
+ _hoverEventHandler += value;
+ }
+
+ remove
+ {
+ _hoverEventHandler -= value;
+
+ if (_hoverEventHandler == null && HoveredSignal().Empty() == false)
+ {
+ this.HoveredSignal().Disconnect(_hoverEventCallback);
+ }
+
+ }
+ }
+
/// <summary>
/// Get the number of renderers held by the view.
/// </summary>
Implicit, //Called by DisposeQueue
}
+
+
+
+ //will be removed/deprecated
+ public struct AnchorPoint
+ {
+ public static float Top
+ {
+ get
+ {
+ float ret = NDalicPINVOKE.AnchorPointTop_get();
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+ public static float Bottom
+ {
+ get
+ {
+ float ret = NDalicPINVOKE.AnchorPointBottom_get();
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+ public static float Left
+ {
+ get
+ {
+ float ret = NDalicPINVOKE.AnchorPointLeft_get();
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+ public static float Right
+ {
+ get
+ {
+ float ret = NDalicPINVOKE.AnchorPointRight_get();
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+ public static float Middle
+ {
+ get
+ {
+ float ret = NDalicPINVOKE.AnchorPointMiddle_get();
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+ public static Position TopLeft
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+ public static Position TopCenter
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+ public static Position TopRight
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+ public static Position CenterLeft
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+ public static Position Center
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+ public static Position CenterRight
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+ public static Position BottomLeft
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+ public static Position BottomCenter
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+ public static Position BottomRight
+ {
+ get
+ {
+ global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
+ Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+ }
+
/// <summary>
/// An enum of scroll state of text eidtor.
/// </summary>
/// <summary>
/// Slider is a control to enable sliding an indicator between two values.
/// </summary>
- internal class Slider : View
+ public class Slider : View
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
return ret;
}
- /// <summary>
- /// Sets the focus acceptable flag of an window as true.
- /// </summary>
- internal void SetAcceptFocus(bool accept)
+ /*********************************************************************************/\r
+ /*** will be removed/deprecated ***/\r
+ /*********************************************************************************/\r
+ public void SetAcceptFocus(bool accept)
{
NDalicPINVOKE.SetAcceptFocus(swigCPtr, accept);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- /// <summary>
- /// Retrieves whether the window is focus acceptable or not.
- /// </summary>
- internal bool IsFocusAcceptable()
+ /*********************************************************************************/\r
+ /*** will be removed/deprecated ***/\r
+ /*********************************************************************************/\r
+ public bool IsFocusAcceptable()
{
return NDalicPINVOKE.IsFocusAcceptable(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();