From: Feng Jin Date: Fri, 29 Sep 2017 19:27:59 +0000 (+0800) Subject: Add tag and document to Tizen.NUI. X-Git-Tag: preview1-00271^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F76%2F153776%2F2;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Add tag and document to Tizen.NUI. Change-Id: I6cb858e7f24111e55c2ff6a19ddac0edbfdab532 Signed-off-by: Feng Jin --- diff --git a/src/Tizen.NUI/src/public/Adaptor.cs b/src/Tizen.NUI/src/public/Adaptor.cs index b843174..8a8d271 100755 --- a/src/Tizen.NUI/src/public/Adaptor.cs +++ b/src/Tizen.NUI/src/public/Adaptor.cs @@ -65,6 +65,7 @@ namespace Tizen.NUI } } + /// 4 public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -270,6 +271,7 @@ namespace Tizen.NUI /// Returns a reference to the instance of the adaptor used by the current thread. /// /// The adaptor has been initialized. This is only valid in the main thread. + /// 4 public static Adaptor Instance { get @@ -334,6 +336,7 @@ namespace Tizen.NUI /// Feeds a wheel event to the adaptor. /// /// The wheel event. + /// 4 public void FeedWheelEvent(Wheel wheelEvent) { NDalicManualPINVOKE.Adaptor_FeedWheelEvent(swigCPtr, Wheel.getCPtr(wheelEvent)); @@ -344,6 +347,7 @@ namespace Tizen.NUI /// Feeds a key event to the adaptor. /// /// The key event holding the key information. + /// 4 public void FeedKeyEvent(Key keyEvent) { NDalicManualPINVOKE.Adaptor_FeedKeyEvent(swigCPtr, Key.getCPtr(keyEvent)); @@ -386,6 +390,7 @@ namespace Tizen.NUI /// /// Adaptor - is the adaptor which has size changed. /// + /// 4 public Adaptor Adaptor { get; @@ -454,6 +459,7 @@ namespace Tizen.NUI /// /// Adaptor - is the adaptor which has language changed. /// + /// 4 public Adaptor Adaptor { get; @@ -515,4 +521,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/AlphaFunction.cs b/src/Tizen.NUI/src/public/AlphaFunction.cs index 41c6088..cfada8c 100755 --- a/src/Tizen.NUI/src/public/AlphaFunction.cs +++ b/src/Tizen.NUI/src/public/AlphaFunction.cs @@ -56,6 +56,7 @@ namespace Tizen.NUI /// /// To make the AlphaFunction instance be disposed. /// + /// 3 public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -110,6 +111,7 @@ namespace Tizen.NUI /// Creates an alpha function object with the user-defined alpha function.
/// /// User defined fuction. It must be a method formatted as float alphafunction(float progress) + /// 3 public AlphaFunction(System.Delegate func) : this(NDalicPINVOKE.new_AlphaFunction__SWIG_2(SWIGTYPE_p_f_float__float.getCPtr(new SWIGTYPE_p_f_float__float(System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func), true))), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -119,6 +121,7 @@ namespace Tizen.NUI /// The default constructor.
/// Creates an alpha function object with the default built-in alpha function.
/// + /// 3 public AlphaFunction() : this(NDalicPINVOKE.new_AlphaFunction__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -129,6 +132,7 @@ namespace Tizen.NUI /// Creates an alpha function object with the built-in alpha function passed as a parameter to the constructor.
/// /// One of the built-in alpha functions. + /// 3 public AlphaFunction(AlphaFunction.BuiltinFunctions function) : this(NDalicPINVOKE.new_AlphaFunction__SWIG_1((int)function), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -146,6 +150,7 @@ namespace Tizen.NUI /// The x components of the control points will be clamped to the range [0, 1] to prevent non-monotonic curves. /// A Vector2 which will be used as the first control point of the curve. /// A Vector2 which will be used as the second control point of the curve. + /// 3 public AlphaFunction(Vector2 controlPoint0, Vector2 controlPoint1) : this(NDalicPINVOKE.new_AlphaFunction__SWIG_3(Vector2.getCPtr(controlPoint0), Vector2.getCPtr(controlPoint1)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -156,6 +161,7 @@ namespace Tizen.NUI /// /// A Vector2 which will be used as the first control point of the curve. /// A Vector2 which will be used as the second control point of the curve. + /// 3 public void GetBezierControlPoints(out Vector2 controlPoint0, out Vector2 controlPoint1) { Vector4 ret = new Vector4(NDalicPINVOKE.AlphaFunction_GetBezierControlPoints(swigCPtr), true); @@ -178,6 +184,7 @@ namespace Tizen.NUI /// In case no built-in function has been specified, it will return AlphaFunction::DEFAULT.
/// /// One of the built-in alpha functions. + /// 3 public AlphaFunction.BuiltinFunctions GetBuiltinFunction() { AlphaFunction.BuiltinFunctions ret = (AlphaFunction.BuiltinFunctions)NDalicPINVOKE.AlphaFunction_GetBuiltinFunction(swigCPtr); @@ -189,6 +196,7 @@ namespace Tizen.NUI /// Returns the functioning mode of the alpha function. /// /// The functioning mode of the alpha function. + /// 3 public AlphaFunction.Modes GetMode() { AlphaFunction.Modes ret = (AlphaFunction.Modes)NDalicPINVOKE.AlphaFunction_GetMode(swigCPtr); @@ -199,6 +207,7 @@ namespace Tizen.NUI /// /// This specifies the various types of BuiltinFunctions. /// + /// 3 public enum BuiltinFunctions { /// @@ -263,6 +272,7 @@ namespace Tizen.NUI /// /// This specifies which mode is set for AlphaFunction. /// + /// 3 public enum Modes { /// @@ -362,4 +372,4 @@ namespace Tizen.NUI return propertyKey; } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Animatable.cs b/src/Tizen.NUI/src/public/Animatable.cs index b5c056e..472ea16 100755 --- a/src/Tizen.NUI/src/public/Animatable.cs +++ b/src/Tizen.NUI/src/public/Animatable.cs @@ -17,6 +17,9 @@ namespace Tizen.NUI { + /// + /// Animatable. + /// public class Animatable : BaseHandle { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -63,7 +66,10 @@ namespace Tizen.NUI base.Dispose(type); } - + /// + /// Create an instance of animatable. + /// + /// 3 public Animatable() : this(NDalicPINVOKE.Handle_New(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -77,6 +83,12 @@ namespace Tizen.NUI return ret; } + /// + /// Queries the name of a property. + /// + /// The index of the property. + /// The name of the property. + /// 3 public string GetPropertyName(int index) { string ret = NDalicPINVOKE.Handle_GetPropertyName(swigCPtr, index); @@ -84,6 +96,12 @@ namespace Tizen.NUI return ret; } + /// + /// Queries the index of a property. + /// + /// The name of the property. + /// The index of the property. + /// 3 public int GetPropertyIndex(string name) { int ret = NDalicPINVOKE.Handle_GetPropertyIndex(swigCPtr, name); @@ -91,6 +109,12 @@ namespace Tizen.NUI return ret; } + /// + /// Queries whether a property can be writable. + /// + /// The index of the property. + /// True if the property is writable. + /// 3 public bool IsPropertyWritable(int index) { bool ret = NDalicPINVOKE.Handle_IsPropertyWritable(swigCPtr, index); @@ -98,6 +122,12 @@ namespace Tizen.NUI return ret; } + /// + /// whether a writable property can be the target of an animation. + /// + /// The index of the property. + /// True if the property is animatable. + /// 3 public bool IsPropertyAnimatable(int index) { bool ret = NDalicPINVOKE.Handle_IsPropertyAnimatable(swigCPtr, index); @@ -105,6 +135,12 @@ namespace Tizen.NUI return ret; } + /// + /// Queries the type of a property. + /// + /// The index of the property. + /// The type of the property. + /// 3 public PropertyType GetPropertyType(int index) { PropertyType ret = (PropertyType)NDalicPINVOKE.Handle_GetPropertyType(swigCPtr, index); @@ -112,11 +148,24 @@ namespace Tizen.NUI return ret; } + /// + /// Sets the value of an existing property. + /// + /// The index of the property. + /// The new value of the property. + /// 3 public void SetProperty(int index, PropertyValue propertyValue) { Tizen.NUI.Object.SetProperty(swigCPtr, index, propertyValue); } + /// + /// Registers a new animatable property. + /// + /// The name of the property. + /// The new value of the property. + /// The type of the property. + /// 3 public int RegisterProperty(string name, PropertyValue propertyValue) { int ret = NDalicPINVOKE.Handle_RegisterProperty__SWIG_0(swigCPtr, name, PropertyValue.getCPtr(propertyValue)); @@ -124,6 +173,14 @@ namespace Tizen.NUI return ret; } + /// + /// Registers a new animatable property. + /// + /// The name of the property. + /// The new value of the property. + /// The property access mode (writable, animatable etc). + /// The type of the property. + /// 3 public int RegisterProperty(string name, PropertyValue propertyValue, PropertyAccessMode accessMode) { int ret = NDalicPINVOKE.Handle_RegisterProperty__SWIG_1(swigCPtr, name, PropertyValue.getCPtr(propertyValue), (int)accessMode); @@ -131,12 +188,25 @@ namespace Tizen.NUI return ret; } + /// + /// Retrieves a property value. + /// + /// The index of the property. + /// The property value. + /// 3 public PropertyValue GetProperty(int index) { PropertyValue ret = Tizen.NUI.Object.GetProperty(swigCPtr, index); return ret; } + /// + /// Adds a property notification to this object. + /// + /// The name of the property. + /// The notification will be triggered when this condition is satisfied. + /// A handle to the newly created PropertyNotification. + /// 4 public PropertyNotification AddPropertyNotification(string property, PropertyCondition condition) { PropertyNotification ret = new PropertyNotification(NDalicPINVOKE.Handle_AddPropertyNotification__SWIG_0(swigCPtr, PropertyHelper.GetPropertyFromString(this, property).propertyIndex, PropertyCondition.getCPtr(condition)), true); @@ -151,12 +221,21 @@ namespace Tizen.NUI return ret; } + /// + /// Removes a property notification from this object. + /// + /// The propertyNotification to be removed. + /// 4 public void RemovePropertyNotification(PropertyNotification propertyNotification) { NDalicPINVOKE.Handle_RemovePropertyNotification(swigCPtr, PropertyNotification.getCPtr(propertyNotification)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Removes a property notification from this object. + /// + /// 4 public void RemovePropertyNotifications() { NDalicPINVOKE.Handle_RemovePropertyNotifications(swigCPtr); @@ -175,6 +254,10 @@ namespace Tizen.NUI if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Enumeration for Handle's capabilities that can be queried. + /// + /// 3 public enum Capability { DYNAMIC_PROPERTIES = 0x01 @@ -182,4 +265,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Animation.cs b/src/Tizen.NUI/src/public/Animation.cs index 5c2b257..ca197b6 100755 --- a/src/Tizen.NUI/src/public/Animation.cs +++ b/src/Tizen.NUI/src/public/Animation.cs @@ -109,6 +109,7 @@ namespace Tizen.NUI /// /// DurationmSeconds must be greater than zero. /// The duration in milliseconds. + /// 3 public Animation(int durationMilliSeconds) : this(NDalicPINVOKE.Animation_New((float)durationMilliSeconds / 1000.0f), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -213,6 +214,7 @@ namespace Tizen.NUI /// /// Gets or sets the duration in milliseconds of the animation. /// + /// 3 public int Duration { set @@ -228,6 +230,7 @@ namespace Tizen.NUI /// /// Gets or sets the default alpha function for the animation. /// + /// 3 public AlphaFunction DefaultAlphaFunction { set @@ -244,6 +247,7 @@ namespace Tizen.NUI /// /// Queries the state of the animation. /// + /// 3 public States State { get @@ -259,6 +263,7 @@ namespace Tizen.NUI /// Get: Gets the loop count. A zero is the same as Looping = true; i.e., repeat forever.
/// The loop count is initially 1 for play once.
///
+ /// 3 public int LoopCount { set @@ -277,6 +282,7 @@ namespace Tizen.NUI /// This property resets the loop count and should not be used with the LoopCount property.
/// Setting this parameter does not cause the animation to Play().
/// + /// 3 public bool Looping { set @@ -296,6 +302,7 @@ namespace Tizen.NUI /// This action is performed when the animation ends or if it is stopped.
/// The default end action is cancel.
/// + /// 3 public EndActions EndAction { set @@ -313,6 +320,7 @@ namespace Tizen.NUI /// Stops the animation. /// /// The end action can be set. + /// 3 public void Stop(EndActions action = EndActions.Cancel) { SetEndAction(action); @@ -324,6 +332,7 @@ namespace Tizen.NUI /// Gets the current loop count.
/// A value 0 indicating the current loop count when looping.
/// + /// 3 public int CurrentLoop { get @@ -337,6 +346,7 @@ namespace Tizen.NUI /// If any of the animated property owners are disconnected from the stage while the animation is being played, then this action is performed.
/// The default action is cancel.
/// + /// 3 public EndActions DisconnectAction { set @@ -359,6 +369,7 @@ namespace Tizen.NUI /// The progress must be in the 0-1 interval or in the play range interval if defined
/// otherwise, it will be ignored.
/// + /// 3 public float CurrentProgress { set @@ -380,6 +391,7 @@ namespace Tizen.NUI /// Values between [0, 1] will slow down the animation and values above one will speed up the animation.
/// It is also possible to specify a negative multiplier to play the animation in reverse.
/// + /// 3 public float SpeedFactor { set @@ -400,6 +412,7 @@ namespace Tizen.NUI /// Animation will play between the values specified. Both values (range.x and range.y ) should be between 0-1, /// otherwise they will be ignored. If the range provided is not in proper order (minimum, maximum ), it will be reordered.
/// + /// 3 public RelativeVector2 PlayRange { set @@ -421,6 +434,7 @@ namespace Tizen.NUI /// Percentage of animation progress should be greater than 0 and less than 1, for example, 0.3 for 30%
/// One notification can be set on each animation. /// + /// 3 public float ProgressNotification { set @@ -443,6 +457,7 @@ namespace Tizen.NUI /// The target property to animate. /// The property value will change by this amount. /// The alpha function to apply. + /// 3 public void AnimateBy(View target, string property, object relativeValue, AlphaFunction alphaFunction = null) { Property _prop = PropertyHelper.GetPropertyFromString(target, property); @@ -479,6 +494,7 @@ namespace Tizen.NUI /// The start time of the animation. /// The end time of the animation. /// The alpha function to apply. + /// 3 public void AnimateBy(View target, string property, object relativeValue, int startTime, int endTime, AlphaFunction alphaFunction = null) { Property _prop = PropertyHelper.GetPropertyFromString(target, property); @@ -515,6 +531,7 @@ namespace Tizen.NUI /// The target property to animate. /// The destination value. /// The alpha function to apply. + /// 3 public void AnimateTo(View target, string property, object destinationValue, AlphaFunction alphaFunction = null) { Property _prop = PropertyHelper.GetPropertyFromString(target, property); @@ -552,6 +569,7 @@ namespace Tizen.NUI /// The start time of the animation. /// The end time of the animation. /// The alpha function to apply. + /// 3 public void AnimateTo(View target, string property, object destinationValue, int startTime, int endTime, AlphaFunction alphaFunction = null) { Property _prop = PropertyHelper.GetPropertyFromString(target, property); @@ -589,6 +607,7 @@ namespace Tizen.NUI /// The set of time or value pairs between which to animate. /// The method used to interpolate between values. /// The alpha function to apply. + /// 3 public void AnimateBetween(View target, string property, KeyFrames keyFrames, Interpolation interpolation = Interpolation.Linear, AlphaFunction alphaFunction = null) { Property _prop = PropertyHelper.GetPropertyFromString(target, property); @@ -619,6 +638,7 @@ namespace Tizen.NUI /// The end time of animation in milliseconds. /// The method used to interpolate between values. /// The alpha function to apply. + /// 3 public void AnimateBetween(View target, string property, KeyFrames keyFrames, int startTime, int endTime, Interpolation interpolation = Interpolation.Linear, AlphaFunction alphaFunction = null) { Property _prop = PropertyHelper.GetPropertyFromString(target, property); @@ -643,6 +663,7 @@ namespace Tizen.NUI /// It defines position and orientation. /// The vector (in local space coordinate system) will be oriented with the path's tangent direction. /// The alpha function to apply. + /// 3 public void AnimatePath(View view, Path path, Vector3 forward, AlphaFunction alphaFunction = null) { if (alphaFunction == null) @@ -666,6 +687,7 @@ namespace Tizen.NUI /// The start time of the animation. /// The end time of the animation. /// The alpha function to apply. + /// 3 public void AnimatePath(View view, Path path, Vector3 forward, int startTime, int endTime, AlphaFunction alphaFunction = null) { TimePeriod time = new TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime)); @@ -685,6 +707,7 @@ namespace Tizen.NUI /// The default end action is "Cancel".
/// The default alpha function is linear.
/// + /// 3 public Animation() : this(NDalicPINVOKE.Animation_New(0.0f), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -703,6 +726,7 @@ namespace Tizen.NUI /// /// Handle to an object. /// Handle to an animation object or an uninitialized handle. + /// 3 public static Animation DownCast(BaseHandle handle) { Animation ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as Animation; @@ -866,6 +890,7 @@ namespace Tizen.NUI /// /// Plays the animation. /// + /// 3 public void Play() { NDalicPINVOKE.Animation_Play(swigCPtr); @@ -881,6 +906,7 @@ namespace Tizen.NUI /// otherwise, it will be ignored.
/// /// A value between [0,1], or between the play range if specified, from where the animation should start playing. + /// 3 public void PlayFrom(float progress) { NDalicPINVOKE.Animation_PlayFrom(swigCPtr, progress); @@ -893,6 +919,7 @@ namespace Tizen.NUI /// When the delay time is a negative value, it would treat as play immediately.
/// /// The delay time. + /// 4 public void PlayAfter(int delayMilliseconds) { NDalicPINVOKE.Animation_PlayAfter(swigCPtr, MilliSecondsToSeconds(delayMilliseconds)); @@ -902,6 +929,7 @@ namespace Tizen.NUI /// /// Pauses the animation. /// + /// 3 public void Pause() { NDalicPINVOKE.Animation_Pause(swigCPtr); @@ -918,6 +946,7 @@ namespace Tizen.NUI /// /// Stops the animation. /// + /// 3 public void Stop() { NDalicPINVOKE.Animation_Stop(swigCPtr); @@ -928,6 +957,7 @@ namespace Tizen.NUI /// Clears the animation.
/// This disconnects any objects that were being animated, effectively stopping the animation.
/// + /// 3 public void Clear() { NDalicPINVOKE.Animation_Clear(swigCPtr); @@ -1083,6 +1113,7 @@ namespace Tizen.NUI /// /// Enumeration for what to do when the animation ends, stopped, or destroyed. /// + /// 3 public enum EndActions { /// @@ -1102,6 +1133,7 @@ namespace Tizen.NUI /// /// Enumeration for what interpolation method to use on key-frame animations. /// + /// 3 public enum Interpolation { /// @@ -1118,6 +1150,7 @@ namespace Tizen.NUI /// Enumeration for what state the animation is in. /// /// Calling Reset() on this class will not reset the animation. It will call the BaseHandle.Reset() which drops the object handle. + /// 3 public enum States { /// @@ -1136,4 +1169,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/BaseComponents/CustomView.cs b/src/Tizen.NUI/src/public/BaseComponents/CustomView.cs index cc5b0a8..3a9e4f3 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/CustomView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/CustomView.cs @@ -77,6 +77,7 @@ namespace Tizen.NUI.BaseComponents /// Sets the background with a property map. /// /// The background property map. + /// 3 public void SetBackground(Tizen.NUI.PropertyMap map) { viewWrapperImpl.SetBackground(map); @@ -87,6 +88,7 @@ namespace Tizen.NUI.BaseComponents /// Gesture detection can be enabled one at a time or in a bitwise format.
///
/// The gesture type(s) to enable. + /// 3 public void EnableGestureDetection(Gesture.GestureType type) { viewWrapperImpl.EnableGestureDetection(type); @@ -108,6 +110,7 @@ namespace Tizen.NUI.BaseComponents /// The control doesn't support it by default.
/// /// Whether this control supports two dimensional keyboard navigation. + /// 3 public bool FocusNavigationSupport { get @@ -139,6 +142,7 @@ namespace Tizen.NUI.BaseComponents /// Sets or gets whether this control is a focus group for keyboard navigation. /// /// True if this control is set as a focus group for keyboard navigation. + /// 3 public bool FocusGroup { get @@ -347,6 +351,7 @@ namespace Tizen.NUI.BaseComponents /// This method is called after the control has been initialized.
/// Derived classes should do any second phase initialization by overriding this method.
/// + /// 3 public virtual void OnInitialize() { } @@ -358,6 +363,7 @@ namespace Tizen.NUI.BaseComponents /// When the parent of a set of views is connected to the stage, then all of the children will receive this callback.
/// /// The depth in the hierarchy for the view. + /// 3 public virtual void OnStageConnection(int depth) { } @@ -367,6 +373,7 @@ namespace Tizen.NUI.BaseComponents /// If a view is disconnected, it either has no parent, or is parented to a disconnected view.
/// When the parent of a set of views is disconnected to the stage, then all of the children will receive this callback, starting with the leaf views.
/// + /// 3 public virtual void OnStageDisconnection() { } @@ -375,6 +382,7 @@ namespace Tizen.NUI.BaseComponents /// Called after a child has been added to the owning view. /// /// The child which has been added. + /// 3 public virtual void OnChildAdd(View view) { } @@ -383,6 +391,7 @@ namespace Tizen.NUI.BaseComponents /// Called after the owning view has attempted to remove a child( regardless of whether it succeeded or not ). /// /// The child being removed. + /// 3 public virtual void OnChildRemove(View view) { } @@ -392,6 +401,7 @@ namespace Tizen.NUI.BaseComponents /// /// The property index that was set. /// The value to set. + /// 3 public virtual void OnPropertySet(int index, Tizen.NUI.PropertyValue propertyValue) { } @@ -400,6 +410,7 @@ namespace Tizen.NUI.BaseComponents /// Called when the owning view's size is set, for example, using View.SetSize(). /// /// The target size. + /// 3 public virtual void OnSizeSet(Vector3 targetSize) { } @@ -409,6 +420,7 @@ namespace Tizen.NUI.BaseComponents /// /// The object which is animating the owning view. /// The target size. + /// 3 public virtual void OnSizeAnimation(Animation animation, Vector3 targetSize) { } @@ -419,6 +431,7 @@ namespace Tizen.NUI.BaseComponents /// /// The touch event. /// True if the event should be consumed. + /// 3 public virtual bool OnTouch(Touch touch) { return false; // Do not consume @@ -430,6 +443,7 @@ namespace Tizen.NUI.BaseComponents /// /// The hover event. /// True if the hover event should be consumed. + /// 3 public virtual bool OnHover(Hover hover) { return false; // Do not consume @@ -440,6 +454,7 @@ namespace Tizen.NUI.BaseComponents /// /// The key event. /// True if the key event should be consumed. + /// 3 public virtual bool OnKey(Key key) { return false; // Do not consume @@ -451,6 +466,7 @@ namespace Tizen.NUI.BaseComponents /// /// The wheel event. /// True if the wheel event should be consumed. + /// 3 public virtual bool OnWheel(Wheel wheel) { return false; // Do not consume @@ -464,6 +480,7 @@ namespace Tizen.NUI.BaseComponents /// /// The allocated size. /// The control should add views to this container that it is not able to allocate a size for. + /// 3 public virtual void OnRelayout(Vector2 size, RelayoutContainer container) { } @@ -473,6 +490,7 @@ namespace Tizen.NUI.BaseComponents /// /// The policy being set. /// The policy is being set for. + /// 3 public virtual void OnSetResizePolicy(ResizePolicyType policy, DimensionType dimension) { } @@ -481,6 +499,7 @@ namespace Tizen.NUI.BaseComponents /// Returns the natural size of the view. /// /// The view's natural size + /// 3 public new virtual Size2D GetNaturalSize() { return new Size2D(0, 0); @@ -492,6 +511,7 @@ namespace Tizen.NUI.BaseComponents /// The child view to calculate the size for. /// The dimension to calculate the size, for example, the width or the height. /// Return the calculated size for the given dimension. If more than one dimension is requested, just return the first one found. + /// 3 public virtual float CalculateChildSize(View child, DimensionType dimension) { return viewWrapperImpl.CalculateChildSizeBase(child, dimension); @@ -503,6 +523,7 @@ namespace Tizen.NUI.BaseComponents /// /// Width to use /// The height based on the width + /// 3 public new virtual float GetHeightForWidth(float width) { return viewWrapperImpl.GetHeightForWidthBase(width); @@ -514,6 +535,7 @@ namespace Tizen.NUI.BaseComponents /// /// Height to use /// The width based on the width + /// 3 public new virtual float GetWidthForHeight(float height) { return viewWrapperImpl.GetWidthForHeightBase(height); @@ -524,6 +546,7 @@ namespace Tizen.NUI.BaseComponents /// /// The dimension(s) to check for. /// Return if the view is dependent on it's children. + /// 3 public virtual bool RelayoutDependentOnChildren(DimensionType dimension) { return viewWrapperImpl.RelayoutDependentOnChildrenBase(dimension); @@ -533,6 +556,7 @@ namespace Tizen.NUI.BaseComponents /// Determines if this view is dependent on it's children for relayout from the base class. /// /// Return true if the view is dependent on it's children. + /// 3 public virtual bool RelayoutDependentOnChildren() { return viewWrapperImpl.RelayoutDependentOnChildrenBase(); @@ -543,6 +567,7 @@ namespace Tizen.NUI.BaseComponents /// met and the size for this object is about to be calculated for the given dimension. /// /// The dimension that is about to be calculated. + /// 3 public virtual void OnCalculateRelayoutSize(DimensionType dimension) { } @@ -552,6 +577,7 @@ namespace Tizen.NUI.BaseComponents /// /// The new size for the given dimension. /// The dimension that was just negotiated. + /// 3 public virtual void OnLayoutNegotiated(float size, DimensionType dimension) { } @@ -561,6 +587,7 @@ namespace Tizen.NUI.BaseComponents /// /// The StyleManager object. /// Information denoting what has changed. + /// 3 public virtual void OnStyleChange(StyleManager styleManager, StyleChangeType change) { } @@ -617,6 +644,7 @@ namespace Tizen.NUI.BaseComponents /// /// Called when the control gain key input focus. Should be overridden by derived classes if they need to customize what happens when the focus is gained. /// + /// 3 public virtual void OnFocusGained() { } @@ -624,6 +652,7 @@ namespace Tizen.NUI.BaseComponents /// /// Called when the control loses key input focus. Should be overridden by derived classes if they need to customize what happens when the focus is lost. /// + /// 3 public virtual void OnFocusLost() { } @@ -636,6 +665,7 @@ namespace Tizen.NUI.BaseComponents /// The direction to move the focus towards. /// Whether the focus movement should be looped within the control. /// The next keyboard focusable view in this control or an empty handle if no view can be focused. + /// 3 public virtual View GetNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled) { return new View(); @@ -646,6 +676,7 @@ namespace Tizen.NUI.BaseComponents /// This allows the application to preform any actions it wishes before the focus is actually moved to the chosen view.
/// /// The commited focused view. + /// 3 public virtual void OnFocusChangeCommitted(View commitedFocusableView) { } @@ -655,6 +686,7 @@ namespace Tizen.NUI.BaseComponents /// Derived classes should override this to perform custom actions.
/// /// True if this control supported this action. + /// 3 public virtual bool OnKeyboardEnter() { return false; @@ -678,6 +710,7 @@ namespace Tizen.NUI.BaseComponents /// Pan detection should be enabled via EnableGestureDetection().
/// /// The pan gesture. + /// 3 public virtual void OnPan(PanGesture pan) { } @@ -689,6 +722,7 @@ namespace Tizen.NUI.BaseComponents /// Tap detection should be enabled via EnableGestureDetection().
/// /// The tap gesture. + /// 3 public virtual void OnTap(TapGesture tap) { } @@ -712,4 +746,4 @@ namespace Tizen.NUI.BaseComponents { } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/BaseComponents/FlexContainer.cs b/src/Tizen.NUI/src/public/BaseComponents/FlexContainer.cs index 41a3eda..c3532cb 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/FlexContainer.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/FlexContainer.cs @@ -103,6 +103,7 @@ namespace Tizen.NUI.BaseComponents /// Enumeration for the direction of the main axis in the flex container. This determines /// the direction that flex items are laid out in the flex container. /// + /// 3 public enum FlexDirectionType { Column, @@ -115,6 +116,7 @@ namespace Tizen.NUI.BaseComponents /// Enumeration for the primary direction in which content is ordered in the flex container /// and on which sides the ?�start??and ?�end??are. /// + /// 3 public enum ContentDirectionType { Inherit, @@ -126,6 +128,7 @@ namespace Tizen.NUI.BaseComponents /// Enumeration for the alignment of the flex items when the items do not use all available /// space on the main axis. /// + /// 3 public enum Justification { JustifyFlexStart, @@ -139,6 +142,7 @@ namespace Tizen.NUI.BaseComponents /// Enumeration for the alignment of the flex items or lines when the items or lines do not /// use all the available space on the cross axis. /// + /// 3 public enum Alignment { AlignAuto, @@ -152,6 +156,7 @@ namespace Tizen.NUI.BaseComponents /// Enumeration for the wrap type of the flex container when there is no enough room for /// all the items on one flex line. /// + /// 3 public enum WrapType { NoWrap, @@ -161,6 +166,7 @@ namespace Tizen.NUI.BaseComponents /// /// The primary direction in which content is ordered. /// + /// 3 public ContentDirectionType ContentDirection { get @@ -178,6 +184,7 @@ namespace Tizen.NUI.BaseComponents /// /// The direction of the main axis which determines the direction that flex items are laid out. /// + /// 3 public FlexDirectionType FlexDirection { get @@ -195,6 +202,7 @@ namespace Tizen.NUI.BaseComponents /// /// Whether the flex items should wrap or not if there is no enough room for them on one flex line. /// + /// 3 public WrapType FlexWrap { get @@ -212,6 +220,7 @@ namespace Tizen.NUI.BaseComponents /// /// The alignment of flex items when the items do not use all available space on the main axis. /// + /// 3 public Justification JustifyContent { get @@ -229,6 +238,7 @@ namespace Tizen.NUI.BaseComponents /// /// The alignment of flex items when the items do not use all available space on the cross axis. /// + /// 3 public Alignment AlignItems { get @@ -246,6 +256,7 @@ namespace Tizen.NUI.BaseComponents /// /// Similar to "alignItems", but it aligns flex lines; so only works when there are multiple lines. /// + /// 3 public Alignment AlignContent { get @@ -262,4 +273,4 @@ namespace Tizen.NUI.BaseComponents } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs b/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs index a5c6202..23e7c6c 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs @@ -48,6 +48,7 @@ namespace Tizen.NUI.BaseComponents /// /// The view whose resource is ready. /// + /// 3 public View View { get @@ -71,6 +72,7 @@ namespace Tizen.NUI.BaseComponents /// This signal is emitted after all resources required by a control are loaded and ready.
/// Most resources are only loaded when the control is placed on the stage.
/// + /// 3 public event EventHandler ResourceReady { add @@ -157,6 +159,7 @@ namespace Tizen.NUI.BaseComponents /// /// Creates an initialized ImageView. /// + /// 3 public ImageView() : this(NDalicPINVOKE.ImageView_New__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -167,6 +170,7 @@ namespace Tizen.NUI.BaseComponents /// If the string is empty, ImageView will not display anything.
/// /// The URL of the image resource to display. + /// 3 public ImageView(string url) : this(NDalicPINVOKE.ImageView_New__SWIG_2(url), true) { _url = url; @@ -192,6 +196,7 @@ namespace Tizen.NUI.BaseComponents /// If the URL is empty, ImageView will not display anything.
/// /// The URL to the image resource to display. + /// 3 public void SetImage(string url) { _url = url; @@ -216,6 +221,7 @@ namespace Tizen.NUI.BaseComponents /// Most resources are only loaded when the control is placed on the stage.
/// True if the resources are loaded and ready, false otherwise.
/// + /// 3 public new bool IsResourceReady() { bool ret = NDalicPINVOKE.IsResourceReady(swigCPtr); @@ -227,6 +233,7 @@ namespace Tizen.NUI.BaseComponents /// /// ImageView ResourceUrl, type string. /// + /// 3 public string ResourceUrl { get @@ -244,6 +251,7 @@ namespace Tizen.NUI.BaseComponents /// /// ImageView ImageMap, type PropertyMap: string if it is a URL, map otherwise /// + /// 3 public PropertyMap ImageMap { get @@ -272,6 +280,7 @@ namespace Tizen.NUI.BaseComponents /// ImageView PreMultipliedAlpha, type Boolean.
/// Image must be initialized.
/// + /// 3 public bool PreMultipliedAlpha { get @@ -290,6 +299,7 @@ namespace Tizen.NUI.BaseComponents /// ImageView PixelArea, type Vector4 (Animatable property).
/// Pixel area is a relative value with the whole image area as [0.0, 0.0, 1.0, 1.0].
/// + /// 3 public RelativeVector4 PixelArea { get @@ -310,6 +320,7 @@ namespace Tizen.NUI.BaseComponents /// For N-Patch images only.
/// Optional. /// + /// 3 public Rectangle Border { get @@ -329,6 +340,7 @@ namespace Tizen.NUI.BaseComponents /// For N-Patch images only.
/// Optional. /// + /// 3 public bool BorderOnly { get @@ -392,4 +404,4 @@ namespace Tizen.NUI.BaseComponents } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/BaseComponents/Scrollable.cs b/src/Tizen.NUI/src/public/BaseComponents/Scrollable.cs index 0499a70..216246f 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/Scrollable.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/Scrollable.cs @@ -20,6 +20,10 @@ namespace Tizen.NUI.BaseComponents using System; using System.Runtime.InteropServices; + /// + /// Base class for derived Scrollables that contains actors that can be scrolled manually + /// (via touch) or automatically. + /// public class Scrollable : View { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -100,6 +104,10 @@ namespace Tizen.NUI.BaseComponents { private Vector2 _vector2; + /// + /// Vector2. + /// + /// 3 public Vector2 Vector2 { get @@ -117,6 +125,10 @@ namespace Tizen.NUI.BaseComponents { private Vector2 _vector2; + /// + /// Vector2. + /// + /// 3 public Vector2 Vector2 { get @@ -134,6 +146,10 @@ namespace Tizen.NUI.BaseComponents { private Vector2 _vector2; + /// + /// Vector2. + /// + /// 3 public Vector2 Vector2 { get @@ -162,6 +178,10 @@ namespace Tizen.NUI.BaseComponents private DaliEventHandler _scrollableCompletedEventHandler; private CompletedCallbackDelegate _scrollableCompletedCallbackDelegate; + /// + /// The ScrollStarted event emitted when the Scrollable has moved (whether by touch or animation). + /// + /// 3 public event DaliEventHandler ScrollStarted { add @@ -208,6 +228,10 @@ namespace Tizen.NUI.BaseComponents } + /// + /// The ScrollUpdated event emitted when the Scrollable has moved (whether by touch or animation). + /// + /// 3 public event DaliEventHandler ScrollUpdated { add @@ -254,6 +278,11 @@ namespace Tizen.NUI.BaseComponents } + /// + /// The ScrollCompleted event emitted when the Scrollable has completed movement + /// (whether by touch or animation). + /// + /// 3 public event DaliEventHandler ScrollCompleted { add @@ -320,6 +349,10 @@ namespace Tizen.NUI.BaseComponents } + /// + /// Create an instance of scrollable. + /// + /// 3 public Scrollable() : this(NDalicPINVOKE.new_Scrollable__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -385,6 +418,10 @@ namespace Tizen.NUI.BaseComponents return ret; } + /// + /// Sets and Gets the color of the overshoot effect. + /// + /// 3 public Vector4 OvershootEffectColor { get @@ -398,6 +435,11 @@ namespace Tizen.NUI.BaseComponents SetProperty(Scrollable.Property.OVERSHOOT_EFFECT_COLOR, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Sets and Gets the speed of overshoot animation in pixels per second. + /// + /// 3 public float OvershootAnimationSpeed { get @@ -411,6 +453,11 @@ namespace Tizen.NUI.BaseComponents SetProperty(Scrollable.Property.OVERSHOOT_ANIMATION_SPEED, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Checks if scroll overshoot has been enabled or not. + /// + /// 3 public bool OvershootEnabled { get @@ -424,6 +471,11 @@ namespace Tizen.NUI.BaseComponents SetProperty(Scrollable.Property.OVERSHOOT_ENABLED, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets OvershootSize property. + /// + /// 3 public Vector2 OvershootSize { get @@ -437,6 +489,11 @@ namespace Tizen.NUI.BaseComponents SetProperty(Scrollable.Property.OVERSHOOT_SIZE, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets ScrollToAlphaFunction property. + /// + /// 3 public int ScrollToAlphaFunction { get @@ -450,6 +507,11 @@ namespace Tizen.NUI.BaseComponents SetProperty(Scrollable.Property.SCROLL_TO_ALPHA_FUNCTION, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets ScrollRelativePosition property. + /// + /// 3 public Vector2 ScrollRelativePosition { get @@ -463,6 +525,11 @@ namespace Tizen.NUI.BaseComponents SetProperty(Scrollable.Property.SCROLL_RELATIVE_POSITION, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets ScrollPositionMin property. + /// + /// 3 public Vector2 ScrollPositionMin { get @@ -476,6 +543,11 @@ namespace Tizen.NUI.BaseComponents SetProperty(Scrollable.Property.SCROLL_POSITION_MIN, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets ScrollPositionMax property. + /// + /// 3 public Vector2 ScrollPositionMax { get @@ -489,6 +561,11 @@ namespace Tizen.NUI.BaseComponents SetProperty(Scrollable.Property.SCROLL_POSITION_MAX, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets CanScrollVertical property. + /// + /// 3 public bool CanScrollVertical { get @@ -502,6 +579,11 @@ namespace Tizen.NUI.BaseComponents SetProperty(Scrollable.Property.CAN_SCROLL_VERTICAL, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets CanScrollHorizontal property. + /// + /// 3 public bool CanScrollHorizontal { get @@ -518,4 +600,4 @@ namespace Tizen.NUI.BaseComponents } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/BaseComponents/TableView.cs b/src/Tizen.NUI/src/public/BaseComponents/TableView.cs index 0766f75..76cf074 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TableView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TableView.cs @@ -178,6 +178,7 @@ namespace Tizen.NUI.BaseComponents /// The column index initialized. /// The row span initialized. /// The column span initialized. + /// 3 public CellPosition(uint rowIndex, uint columnIndex, uint rowSpan, uint columnSpan) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_0(rowIndex, columnIndex, rowSpan, columnSpan), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -189,6 +190,7 @@ namespace Tizen.NUI.BaseComponents /// The row index initialized. /// The column index initialized. /// The row span initialized. + /// 3 public CellPosition(uint rowIndex, uint columnIndex, uint rowSpan) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_1(rowIndex, columnIndex, rowSpan), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -199,6 +201,7 @@ namespace Tizen.NUI.BaseComponents /// /// The row index initialized. /// The column index initialized. + /// 3 public CellPosition(uint rowIndex, uint columnIndex) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_2(rowIndex, columnIndex), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -208,6 +211,7 @@ namespace Tizen.NUI.BaseComponents /// The constructor to initialize values to default for convenience. /// /// The row index initialized. + /// 3 public CellPosition(uint rowIndex) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_3(rowIndex), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -216,6 +220,7 @@ namespace Tizen.NUI.BaseComponents /// /// The default constructor. /// + /// 3 public CellPosition() : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_4(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -224,6 +229,7 @@ namespace Tizen.NUI.BaseComponents /// /// The index of a row. /// + /// 3 public uint rowIndex { set @@ -242,6 +248,7 @@ namespace Tizen.NUI.BaseComponents /// /// The index of a column. /// + /// 3 public uint columnIndex { set @@ -260,6 +267,7 @@ namespace Tizen.NUI.BaseComponents /// /// The span of a row. /// + /// 3 public uint rowSpan { set @@ -278,6 +286,7 @@ namespace Tizen.NUI.BaseComponents /// /// The span of a column. /// + /// 3 public uint columnSpan { set @@ -300,6 +309,7 @@ namespace Tizen.NUI.BaseComponents /// /// Initial rows for the table. /// Initial columns for the table. + /// 3 public TableView(uint initialRows, uint initialColumns) : this(NDalicPINVOKE.TableView_New(initialRows, initialColumns), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -310,6 +320,7 @@ namespace Tizen.NUI.BaseComponents /// The Copy constructor. Creates another handle that points to the same real object. /// /// Handle to copy from. + /// 3 public TableView(TableView handle) : this(NDalicPINVOKE.new_TableView__SWIG_1(TableView.getCPtr(handle)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -330,6 +341,7 @@ namespace Tizen.NUI.BaseComponents /// The child to add. /// The position for the child. /// True if the addition succeeded, and false if the cell is already occupied. + /// 3 public bool AddChild(View child, TableView.CellPosition position) { bool ret = NDalicPINVOKE.TableView_AddChild(swigCPtr, View.getCPtr(child), TableView.CellPosition.getCPtr(position)); @@ -342,6 +354,7 @@ namespace Tizen.NUI.BaseComponents /// /// The position in the table. /// Child that was in the cell or an uninitialized handle. + /// 3 public View GetChildAt(TableView.CellPosition position) { IntPtr cPtr = NDalicPINVOKE.TableView_GetChildAt(swigCPtr, TableView.CellPosition.getCPtr(position)); @@ -356,6 +369,7 @@ namespace Tizen.NUI.BaseComponents /// /// The position for the child to remove. /// Child that was removed or an uninitialized handle. + /// 3 public View RemoveChildAt(TableView.CellPosition position) { IntPtr cPtr = NDalicPINVOKE.TableView_RemoveChildAt(swigCPtr, TableView.CellPosition.getCPtr(position)); @@ -371,6 +385,7 @@ namespace Tizen.NUI.BaseComponents /// The child to search for. /// The position for the child. /// True if the child was included in this TableView. + /// 3 public bool FindChildPosition(View child, TableView.CellPosition position) { bool ret = NDalicPINVOKE.TableView_FindChildPosition(swigCPtr, View.getCPtr(child), TableView.CellPosition.getCPtr(position)); @@ -382,6 +397,7 @@ namespace Tizen.NUI.BaseComponents /// Inserts a new row to the given index. /// /// The rowIndex of the new row. + /// 3 public void InsertRow(uint rowIndex) { NDalicPINVOKE.TableView_InsertRow(swigCPtr, rowIndex); @@ -393,6 +409,7 @@ namespace Tizen.NUI.BaseComponents /// Removed elements are deleted.
/// /// The rowIndex of the row to delete. + /// 3 public void DeleteRow(uint rowIndex) { NDalicPINVOKE.TableView_DeleteRow__SWIG_0(swigCPtr, rowIndex); @@ -403,6 +420,7 @@ namespace Tizen.NUI.BaseComponents /// Inserts a new column to the given index. /// /// The columnIndex of the new column. + /// 3 public void InsertColumn(uint columnIndex) { NDalicPINVOKE.TableView_InsertColumn(swigCPtr, columnIndex); @@ -414,6 +432,7 @@ namespace Tizen.NUI.BaseComponents /// Removed elements are deleted.
/// /// The columnIndex of the column to delete. + /// 3 public void DeleteColumn(uint columnIndex) { NDalicPINVOKE.TableView_DeleteColumn__SWIG_0(swigCPtr, columnIndex); @@ -425,6 +444,7 @@ namespace Tizen.NUI.BaseComponents /// /// The rows for the table. /// The columns for the table. + /// 3 public void Resize(uint rows, uint columns) { NDalicPINVOKE.TableView_Resize__SWIG_0(swigCPtr, rows, columns); @@ -435,6 +455,7 @@ namespace Tizen.NUI.BaseComponents /// Sets the horizontal and the vertical padding between cells. /// /// Width and height. + /// 3 public void SetCellPadding(Size2D padding) { NDalicPINVOKE.TableView_SetCellPadding(swigCPtr, Size2D.getCPtr(padding)); @@ -445,6 +466,7 @@ namespace Tizen.NUI.BaseComponents /// Gets the current padding as width and height. /// /// The current padding as width and height. + /// 3 public Vector2 GetCellPadding() { Vector2 ret = new Vector2(NDalicPINVOKE.TableView_GetCellPadding(swigCPtr), true); @@ -456,6 +478,7 @@ namespace Tizen.NUI.BaseComponents /// Specifies this row as fitting its height to its children. /// /// The row to set. + /// 3 public void SetFitHeight(uint rowIndex) { NDalicPINVOKE.TableView_SetFitHeight(swigCPtr, rowIndex); @@ -467,6 +490,7 @@ namespace Tizen.NUI.BaseComponents /// /// The row to check. /// True if the row is fit. + /// 3 public bool IsFitHeight(uint rowIndex) { bool ret = NDalicPINVOKE.TableView_IsFitHeight(swigCPtr, rowIndex); @@ -478,6 +502,7 @@ namespace Tizen.NUI.BaseComponents /// Specifies this column as fitting its width to its children. /// /// The column to set. + /// 3 public void SetFitWidth(uint columnIndex) { NDalicPINVOKE.TableView_SetFitWidth(swigCPtr, columnIndex); @@ -489,6 +514,7 @@ namespace Tizen.NUI.BaseComponents /// /// The column to check. /// True if the column is fit. + /// 3 public bool IsFitWidth(uint columnIndex) { bool ret = NDalicPINVOKE.TableView_IsFitWidth(swigCPtr, columnIndex); @@ -502,6 +528,7 @@ namespace Tizen.NUI.BaseComponents /// /// The rowIndex for row with a fixed height. /// The height in world coordinate units. + /// 3 public void SetFixedHeight(uint rowIndex, float height) { NDalicPINVOKE.TableView_SetFixedHeight(swigCPtr, rowIndex, height); @@ -513,6 +540,7 @@ namespace Tizen.NUI.BaseComponents /// /// The row index with a fixed height. /// height The height in world coordinate units. + /// 3 public float GetFixedHeight(uint rowIndex) { float ret = NDalicPINVOKE.TableView_GetFixedHeight(swigCPtr, rowIndex); @@ -527,6 +555,7 @@ namespace Tizen.NUI.BaseComponents /// /// The rowIndex for row with a relative height. /// The height percentage between 0.0f and 1.0f. + /// 3 public void SetRelativeHeight(uint rowIndex, float heightPercentage) { NDalicPINVOKE.TableView_SetRelativeHeight(swigCPtr, rowIndex, heightPercentage); @@ -538,6 +567,7 @@ namespace Tizen.NUI.BaseComponents /// /// The row index with a relative height. /// Height in percentage units, between 0.0f and 1.0f. + /// 3 public float GetRelativeHeight(uint rowIndex) { float ret = NDalicPINVOKE.TableView_GetRelativeHeight(swigCPtr, rowIndex); @@ -551,6 +581,7 @@ namespace Tizen.NUI.BaseComponents /// /// The columnIndex for column with a fixed width. /// The width in world coordinate units. + /// 3 public void SetFixedWidth(uint columnIndex, float width) { NDalicPINVOKE.TableView_SetFixedWidth(swigCPtr, columnIndex, width); @@ -562,6 +593,7 @@ namespace Tizen.NUI.BaseComponents /// /// The column index with a fixed width. /// Width in world coordinate units. + /// 3 public float GetFixedWidth(uint columnIndex) { float ret = NDalicPINVOKE.TableView_GetFixedWidth(swigCPtr, columnIndex); @@ -576,6 +608,7 @@ namespace Tizen.NUI.BaseComponents /// /// The columnIndex for column with a fixed width. /// The widthPercentage between 0.0f and 1.0f. + /// 3 public void SetRelativeWidth(uint columnIndex, float widthPercentage) { NDalicPINVOKE.TableView_SetRelativeWidth(swigCPtr, columnIndex, widthPercentage); @@ -587,6 +620,7 @@ namespace Tizen.NUI.BaseComponents /// /// The column index with a relative width. /// Width in percentage units, between 0.0f and 1.0f. + /// 3 public float GetRelativeWidth(uint columnIndex) { float ret = NDalicPINVOKE.TableView_GetRelativeWidth(swigCPtr, columnIndex); @@ -601,6 +635,7 @@ namespace Tizen.NUI.BaseComponents /// The cell to set alignment on. /// The horizontal alignment. /// The vertical alignment. + /// 3 public void SetCellAlignment(TableView.CellPosition position, HorizontalAlignmentType horizontal, VerticalAlignmentType vertical) { NDalicPINVOKE.TableView_SetCellAlignment(swigCPtr, TableView.CellPosition.getCPtr(position), (int)horizontal, (int)vertical); @@ -610,6 +645,7 @@ namespace Tizen.NUI.BaseComponents /// /// Enumeration for describing how the size of a row or column has been set. /// + /// 3 public enum LayoutPolicy { Fixed, @@ -621,6 +657,7 @@ namespace Tizen.NUI.BaseComponents /// /// The amount of rows in the table. /// + /// 3 public int Rows { get @@ -637,6 +674,7 @@ namespace Tizen.NUI.BaseComponents /// /// The amount of columns in the table. /// + /// 3 public int Columns { get @@ -653,6 +691,7 @@ namespace Tizen.NUI.BaseComponents /// /// Padding between cells. /// + /// 3 public Vector2 CellPadding { get @@ -670,6 +709,7 @@ namespace Tizen.NUI.BaseComponents /// /// The number of layout rows. /// + /// 3 public PropertyMap LayoutRows { get @@ -687,6 +727,7 @@ namespace Tizen.NUI.BaseComponents /// /// The number of layout columns. /// + /// 3 public PropertyMap LayoutColumns { get @@ -702,4 +743,4 @@ namespace Tizen.NUI.BaseComponents } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs b/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs index 17185e7..9a9b184 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs @@ -92,6 +92,7 @@ namespace Tizen.NUI.BaseComponents /// /// TextEditor - is the texteditor control which has the text contents changed. /// + /// 3 public TextEditor TextEditor { get @@ -114,6 +115,7 @@ namespace Tizen.NUI.BaseComponents /// An event for the TextChanged signal which can be used to subscribe or unsubscribe the event handler /// provided by the user. The TextChanged signal is emitted when the text changes.
/// + /// 3 public event EventHandler TextChanged { add @@ -161,6 +163,7 @@ namespace Tizen.NUI.BaseComponents /// /// TextEditor - is the texteditor control which has the scroll state changed. /// + /// 3 public TextEditor TextEditor { get @@ -176,6 +179,7 @@ namespace Tizen.NUI.BaseComponents /// /// ScrollState - is the texteditor control scroll state. /// + /// 3 public ScrollState ScrollState { get @@ -198,6 +202,7 @@ namespace Tizen.NUI.BaseComponents /// Event for the ScrollStateChanged signal which can be used to subscribe or unsubscribe the event handler /// provided by the user. The ScrollStateChanged signal is emitted when the scroll state changes.
/// + /// 3 public event EventHandler ScrollStateChanged { add @@ -313,6 +318,7 @@ namespace Tizen.NUI.BaseComponents /// /// Creates the TextEditor control. /// + /// 3 public TextEditor() : this(NDalicPINVOKE.TextEditor_New(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -359,6 +365,7 @@ namespace Tizen.NUI.BaseComponents /// /// ResourceManager about multilingual is null. /// + /// 4 public string TranslatableText { get @@ -382,6 +389,7 @@ namespace Tizen.NUI.BaseComponents /// /// ResourceManager about multilingual is null. /// + /// 4 public string TranslatablePlaceholderText { get @@ -430,6 +438,7 @@ namespace Tizen.NUI.BaseComponents } /// The Text property. /// + /// 3 public string Text { get @@ -447,6 +456,7 @@ namespace Tizen.NUI.BaseComponents /// /// The TextColor property. /// + /// 3 public Vector4 TextColor { get @@ -464,6 +474,7 @@ namespace Tizen.NUI.BaseComponents /// /// The FontFamily property. /// + /// 3 public string FontFamily { get @@ -481,6 +492,7 @@ namespace Tizen.NUI.BaseComponents /// /// The FontStyle property. /// + /// 3 public PropertyMap FontStyle { get @@ -498,6 +510,7 @@ namespace Tizen.NUI.BaseComponents /// /// The PointSize property. /// + /// 3 public float PointSize { get @@ -515,6 +528,7 @@ namespace Tizen.NUI.BaseComponents /// /// The HorizontalAlignment property. /// + /// 3 public HorizontalAlignment HorizontalAlignment { get @@ -570,6 +584,7 @@ namespace Tizen.NUI.BaseComponents /// /// The ScrollThreshold property. /// + /// 3 public float ScrollThreshold { get @@ -587,6 +602,7 @@ namespace Tizen.NUI.BaseComponents /// /// The ScrollSpeed property. /// + /// 3 public float ScrollSpeed { get @@ -604,6 +620,7 @@ namespace Tizen.NUI.BaseComponents /// /// The PrimaryCursorColor property. /// + /// 3 public Vector4 PrimaryCursorColor { get @@ -621,6 +638,7 @@ namespace Tizen.NUI.BaseComponents /// /// The SecondaryCursorColor property. /// + /// 3 public Vector4 SecondaryCursorColor { get @@ -638,6 +656,7 @@ namespace Tizen.NUI.BaseComponents /// /// The EnableCursorBlink property. /// + /// 3 public bool EnableCursorBlink { get @@ -655,6 +674,7 @@ namespace Tizen.NUI.BaseComponents /// /// The CursorBlinkInterval property. /// + /// 3 public float CursorBlinkInterval { get @@ -672,6 +692,7 @@ namespace Tizen.NUI.BaseComponents /// /// The CursorBlinkDuration property. /// + /// 3 public float CursorBlinkDuration { get @@ -689,6 +710,7 @@ namespace Tizen.NUI.BaseComponents /// /// The CursorWidth property. /// + /// 3 public int CursorWidth { get @@ -706,6 +728,7 @@ namespace Tizen.NUI.BaseComponents /// /// The GrabHandleImage property. /// + /// 3 public string GrabHandleImage { get @@ -723,6 +746,7 @@ namespace Tizen.NUI.BaseComponents /// /// The GrabHandlePressedImage property. /// + /// 3 public string GrabHandlePressedImage { get @@ -740,6 +764,7 @@ namespace Tizen.NUI.BaseComponents /// /// The SelectionHandleImageLeft property. /// + /// 3 public PropertyMap SelectionHandleImageLeft { get @@ -757,6 +782,7 @@ namespace Tizen.NUI.BaseComponents /// /// The SelectionHandleImageRight property. /// + /// 3 public PropertyMap SelectionHandleImageRight { get @@ -774,6 +800,7 @@ namespace Tizen.NUI.BaseComponents /// /// The SelectionHandlePressedImageLeft property. /// + /// 3 public PropertyMap SelectionHandlePressedImageLeft { get @@ -791,6 +818,7 @@ namespace Tizen.NUI.BaseComponents /// /// The SelectionHandlePressedImageRight property. /// + /// 3 public PropertyMap SelectionHandlePressedImageRight { get @@ -808,6 +836,7 @@ namespace Tizen.NUI.BaseComponents /// /// The SelectionHandleMarkerImageLeft property. /// + /// 3 public PropertyMap SelectionHandleMarkerImageLeft { get @@ -825,6 +854,7 @@ namespace Tizen.NUI.BaseComponents /// /// The SelectionHandleMarkerImageRight property. /// + /// 3 public PropertyMap SelectionHandleMarkerImageRight { get @@ -842,6 +872,7 @@ namespace Tizen.NUI.BaseComponents /// /// The SelectionHighlightColor property. /// + /// 3 public Vector4 SelectionHighlightColor { get @@ -859,6 +890,7 @@ namespace Tizen.NUI.BaseComponents /// /// The DecorationBoundingBox property. /// + /// 3 public Rectangle DecorationBoundingBox { get @@ -876,6 +908,7 @@ namespace Tizen.NUI.BaseComponents /// /// The EnableMarkup property. /// + /// 3 public bool EnableMarkup { get @@ -893,6 +926,7 @@ namespace Tizen.NUI.BaseComponents /// /// The InputColor property. /// + /// 3 public Vector4 InputColor { get @@ -910,6 +944,7 @@ namespace Tizen.NUI.BaseComponents /// /// The InputFontFamily property. /// + /// 3 public string InputFontFamily { get @@ -927,6 +962,7 @@ namespace Tizen.NUI.BaseComponents /// /// The InputFontStyle property. /// + /// 3 public PropertyMap InputFontStyle { get @@ -944,6 +980,7 @@ namespace Tizen.NUI.BaseComponents /// /// The InputPointSize property. /// + /// 3 public float InputPointSize { get @@ -961,6 +998,7 @@ namespace Tizen.NUI.BaseComponents /// /// The LineSpacing property. /// + /// 3 public float LineSpacing { get @@ -978,6 +1016,7 @@ namespace Tizen.NUI.BaseComponents /// /// The InputLineSpacing property. /// + /// 3 public float InputLineSpacing { get @@ -995,6 +1034,7 @@ namespace Tizen.NUI.BaseComponents /// /// The Underline property. /// + /// 3 public PropertyMap Underline { get @@ -1012,6 +1052,7 @@ namespace Tizen.NUI.BaseComponents /// /// The InputUnderline property. /// + /// 3 public string InputUnderline { get @@ -1029,6 +1070,7 @@ namespace Tizen.NUI.BaseComponents /// /// The Shadow property. /// + /// 3 public PropertyMap Shadow { get @@ -1046,6 +1088,7 @@ namespace Tizen.NUI.BaseComponents /// /// The InputShadow property. /// + /// 3 public string InputShadow { get @@ -1063,6 +1106,7 @@ namespace Tizen.NUI.BaseComponents /// /// The Emboss property. /// + /// 3 public string Emboss { get @@ -1080,6 +1124,7 @@ namespace Tizen.NUI.BaseComponents /// /// The InputEmboss property. /// + /// 3 public string InputEmboss { get @@ -1097,6 +1142,7 @@ namespace Tizen.NUI.BaseComponents /// /// The Outline property. /// + /// 3 public string Outline { get @@ -1114,6 +1160,7 @@ namespace Tizen.NUI.BaseComponents /// /// The InputOutline property. /// + /// 3 public string InputOutline { get @@ -1131,6 +1178,7 @@ namespace Tizen.NUI.BaseComponents /// /// The SmoothScroll property. /// + /// 3 public bool SmoothScroll { get @@ -1148,6 +1196,7 @@ namespace Tizen.NUI.BaseComponents /// /// The SmoothScrollDuration property. /// + /// 3 public float SmoothScrollDuration { get @@ -1165,6 +1214,7 @@ namespace Tizen.NUI.BaseComponents /// /// The EnableScrollBar property. /// + /// 3 public bool EnableScrollBar { get @@ -1182,6 +1232,7 @@ namespace Tizen.NUI.BaseComponents /// /// The ScrollBarShowDuration property. /// + /// 3 public float ScrollBarShowDuration { get @@ -1199,6 +1250,7 @@ namespace Tizen.NUI.BaseComponents /// /// The ScrollBarFadeDuration property. /// + /// 3 public float ScrollBarFadeDuration { get @@ -1216,6 +1268,7 @@ namespace Tizen.NUI.BaseComponents /// /// The PixelSize property. /// + /// 3 public float PixelSize { get @@ -1233,6 +1286,7 @@ namespace Tizen.NUI.BaseComponents /// /// The line count of the text. /// + /// 3 public int LineCount { get @@ -1246,6 +1300,7 @@ namespace Tizen.NUI.BaseComponents /// /// The text to display when the TextEditor is empty and inactive. /// + /// 3 public string PlaceholderText { get @@ -1263,6 +1318,7 @@ namespace Tizen.NUI.BaseComponents /// /// The Placeholder text color. /// + /// 3 public Color PlaceholderTextColor { get @@ -1280,6 +1336,7 @@ namespace Tizen.NUI.BaseComponents /// /// The EnableSelection property. /// + /// 4 public bool EnableSelection { get @@ -1318,6 +1375,7 @@ namespace Tizen.NUI.BaseComponents /// editor.Placeholder = propertyMap; /// /// + /// 4 public Tizen.NUI.PropertyMap Placeholder { get @@ -1336,6 +1394,7 @@ namespace Tizen.NUI.BaseComponents /// The LineWrapMode property.
/// The line wrap mode when the text lines over the layout width.
/// + /// 4 public LineWrapMode LineWrapMode { get @@ -1377,4 +1436,4 @@ namespace Tizen.NUI.BaseComponents } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextField.cs b/src/Tizen.NUI/src/public/BaseComponents/TextField.cs index 898ea8d..ceae20a 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextField.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextField.cs @@ -96,6 +96,7 @@ namespace Tizen.NUI.BaseComponents /// /// TextField. /// + /// 3 public TextField TextField { get @@ -119,6 +120,7 @@ namespace Tizen.NUI.BaseComponents /// /// TextField. /// + /// 3 public TextField TextField { get @@ -146,6 +148,7 @@ namespace Tizen.NUI.BaseComponents /// /// The TextChanged event. /// + /// 3 public event EventHandler TextChanged { add @@ -185,6 +188,7 @@ namespace Tizen.NUI.BaseComponents /// /// The MaxLengthReached event. /// + /// 3 public event EventHandler MaxLengthReached { add @@ -297,6 +301,7 @@ namespace Tizen.NUI.BaseComponents /// /// Creates the TextField control. /// + /// 3 public TextField() : this(NDalicPINVOKE.TextField_New(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -349,6 +354,7 @@ namespace Tizen.NUI.BaseComponents /// /// ResourceManager about multilingual is null. /// + /// 4 public string TranslatableText { get @@ -372,6 +378,7 @@ namespace Tizen.NUI.BaseComponents /// /// ResourceManager about multilingual is null. /// + /// 4 public string TranslatablePlaceholderText { get @@ -420,6 +427,7 @@ namespace Tizen.NUI.BaseComponents } /// The Text property. /// + /// 3 public string Text { get @@ -437,6 +445,7 @@ namespace Tizen.NUI.BaseComponents /// /// The PlaceholderText property. /// + /// 3 public string PlaceholderText { get @@ -454,6 +463,7 @@ namespace Tizen.NUI.BaseComponents /// /// The PlaceholderTextFocused property. /// + /// 3 public string PlaceholderTextFocused { get @@ -471,6 +481,7 @@ namespace Tizen.NUI.BaseComponents /// /// The FontFamily property. /// + /// 3 public string FontFamily { get @@ -488,6 +499,7 @@ namespace Tizen.NUI.BaseComponents /// /// The FontStyle property. /// + /// 3 public PropertyMap FontStyle { get @@ -505,6 +517,7 @@ namespace Tizen.NUI.BaseComponents /// /// The PointSize property. /// + /// 3 public float PointSize { get @@ -522,6 +535,7 @@ namespace Tizen.NUI.BaseComponents /// /// The MaxLength property. /// + /// 3 public int MaxLength { get @@ -539,6 +553,7 @@ namespace Tizen.NUI.BaseComponents /// /// The ExceedPolicy property. /// + /// 3 public int ExceedPolicy { get @@ -556,6 +571,7 @@ namespace Tizen.NUI.BaseComponents /// /// The HorizontalAlignment property. /// + /// 3 public HorizontalAlignment HorizontalAlignment { get @@ -611,6 +627,7 @@ namespace Tizen.NUI.BaseComponents /// /// The VerticalAlignment property. /// + /// 3 public VerticalAlignment VerticalAlignment { get @@ -666,6 +683,7 @@ namespace Tizen.NUI.BaseComponents /// /// The TextColor property. /// + /// 3 public Color TextColor { get @@ -683,6 +701,7 @@ namespace Tizen.NUI.BaseComponents /// /// The PlaceholderTextColor property. /// + /// 3 public Vector4 PlaceholderTextColor { get @@ -700,6 +719,7 @@ namespace Tizen.NUI.BaseComponents /// /// The ShadowOffset property. /// + /// 3 public Vector2 ShadowOffset { get @@ -717,6 +737,7 @@ namespace Tizen.NUI.BaseComponents /// /// The ShadowColor property. /// + /// 3 public Vector4 ShadowColor { get @@ -734,6 +755,7 @@ namespace Tizen.NUI.BaseComponents /// /// The PrimaryCursorColor property. /// + /// 3 public Vector4 PrimaryCursorColor { get @@ -751,6 +773,7 @@ namespace Tizen.NUI.BaseComponents /// /// The SecondaryCursorColor property. /// + /// 3 public Vector4 SecondaryCursorColor { get @@ -768,6 +791,7 @@ namespace Tizen.NUI.BaseComponents /// /// The EnableCursorBlink property. /// + /// 3 public bool EnableCursorBlink { get @@ -785,6 +809,7 @@ namespace Tizen.NUI.BaseComponents /// /// The CursorBlinkInterval property. /// + /// 3 public float CursorBlinkInterval { get @@ -802,6 +827,7 @@ namespace Tizen.NUI.BaseComponents /// /// The CursorBlinkDuration property. /// + /// 3 public float CursorBlinkDuration { get @@ -819,6 +845,7 @@ namespace Tizen.NUI.BaseComponents /// /// The CursorWidth property. /// + /// 3 public int CursorWidth { get @@ -836,6 +863,7 @@ namespace Tizen.NUI.BaseComponents /// /// The GrabHandleImage property. /// + /// 3 public string GrabHandleImage { get @@ -853,6 +881,7 @@ namespace Tizen.NUI.BaseComponents /// /// The GrabHandlePressedImage property. /// + /// 3 public string GrabHandlePressedImage { get @@ -870,6 +899,7 @@ namespace Tizen.NUI.BaseComponents /// /// The ScrollThreshold property. /// + /// 3 public float ScrollThreshold { get @@ -887,6 +917,7 @@ namespace Tizen.NUI.BaseComponents /// /// The ScrollSpeed property. /// + /// 3 public float ScrollSpeed { get @@ -904,6 +935,7 @@ namespace Tizen.NUI.BaseComponents /// /// The SelectionHandleImageLeft property. /// + /// 3 public PropertyMap SelectionHandleImageLeft { get @@ -921,6 +953,7 @@ namespace Tizen.NUI.BaseComponents /// /// The SelectionHandleImageRight property. /// + /// 3 public PropertyMap SelectionHandleImageRight { get @@ -938,6 +971,7 @@ namespace Tizen.NUI.BaseComponents /// /// The SelectionHandlePressedImageLeft property. /// + /// 3 public PropertyMap SelectionHandlePressedImageLeft { get @@ -955,6 +989,7 @@ namespace Tizen.NUI.BaseComponents /// /// The SelectionHandlePressedImageRight property. /// + /// 3 public PropertyMap SelectionHandlePressedImageRight { get @@ -972,6 +1007,7 @@ namespace Tizen.NUI.BaseComponents /// /// The SelectionHandleMarkerImageLeft property. /// + /// 3 public PropertyMap SelectionHandleMarkerImageLeft { get @@ -989,6 +1025,7 @@ namespace Tizen.NUI.BaseComponents /// /// The SelectionHandleMarkerImageRight property. /// + /// 3 public PropertyMap SelectionHandleMarkerImageRight { get @@ -1006,6 +1043,7 @@ namespace Tizen.NUI.BaseComponents /// /// The SelectionHighlightColor property. /// + /// 3 public Vector4 SelectionHighlightColor { get @@ -1023,6 +1061,7 @@ namespace Tizen.NUI.BaseComponents /// /// The DecorationBoundingBox property. /// + /// 3 public Rectangle DecorationBoundingBox { get @@ -1040,6 +1079,7 @@ namespace Tizen.NUI.BaseComponents /// /// The InputMethodSettings property. /// + /// 3 public PropertyMap InputMethodSettings { get @@ -1057,6 +1097,7 @@ namespace Tizen.NUI.BaseComponents /// /// The InputColor property. /// + /// 3 public Vector4 InputColor { get @@ -1074,6 +1115,7 @@ namespace Tizen.NUI.BaseComponents /// /// The EnableMarkup property. /// + /// 3 public bool EnableMarkup { get @@ -1091,6 +1133,7 @@ namespace Tizen.NUI.BaseComponents /// /// The InputFontFamily property. /// + /// 3 public string InputFontFamily { get @@ -1108,6 +1151,7 @@ namespace Tizen.NUI.BaseComponents /// /// The InputFontStyle property. /// + /// 3 public PropertyMap InputFontStyle { get @@ -1125,6 +1169,7 @@ namespace Tizen.NUI.BaseComponents /// /// The InputPointSize property. /// + /// 3 public float InputPointSize { get @@ -1142,6 +1187,7 @@ namespace Tizen.NUI.BaseComponents /// /// The Underline property. /// + /// 3 public PropertyMap Underline { get @@ -1159,6 +1205,7 @@ namespace Tizen.NUI.BaseComponents /// /// The InputUnderline property. /// + /// 3 public string InputUnderline { get @@ -1176,6 +1223,7 @@ namespace Tizen.NUI.BaseComponents /// /// The Shadow property. /// + /// 3 public PropertyMap Shadow { get @@ -1193,6 +1241,7 @@ namespace Tizen.NUI.BaseComponents /// /// The InputShadow property. /// + /// 3 public string InputShadow { get @@ -1210,6 +1259,7 @@ namespace Tizen.NUI.BaseComponents /// /// The Emboss property. /// + /// 3 public string Emboss { get @@ -1227,6 +1277,7 @@ namespace Tizen.NUI.BaseComponents /// /// The InputEmboss property. /// + /// 3 public string InputEmboss { get @@ -1244,6 +1295,7 @@ namespace Tizen.NUI.BaseComponents /// /// The Outline property. /// + /// 3 public string Outline { get @@ -1261,6 +1313,7 @@ namespace Tizen.NUI.BaseComponents /// /// The InputOutline property. /// + /// 3 public string InputOutline { get @@ -1278,6 +1331,7 @@ namespace Tizen.NUI.BaseComponents /// /// The HiddenInputSettings property. /// + /// 3 public Tizen.NUI.PropertyMap HiddenInputSettings { get @@ -1295,6 +1349,7 @@ namespace Tizen.NUI.BaseComponents /// /// The PixelSize property. /// + /// 3 public float PixelSize { get @@ -1312,6 +1367,7 @@ namespace Tizen.NUI.BaseComponents /// /// The Enable selection property. /// + /// 4 public bool EnableSelection { get @@ -1350,6 +1406,7 @@ namespace Tizen.NUI.BaseComponents /// field.Placeholder = propertyMap; /// /// + /// 4 public Tizen.NUI.PropertyMap Placeholder { get @@ -1366,4 +1423,4 @@ namespace Tizen.NUI.BaseComponents } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs b/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs index 32ca8f3..4838202 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs @@ -113,6 +113,7 @@ namespace Tizen.NUI.BaseComponents /// /// Creates the TextLabel control. /// + /// 3 public TextLabel() : this(NDalicPINVOKE.TextLabel_New__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -123,6 +124,7 @@ namespace Tizen.NUI.BaseComponents /// Creates the TextLabel control. /// /// The text to display + /// 3 public TextLabel(string text) : this(NDalicPINVOKE.TextLabel_New__SWIG_1(text), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -149,6 +151,7 @@ namespace Tizen.NUI.BaseComponents /// /// ResourceManager about multilingual is null. /// + /// 4 public string TranslatableText { get @@ -188,6 +191,7 @@ namespace Tizen.NUI.BaseComponents /// The Text property.
/// The text to display in the UTF-8 format.
/// + /// 3 public string Text { get @@ -206,6 +210,7 @@ namespace Tizen.NUI.BaseComponents /// The FontFamily property.
/// The requested font family to use.
/// + /// 3 public string FontFamily { get @@ -224,6 +229,7 @@ namespace Tizen.NUI.BaseComponents /// The FontStyle property.
/// The requested font style to use.
/// + /// 3 public PropertyMap FontStyle { get @@ -242,6 +248,7 @@ namespace Tizen.NUI.BaseComponents /// The PointSize property.
/// The size of font in points.
/// + /// 3 public float PointSize { get @@ -260,6 +267,7 @@ namespace Tizen.NUI.BaseComponents /// The MultiLine property.
/// The single-line or multi-line layout option.
/// + /// 3 public bool MultiLine { get @@ -278,6 +286,7 @@ namespace Tizen.NUI.BaseComponents /// The HorizontalAlignment property.
/// The line horizontal alignment.
/// + /// 3 public HorizontalAlignment HorizontalAlignment { get @@ -333,6 +342,7 @@ namespace Tizen.NUI.BaseComponents /// The VerticalAlignment property.
/// The line vertical alignment.
/// + /// 3 public VerticalAlignment VerticalAlignment { get @@ -389,6 +399,7 @@ namespace Tizen.NUI.BaseComponents /// The TextColor property.
/// The color of the text.
/// + /// 3 public Color TextColor { get @@ -407,6 +418,7 @@ namespace Tizen.NUI.BaseComponents /// The ShadowOffset property.
/// The drop shadow offset 0 indicates no shadow.
/// + /// 3 public Vector2 ShadowOffset { get @@ -425,6 +437,7 @@ namespace Tizen.NUI.BaseComponents /// The ShadowColor property.
/// The color of a drop shadow.
/// + /// 3 public Vector4 ShadowColor { get @@ -443,6 +456,7 @@ namespace Tizen.NUI.BaseComponents /// The UnderlineEnabled property.
/// The underline enabled flag.
/// + /// 3 public bool UnderlineEnabled { get @@ -461,6 +475,7 @@ namespace Tizen.NUI.BaseComponents /// The UnderlineColor property.
/// Overrides the underline height from font metrics.
/// + /// 3 public Vector4 UnderlineColor { get @@ -479,6 +494,7 @@ namespace Tizen.NUI.BaseComponents /// The UnderlineHeight property.
/// Overrides the underline height from font metrics.
/// + /// 3 public float UnderlineHeight { get @@ -497,6 +513,7 @@ namespace Tizen.NUI.BaseComponents /// The EnableMarkup property.
/// Whether the mark-up processing is enabled.
/// + /// 3 public bool EnableMarkup { get @@ -515,6 +532,7 @@ namespace Tizen.NUI.BaseComponents /// The EnableAutoScroll property.
/// Starts or stops auto scrolling.
/// + /// 3 public bool EnableAutoScroll { get @@ -533,6 +551,7 @@ namespace Tizen.NUI.BaseComponents /// The AutoScrollSpeed property.
/// Sets the speed of scrolling in pixels per second.
/// + /// 3 public int AutoScrollSpeed { get @@ -551,6 +570,7 @@ namespace Tizen.NUI.BaseComponents /// The AutoScrollLoopCount property.
/// Number of complete loops when scrolling enabled.
/// + /// 3 public int AutoScrollLoopCount { get @@ -569,6 +589,7 @@ namespace Tizen.NUI.BaseComponents /// The AutoScrollGap property.
/// Gap before scrolling wraps.
/// + /// 3 public float AutoScrollGap { get @@ -587,6 +608,7 @@ namespace Tizen.NUI.BaseComponents /// The LineSpacing property.
/// The default extra space between lines in points.
/// + /// 3 public float LineSpacing { get @@ -605,6 +627,7 @@ namespace Tizen.NUI.BaseComponents /// The Underline property.
/// The default underline parameters.
/// + /// 3 public PropertyMap Underline { get @@ -623,6 +646,7 @@ namespace Tizen.NUI.BaseComponents /// The Shadow property.
/// The default shadow parameters.
/// + /// 3 public PropertyMap Shadow { get @@ -641,6 +665,7 @@ namespace Tizen.NUI.BaseComponents /// The Emboss property.
/// The default emboss parameters.
/// + /// 3 public string Emboss { get @@ -659,6 +684,7 @@ namespace Tizen.NUI.BaseComponents /// The Outline property.
/// The default outline parameters.
/// + /// 3 public string Outline { get @@ -677,6 +703,7 @@ namespace Tizen.NUI.BaseComponents /// The PixelSize property.
/// The size of font in pixels.
/// + /// 3 public float PixelSize { get @@ -695,6 +722,7 @@ namespace Tizen.NUI.BaseComponents /// The Ellipsis property.
/// Enable or disable the ellipsis.
/// + /// 3 public bool Ellipsis { get @@ -713,6 +741,7 @@ namespace Tizen.NUI.BaseComponents /// The AutoScrollLoopDelay property.
/// Do something.
/// + /// 3 public float AutoScrollLoopDelay { get @@ -731,6 +760,7 @@ namespace Tizen.NUI.BaseComponents /// The AutoScrollStopMode property.
/// Do something.
/// + /// 3 public AutoScrollStopMode AutoScrollStopMode { get @@ -762,6 +792,7 @@ namespace Tizen.NUI.BaseComponents /// Animation framework can be used to change the color of the text when not using mark up.
/// Not possible when text is auto scrolling.
/// + /// 4 public Color TextColorAnimatable { get @@ -778,6 +809,7 @@ namespace Tizen.NUI.BaseComponents /// The line count of the text. /// + /// 4 public int LineCount { get @@ -792,6 +824,7 @@ namespace Tizen.NUI.BaseComponents /// The LineWrapMode property.
/// line wrap mode when the text lines over layout width.
/// + /// 4 public LineWrapMode LineWrapMode { get @@ -831,4 +864,4 @@ namespace Tizen.NUI.BaseComponents } } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/BaseComponents/VideoView.cs b/src/Tizen.NUI/src/public/BaseComponents/VideoView.cs index a70d5cb..0d8705b 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/VideoView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/VideoView.cs @@ -83,6 +83,7 @@ namespace Tizen.NUI.BaseComponents /// /// The view for video playback and display. /// + /// 3 public VideoView VideoView { get @@ -108,6 +109,7 @@ namespace Tizen.NUI.BaseComponents /// (in the type of FinishedEventHandler-DaliEventHandler) provided by the user.
/// The finished signal is emitted when a video playback has finished.
/// + /// 3 public event EventHandler Finished { add @@ -155,6 +157,7 @@ namespace Tizen.NUI.BaseComponents /// /// Creates an initialized VideoView. /// + /// 3 public VideoView() : this(NDalicPINVOKE.VideoView_New__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -166,6 +169,7 @@ namespace Tizen.NUI.BaseComponents /// If the string is empty, VideoView will not display anything.
/// /// The URL of the video resource to display. + /// 3 public VideoView(string url) : this(NDalicPINVOKE.VideoView_New__SWIG_1(url), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -187,6 +191,7 @@ namespace Tizen.NUI.BaseComponents /// /// Starts the video playback. /// + /// 3 public void Play() { NDalicPINVOKE.VideoView_Play(swigCPtr); @@ -196,6 +201,7 @@ namespace Tizen.NUI.BaseComponents /// /// Pauses the video playback. /// + /// 3 public void Pause() { NDalicPINVOKE.VideoView_Pause(swigCPtr); @@ -205,6 +211,7 @@ namespace Tizen.NUI.BaseComponents /// /// Stops the video playback. /// + /// 3 public void Stop() { NDalicPINVOKE.VideoView_Stop(swigCPtr); @@ -215,6 +222,7 @@ namespace Tizen.NUI.BaseComponents /// Seeks forward by the specified number of milliseconds. /// /// The position for forward playback. + /// 3 public void Forward(int millisecond) { NDalicPINVOKE.VideoView_Forward(swigCPtr, millisecond); @@ -225,6 +233,7 @@ namespace Tizen.NUI.BaseComponents /// Seeks backward by the specified number of milliseconds. /// /// The position for backward playback. + /// 3 public void Backward(int millisecond) { NDalicPINVOKE.VideoView_Backward(swigCPtr, millisecond); @@ -241,6 +250,7 @@ namespace Tizen.NUI.BaseComponents /// /// Video file URL as string type or PropertyMap. /// + /// 3 public PropertyMap Video { get @@ -258,6 +268,7 @@ namespace Tizen.NUI.BaseComponents /// /// The looping status, true or false. /// + /// 3 public bool Looping { get @@ -275,6 +286,7 @@ namespace Tizen.NUI.BaseComponents /// /// The mute status, true or false. /// + /// 3 public bool Muted { get @@ -292,6 +304,7 @@ namespace Tizen.NUI.BaseComponents /// /// The left and the right volume scalar as float type, PropertyMap with two values ( "left" and "right" ). /// + /// 3 public PropertyMap Volume { get @@ -308,4 +321,4 @@ namespace Tizen.NUI.BaseComponents } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/BaseComponents/View.cs b/src/Tizen.NUI/src/public/BaseComponents/View.cs index 61aafa9..bbfd422 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/View.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/View.cs @@ -45,6 +45,7 @@ namespace Tizen.NUI.BaseComponents /// /// /// + /// 4 public override void Add(View child) { NDalicPINVOKE.Actor_Add(swigCPtr, View.getCPtr(child)); @@ -57,6 +58,7 @@ namespace Tizen.NUI.BaseComponents /// /// /// + /// 4 public override void Remove(View child) { NDalicPINVOKE.Actor_Remove(swigCPtr, View.getCPtr(child)); @@ -69,6 +71,7 @@ namespace Tizen.NUI.BaseComponents /// /// /// + /// 4 public override View GetChildAt(uint index) { IntPtr cPtr = NDalicPINVOKE.Actor_GetChildAt(swigCPtr, index); @@ -270,6 +273,7 @@ namespace Tizen.NUI.BaseComponents /// An event for the KeyInputFocusGained signal which can be used to subscribe or unsubscribe the event handler provided by the user.
/// The KeyInputFocusGained signal is emitted when the control gets the key input focus.
/// + /// 3 public event EventHandler FocusGained { add @@ -312,6 +316,7 @@ namespace Tizen.NUI.BaseComponents /// An event for the KeyInputFocusLost signal which can be used to subscribe or unsubscribe the event handler provided by the user.
/// The KeyInputFocusLost signal is emitted when the control loses the key input focus.
/// + /// 3 public event EventHandler FocusLost { add @@ -354,6 +359,7 @@ namespace Tizen.NUI.BaseComponents /// /// Key - is the key sent to the view. /// + /// 3 public Key Key { get @@ -376,6 +382,7 @@ namespace Tizen.NUI.BaseComponents /// An event for the KeyPressed signal which can be used to subscribe or unsubscribe the event handler provided by the user.
/// The KeyPressed signal is emitted when the key event is received.
/// + /// 4 public event EventHandlerWithReturnType KeyEvent { add @@ -431,6 +438,7 @@ namespace Tizen.NUI.BaseComponents /// An event for the OnRelayout signal which can be used to subscribe or unsubscribe the event handler.
/// The OnRelayout signal is emitted after the size has been set on the view during relayout.
/// + /// 3 public event EventHandler Relayout { add @@ -475,6 +483,7 @@ namespace Tizen.NUI.BaseComponents /// /// Touch - contains the information of touch points. /// + /// 3 public Touch Touch { get @@ -497,6 +506,7 @@ namespace Tizen.NUI.BaseComponents /// An event for the touched signal which can be used to subscribe or unsubscribe the event handler provided by the user.
/// The touched signal is emitted when the touch input is received.
/// + /// 4 public event EventHandlerWithReturnType TouchEvent { add @@ -547,6 +557,7 @@ namespace Tizen.NUI.BaseComponents /// /// Hover - contains touch points that represent the points that are currently being hovered or the points where a hover has stopped. /// + /// 3 public Hover Hover { get @@ -569,6 +580,7 @@ namespace Tizen.NUI.BaseComponents /// An event for the hovered signal which can be used to subscribe or unsubscribe the event handler provided by the user.
/// The hovered signal is emitted when the hover input is received.
/// + /// 4 public event EventHandlerWithReturnType HoverEvent { add @@ -619,6 +631,7 @@ namespace Tizen.NUI.BaseComponents /// /// WheelEvent - store a wheel rolling type: MOUSE_WHEEL or CUSTOM_WHEEL. /// + /// 3 public Wheel Wheel { get @@ -641,6 +654,7 @@ namespace Tizen.NUI.BaseComponents /// An event for the WheelMoved signal which can be used to subscribe or unsubscribe the event handler provided by the user.
/// The WheelMoved signal is emitted when the wheel event is received.
/// + /// 4 public event EventHandlerWithReturnType WheelEvent { add @@ -690,6 +704,7 @@ namespace Tizen.NUI.BaseComponents /// An event for the OnWindow signal which can be used to subscribe or unsubscribe the event handler.
/// The OnWindow signal is emitted after the view has been connected to the window.
/// + /// 3 public event EventHandler AddedToWindow { add @@ -733,6 +748,7 @@ namespace Tizen.NUI.BaseComponents /// An event for the OffWindow signal, which can be used to subscribe or unsubscribe the event handler.
/// OffWindow signal is emitted after the view has been disconnected from the window.
/// + /// 3 public event EventHandler RemovedFromWindow { add @@ -778,6 +794,7 @@ namespace Tizen.NUI.BaseComponents /// /// The view, or child of view, whose visibility has changed. /// + /// 3 public View View { get @@ -793,6 +810,7 @@ namespace Tizen.NUI.BaseComponents /// /// Whether the view is now visible or not. /// + /// 3 public bool Visibility { get @@ -808,6 +826,7 @@ namespace Tizen.NUI.BaseComponents /// /// Whether the view's visible property has changed or a parent's. /// + /// 3 public VisibilityChangeType Type { get @@ -830,6 +849,7 @@ namespace Tizen.NUI.BaseComponents /// An event for visibility change which can be used to subscribe or unsubscribe the event handler.
/// This signal is emitted when the visible property of this or a parent view is changed.
/// + /// 3 public event EventHandler VisibilityChanged { add @@ -883,6 +903,7 @@ namespace Tizen.NUI.BaseComponents /// /// The view, or child of view, whose layout direction has changed. /// + /// 4 public View View { get @@ -898,6 +919,7 @@ namespace Tizen.NUI.BaseComponents /// /// Whether the view's layout direction property has changed or a parent's. /// + /// 4 public ViewLayoutDirectionType Type { get @@ -920,6 +942,7 @@ namespace Tizen.NUI.BaseComponents /// Event for layout direction change which can be used to subscribe/unsubscribe the event handler.
/// This signal is emitted when the layout direction property of this or a parent view is changed.
/// + /// 4 public event EventHandler LayoutDirectionChanged { add @@ -977,6 +1000,7 @@ namespace Tizen.NUI.BaseComponents /// An event for the ResourcesLoadedSignal signal which can be used to subscribe or unsubscribe the event handler provided by the user.
/// This signal is emitted after all resources required by a view are loaded and ready.
/// + /// 4 public event EventHandler ResourcesLoaded { add @@ -1083,6 +1107,7 @@ namespace Tizen.NUI.BaseComponents /// /// Describes the direction to move the focus towards. /// + /// 3 public enum FocusDirection { Left, @@ -1096,6 +1121,7 @@ namespace Tizen.NUI.BaseComponents /// /// Creates a new instance of a view. /// + /// 3 public View() : this(NDalicPINVOKE.View_New(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -1160,6 +1186,7 @@ namespace Tizen.NUI.BaseComponents /// Queries whether the view has a focus. /// /// True if this view has a focus. + /// 3 public bool HasFocus() { bool ret = NDalicPINVOKE.View_HasKeyInputFocus(swigCPtr); @@ -1205,6 +1232,7 @@ namespace Tizen.NUI.BaseComponents /// Sets the name of the style to be applied to the view. /// /// A string matching a style described in a stylesheet. + /// 3 public void SetStyleName(string styleName) { NDalicPINVOKE.View_SetStyleName(swigCPtr, styleName); @@ -1215,6 +1243,7 @@ namespace Tizen.NUI.BaseComponents /// Retrieves the name of the style to be applied to the view (if any). /// /// A string matching a style, or an empty string. + /// 3 public string GetStyleName() { string ret = NDalicPINVOKE.View_GetStyleName(swigCPtr); @@ -1244,6 +1273,7 @@ namespace Tizen.NUI.BaseComponents /// /// Clears the background. /// + /// 3 public void ClearBackground() { NDalicPINVOKE.View_ClearBackground(swigCPtr); @@ -1286,6 +1316,7 @@ namespace Tizen.NUI.BaseComponents /// /// The StyleName, type string. /// + /// 3 public string StyleName { get @@ -1303,6 +1334,7 @@ namespace Tizen.NUI.BaseComponents /// /// The mutually exclusive with BACKGROUND_IMAGE & BACKGROUND type Vector4. /// + /// 3 public Color BackgroundColor { get @@ -1329,6 +1361,7 @@ namespace Tizen.NUI.BaseComponents /// Creates an animation to animate the background color visual. If there is no /// background visual, creates one with transparent black as it's mixColor. /// + /// 4 public Animation AnimateBackgroundColor( object destinationValue, int startTime, int endTime, @@ -1350,6 +1383,7 @@ namespace Tizen.NUI.BaseComponents /// /// Creates an animation to animate the mixColor of the named visual. /// + /// 4 public Animation AnimateColor( string targetVisual, object destinationColor, int startTime, int endTime, AlphaFunction.BuiltinFunctions? alphaFunction = null, object initialColor = null ) { Animation animation = null; @@ -1390,6 +1424,7 @@ namespace Tizen.NUI.BaseComponents /// /// The mutually exclusive with BACKGROUND_COLOR & BACKGROUND type Map. /// + /// 3 public string BackgroundImage { get @@ -1430,6 +1465,7 @@ namespace Tizen.NUI.BaseComponents /// /// The current state of the view. /// + /// 3 public States State { get @@ -1468,6 +1504,7 @@ namespace Tizen.NUI.BaseComponents /// /// The current sub state of the view. /// + /// 3 public States SubState { get @@ -1522,6 +1559,7 @@ namespace Tizen.NUI.BaseComponents /// /// Displays a tooltip /// + /// 3 public Tizen.NUI.PropertyMap Tooltip { get @@ -1539,6 +1577,7 @@ namespace Tizen.NUI.BaseComponents /// /// Displays a tooltip as a text. /// + /// 3 public string TooltipText { set @@ -1608,6 +1647,7 @@ namespace Tizen.NUI.BaseComponents /// The proportion of the free space in the container, the flex item will receive.
/// If all items in the container set this property, their sizes will be proportional to the specified flex factor.
/// + /// 3 public float Flex { get @@ -1626,6 +1666,7 @@ namespace Tizen.NUI.BaseComponents /// The Child property of FlexContainer.
/// The alignment of the flex item along the cross axis, which, if set, overides the default alignment for all items in the container.
/// + /// 3 public int AlignSelf { get @@ -1644,6 +1685,7 @@ namespace Tizen.NUI.BaseComponents /// The Child property of FlexContainer.
/// The space around the flex item.
/// + /// 3 public Vector4 FlexMargin { get @@ -1661,6 +1703,7 @@ namespace Tizen.NUI.BaseComponents /// /// The top-left cell this child occupies, if not set, the first available cell is used. /// + /// 3 public Vector2 CellIndex { get @@ -1678,6 +1721,7 @@ namespace Tizen.NUI.BaseComponents /// /// The number of rows this child occupies, if not set, the default value is 1. /// + /// 3 public float RowSpan { get @@ -1695,6 +1739,7 @@ namespace Tizen.NUI.BaseComponents /// /// The number of columns this child occupies, if not set, the default value is 1. /// + /// 3 public float ColumnSpan { get @@ -1712,6 +1757,7 @@ namespace Tizen.NUI.BaseComponents /// /// The horizontal alignment of this child inside the cells, if not set, the default value is 'left'. /// + /// 3 public Tizen.NUI.HorizontalAlignmentType CellHorizontalAlignment { get @@ -1767,6 +1813,7 @@ namespace Tizen.NUI.BaseComponents /// /// The vertical alignment of this child inside the cells, if not set, the default value is 'top'. /// + /// 3 public Tizen.NUI.VerticalAlignmentType CellVerticalAlignment { get @@ -1824,6 +1871,7 @@ namespace Tizen.NUI.BaseComponents /// This will return null if not set.
/// This will also return null if the specified left focusable view is not on a window.
/// + /// 3 public View LeftFocusableView { // As native side will be only storing IDs so need a logic to convert View to ID and vice-versa. @@ -1846,6 +1894,7 @@ namespace Tizen.NUI.BaseComponents /// This will return null if not set.
/// This will also return null if the specified right focusable view is not on a window.
/// + /// 3 public View RightFocusableView { // As native side will be only storing IDs so need a logic to convert View to ID and vice-versa. @@ -1868,6 +1917,7 @@ namespace Tizen.NUI.BaseComponents /// This will return null if not set.
/// This will also return null if the specified up focusable view is not on a window.
/// + /// 3 public View UpFocusableView { // As native side will be only storing IDs so need a logic to convert View to ID and vice-versa. @@ -1890,6 +1940,7 @@ namespace Tizen.NUI.BaseComponents /// This will return null if not set.
/// This will also return null if the specified down focusable view is not on a window.
/// + /// 3 public View DownFocusableView { // As native side will be only storing IDs so need a logic to convert View to ID and vice-versa. @@ -1910,6 +1961,7 @@ namespace Tizen.NUI.BaseComponents /// /// Whether the view should be focusable by keyboard navigation. /// + /// 3 public bool Focusable { set @@ -1925,6 +1977,7 @@ namespace Tizen.NUI.BaseComponents /// /// Enumeration for describing the states of the view. /// + /// 3 public enum States { /// @@ -1945,6 +1998,7 @@ namespace Tizen.NUI.BaseComponents /// Retrieves the position of the view.
/// The coordinates are relative to the view's parent.
///
+ /// 3 public Position CurrentPosition { get @@ -1959,6 +2013,7 @@ namespace Tizen.NUI.BaseComponents /// This does not interfere with the view's scale factor.
/// The views default depth is the minimum of width and height.
/// + /// 3 public Size2D Size2D { get @@ -1978,6 +2033,7 @@ namespace Tizen.NUI.BaseComponents /// Retrieves the size of the view.
/// The coordinates are relative to the view's parent.
/// + /// 3 public Size2D CurrentSize { get @@ -1998,6 +2054,7 @@ namespace Tizen.NUI.BaseComponents /// /// Retrieves and sets the view's opacity.
///
+ /// 3 public float Opacity { get @@ -2017,6 +2074,7 @@ namespace Tizen.NUI.BaseComponents /// By default, sets the position vector between the parent origin and the pivot point (default).
/// If the position inheritance is disabled, sets the world position.
/// + /// 3 public Position2D Position2D { get @@ -2034,6 +2092,7 @@ namespace Tizen.NUI.BaseComponents /// /// Retrieves the screen postion of the view.
///
+ /// 3 public Vector2 ScreenPosition { get @@ -2051,6 +2110,7 @@ namespace Tizen.NUI.BaseComponents /// If false, then the top-left of the view is used for the position. /// Setting this to false will allow scaling or rotation around the anchor-point without affecting the view's position. /// + /// 4 public bool PositionUsesPivotPoint { get @@ -2096,6 +2156,7 @@ namespace Tizen.NUI.BaseComponents /// Queries whether the view is connected to the stage.
/// When a view is connected, it will be directly or indirectly parented to the root view.
/// + /// 3 public bool IsOnWindow { get @@ -2107,6 +2168,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets the depth in the hierarchy for the view. /// + /// 3 public int HierarchyDepth { get @@ -2123,6 +2185,7 @@ namespace Tizen.NUI.BaseComponents /// Raise, Lower, RaiseToTop, LowerToBottom, RaiseAbove, and LowerBelow will override the sibling order. /// The values set by this property will likely change. /// + /// 3 public int SiblingOrder { get @@ -2161,6 +2224,7 @@ namespace Tizen.NUI.BaseComponents /// /// Deriving classes stipulate the natural size and by default a view has a zero natural size. /// + /// 4 public Size2D NaturalSize2D { get @@ -2179,6 +2243,7 @@ namespace Tizen.NUI.BaseComponents /// /// This is an asynchronous method. /// + /// 3 public void Show() { SetVisible(true); @@ -2192,6 +2257,7 @@ namespace Tizen.NUI.BaseComponents /// If the view is hidden, then the view and its children will not be rendered. /// This is regardless of the individual visibility of the children, i.e., the view will only be rendered if all of its parents are shown. /// + /// 3 public void Hide() { SetVisible(false); @@ -2218,6 +2284,7 @@ namespace Tizen.NUI.BaseComponents /// Sibling order of views within the parent will be updated automatically. /// Once a raise or lower API is used, that view will then have an exclusive sibling order independent of insertion. /// + /// 3 public void RaiseToTop() { NDalicPINVOKE.RaiseToTop(swigCPtr); @@ -2232,6 +2299,7 @@ namespace Tizen.NUI.BaseComponents /// The sibling order of views within the parent will be updated automatically. /// Once a raise or lower API is used that view will then have an exclusive sibling order independent of insertion. /// + /// 3 public void LowerToBottom() { NDalicPINVOKE.LowerToBottom(swigCPtr); @@ -2244,6 +2312,7 @@ namespace Tizen.NUI.BaseComponents /// /// Most resources are only loaded when the control is placed on the stage. /// + /// 4 public bool IsResourceReady() { bool ret = NDalicPINVOKE.IsResourceReady(swigCPtr); @@ -2334,6 +2403,7 @@ namespace Tizen.NUI.BaseComponents /// Removes a view from its parent view or layer. If a view has no parent, this method does nothing. /// ///
The (child) view has been initialized. 
+ /// 4 public void Unparent() { NDalicPINVOKE.Actor_Unparent(swigCPtr); @@ -2348,6 +2418,7 @@ namespace Tizen.NUI.BaseComponents ///
The view has been initialized.
/// The name of the view to find. /// A handle to the view if found, or an empty handle if not. + /// 3 public View FindChildByName(string viewName) { IntPtr cPtr = NDalicPINVOKE.Actor_FindChildByName(swigCPtr, viewName); @@ -2766,6 +2837,7 @@ namespace Tizen.NUI.BaseComponents /// The screen X-coordinate. /// The screen Y-coordinate. /// True if the conversion succeeded. + /// 3 public bool ScreenToLocal(out float localX, out float localY, float screenX, float screenY) { bool ret = NDalicPINVOKE.Actor_ScreenToLocal(swigCPtr, out localX, out localY, screenX, screenY); @@ -2812,6 +2884,7 @@ namespace Tizen.NUI.BaseComponents /// ///
The view has been initialized.
/// A Vector3 representing the relative factor to be applied to each axis. + /// 3 public void SetSizeModeFactor(Vector3 factor) { NDalicPINVOKE.Actor_SetSizeModeFactor(swigCPtr, Vector3.getCPtr(factor)); @@ -2834,6 +2907,7 @@ namespace Tizen.NUI.BaseComponents /// /// The width to use. /// The height based on the width. + /// 3 public float GetHeightForWidth(float width) { float ret = NDalicPINVOKE.Actor_GetHeightForWidth(swigCPtr, width); @@ -2849,6 +2923,7 @@ namespace Tizen.NUI.BaseComponents /// /// The height to use. /// The width based on the height. + /// 3 public float GetWidthForHeight(float height) { float ret = NDalicPINVOKE.Actor_GetWidthForHeight(swigCPtr, height); @@ -2917,6 +2992,7 @@ namespace Tizen.NUI.BaseComponents return ret; } + /// 4 public uint AddRenderer(Renderer renderer) { uint ret = NDalicPINVOKE.Actor_AddRenderer(swigCPtr, Renderer.getCPtr(renderer)); @@ -2933,6 +3009,7 @@ namespace Tizen.NUI.BaseComponents return ret; } + /// 4 public Renderer GetRendererAt(uint index) { IntPtr cPtr = NDalicPINVOKE.Actor_GetRendererAt(swigCPtr, index); @@ -2943,6 +3020,7 @@ namespace Tizen.NUI.BaseComponents return ret; } + /// 4 public void RemoveRenderer(Renderer renderer) { NDalicPINVOKE.Actor_RemoveRenderer__SWIG_0(swigCPtr, Renderer.getCPtr(renderer)); @@ -2950,6 +3028,7 @@ namespace Tizen.NUI.BaseComponents throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// 4 public void RemoveRenderer(uint index) { NDalicPINVOKE.Actor_RemoveRenderer__SWIG_1(swigCPtr, index); @@ -3033,6 +3112,7 @@ namespace Tizen.NUI.BaseComponents /// A view's position is the distance between this origin and the view's anchor-point.
/// ///
The view has been initialized.
+ /// 3 public Position ParentOrigin { get @@ -3097,6 +3177,7 @@ namespace Tizen.NUI.BaseComponents /// A view's orientation is the rotation from its default orientation, the rotation is centered around its anchor-point.
///
The view has been initialized.
/// + /// 3 public Position PivotPoint { get @@ -3156,6 +3237,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the size width of the view. /// + /// 3 public float SizeWidth { get @@ -3173,6 +3255,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the size height of the view. /// + /// 3 public float SizeHeight { get @@ -3192,6 +3275,7 @@ namespace Tizen.NUI.BaseComponents /// By default, sets the position vector between the parent origin and pivot point (default).
/// If the position inheritance is disabled, sets the world position.
/// + /// 3 public Position Position { get @@ -3209,6 +3293,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the position X of the view. /// + /// 3 public float PositionX { get @@ -3226,6 +3311,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the position Y of the view. /// + /// 3 public float PositionY { get @@ -3243,6 +3329,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the position Z of the view. /// + /// 3 public float PositionZ { get @@ -3260,6 +3347,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the world position of the view. /// + /// 3 public Vector3 WorldPosition { get @@ -3305,6 +3393,7 @@ namespace Tizen.NUI.BaseComponents /// The view's orientation is the rotation from its default orientation, and the rotation is centered around its anchor-point.
/// /// This is an asynchronous method. + /// 3 public Rotation Orientation { get @@ -3322,6 +3411,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the world orientation of the view.
///
+ /// 3 public Rotation WorldOrientation { get @@ -3335,6 +3425,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the scale factor applied to the view.
///
+ /// 3 public Vector3 Scale { get @@ -3352,6 +3443,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the scale X factor applied to the view. /// + /// 3 public float ScaleX { get @@ -3369,6 +3461,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the scale Y factor applied to the view. /// + /// 3 public float ScaleY { get @@ -3386,6 +3479,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the scale Z factor applied to the view. /// + /// 3 public float ScaleZ { get @@ -3403,6 +3497,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets the world scale of the view. /// + /// 3 public Vector3 WorldScale { get @@ -3420,6 +3515,7 @@ namespace Tizen.NUI.BaseComponents /// If the view is not visible, then the view and its children will not be rendered. /// This is regardless of the individual visibility values of the children, i.e., the view will only be rendered if all of its parents have visibility set to true. /// + /// 3 public bool Visibility { get @@ -3433,6 +3529,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets the view's world color. /// + /// 3 public Vector4 WorldColor { get @@ -3456,6 +3553,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the view's name. /// + /// 3 public string Name { get @@ -3473,6 +3571,7 @@ namespace Tizen.NUI.BaseComponents /// /// Get the number of children held by the view. /// + /// 3 public new uint ChildCount { get @@ -3485,6 +3584,7 @@ namespace Tizen.NUI.BaseComponents /// Gets the view's ID. /// Readonly /// + /// 3 public uint ID { get @@ -3496,6 +3596,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the status of whether the view should emit touch or hover signals. /// + /// 3 public bool Sensitive { get @@ -3513,6 +3614,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the status of whether the view should receive a notification when touch or hover motion events leave the boundary of the view. /// + /// 3 public bool LeaveRequired { get @@ -3530,6 +3632,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the status of whether a child view inherits it's parent's orientation. /// + /// 3 public bool InheritOrientation { get @@ -3547,6 +3650,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the status of whether a child view inherits it's parent's scale. /// + /// 3 public bool InheritScale { get @@ -3569,6 +3673,7 @@ namespace Tizen.NUI.BaseComponents /// Overlay views are drawn in a separate pass, after all non-overlay views within the layer.
/// For overlay views, the drawing order is with respect to tree levels of views, and depth-testing will not be used.
/// + /// 3 public DrawModeType DrawMode { get @@ -3601,6 +3706,7 @@ namespace Tizen.NUI.BaseComponents /// This factor is only used when ResizePolicyType is set to either: ResizePolicyType.SizeRelativeToParent or ResizePolicyType.SizeFixedOffsetFromParent.
/// This view's size is set to the view's size multiplied by or added to this factor, depending on ResizePolicyType.
/// + /// 3 public Vector3 SizeModeFactor { get @@ -3618,6 +3724,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the width resize policy to be used. /// + /// 3 public ResizePolicyType WidthResizePolicy { get @@ -3658,6 +3765,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the height resize policy to be used. /// + /// 3 public ResizePolicyType HeightResizePolicy { get @@ -3699,6 +3807,7 @@ namespace Tizen.NUI.BaseComponents /// Gets or sets the policy to use when setting size with size negotiation.
/// Defaults to SizeScalePolicyType.UseSizeSet.
/// + /// 3 public SizeScalePolicyType SizeScalePolicy { get @@ -3753,6 +3862,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the status of whether the width size is dependent on the height size. /// + /// 3 public bool WidthForHeight { get @@ -3770,6 +3880,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the status of whether the height size is dependent on the width size. /// + /// 3 public bool HeightForWidth { get @@ -3787,6 +3898,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the padding for use in layout. /// + /// 3 public Vector4 Padding { get @@ -3804,6 +3916,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the minimum size the view can be assigned in size negotiation. /// + /// 3 public Size2D MinimumSize { get @@ -3821,6 +3934,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the maximum size the view can be assigned in size negotiation. /// + /// 3 public Size2D MaximumSize { get @@ -3840,6 +3954,7 @@ namespace Tizen.NUI.BaseComponents /// Default is to inherit.
/// Switching this off means that using position sets the view's world position, i.e., translates from the world origin (0,0,0) to the pivot point of the view.
/// + /// 3 public bool InheritPosition { get @@ -3857,6 +3972,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the clipping behavior (mode) of it's children. /// + /// 3 public ClippingModeType ClippingMode { get @@ -3885,6 +4001,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets the number of renderers held by the view. /// + /// 4 public uint RendererCount { get @@ -4106,6 +4223,10 @@ namespace Tizen.NUI.BaseComponents } } + /// + /// Gets/Sets whether inherit parent's the layout Direction. + /// + /// 4 public bool InheritLayoutDirection { get @@ -4120,6 +4241,10 @@ namespace Tizen.NUI.BaseComponents } } + /// + /// Gets/Sets the layout Direction. + /// + /// 4 public ViewLayoutDirectionType LayoutDirection { get @@ -4138,9 +4263,13 @@ namespace Tizen.NUI.BaseComponents } } + /// + /// The View layout Direction type. + /// + /// 4 public enum ViewLayoutDirectionType { LTR, RTL } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/BaseComponents/VisibilityChangeType.cs b/src/Tizen.NUI/src/public/BaseComponents/VisibilityChangeType.cs index 4e96678..d4fc89e 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/VisibilityChangeType.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/VisibilityChangeType.cs @@ -16,11 +16,14 @@ namespace Tizen.NUI { - + /// + /// The visibility change type. + /// + /// 3 public enum VisibilityChangeType { SELF, PARENT } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/BaseComponents/VisualView.cs b/src/Tizen.NUI/src/public/BaseComponents/VisualView.cs index b67bab9..1a0360b 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/VisualView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/VisualView.cs @@ -65,6 +65,7 @@ namespace Tizen.NUI.BaseComponents /// /// Overrides the parent method. /// + /// 3 public override void OnInitialize() { //Initialize empty @@ -78,6 +79,7 @@ namespace Tizen.NUI.BaseComponents /// /// The name of a visual to add. If a name is added to an existing visual name, the visual will be replaced. /// The property map of a visual to create. + /// 3 public void AddVisual(string visualName, VisualMap visualMap) { VisualBase visual = null; @@ -126,6 +128,7 @@ namespace Tizen.NUI.BaseComponents /// Removes a visual by name. /// /// The name of a visual to remove. + /// 3 public void RemoveVisual(string visualName) { foreach (var item in _visualDictionary) @@ -146,6 +149,7 @@ namespace Tizen.NUI.BaseComponents /// /// Gets the total number of visuals which are added by users. /// + /// 3 public int NumberOfVisuals { get @@ -157,6 +161,7 @@ namespace Tizen.NUI.BaseComponents /// /// Removes all visuals of the visual view. /// + /// 3 public void RemoveAll() { foreach (var item in _visualDictionary) @@ -178,6 +183,7 @@ namespace Tizen.NUI.BaseComponents /// As this function is called from inside the size negotiation algorithm, you cannot call RequestRelayout (the call would just be ignored). /// The allocated size. /// The control should add actors to this container that it is not able to allocate a size for. + /// 3 public override void OnRelayout(Vector2 size, RelayoutContainer container) { foreach (var item in _visualDictionary) @@ -215,6 +221,7 @@ namespace Tizen.NUI.BaseComponents /// The alpha function of visual animation. /// The initial property value of visual animation. /// Animation instance + /// 3 public Animation AnimateVisual(VisualMap target, string property, object destinationValue, int startTime, int endTime, AlphaFunction.BuiltinFunctions? alphaFunction = null, object initialValue = null) { string _alphaFunction = null; @@ -342,6 +349,7 @@ namespace Tizen.NUI.BaseComponents /// The end time of visual animation. /// The alpha function of visual animation. /// The initial property value of visual animation. + /// 3 public void AnimateVisualAdd(VisualMap target, string property, object destinationValue, int startTime, int endTime, AlphaFunction.BuiltinFunctions? alphaFunction = null, object initialValue = null) { string _alphaFunction = null; @@ -461,6 +469,7 @@ namespace Tizen.NUI.BaseComponents /// Finishes to add a visual animation (transition) map and creates a transition animation. /// /// Animation instance. + /// 3 public Animation AnimateVisualAddFinish() { if ( _animateArray == null || _animateArray.Empty()) @@ -490,4 +499,4 @@ namespace Tizen.NUI.BaseComponents //temporary fix to pass TCT } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/BaseHandle.cs b/src/Tizen.NUI/src/public/BaseHandle.cs index 8857779..dfc1890 100755 --- a/src/Tizen.NUI/src/public/BaseHandle.cs +++ b/src/Tizen.NUI/src/public/BaseHandle.cs @@ -17,6 +17,9 @@ namespace Tizen.NUI { + /// + /// BaseHandle is a handle to an internal Dali resource. + /// public class BaseHandle : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -79,6 +82,10 @@ namespace Tizen.NUI } } + /// + /// Dispose. + /// + /// 3 public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -133,9 +140,10 @@ namespace Tizen.NUI disposed = true; } - - - // Returns the bool value true to indicate that an operand is true and returns false otherwise. + /// + /// Returns the bool value true to indicate that an operand is true and returns false otherwise. + /// + /// 3 public static bool operator true(BaseHandle handle) { // if the C# object is null, return false @@ -147,7 +155,10 @@ namespace Tizen.NUI return handle.HasBody(); } - // Returns the bool false to indicate that an operand is false and returns true otherwise. + /// + /// Returns the bool false to indicate that an operand is false and returns true otherwise. + /// + /// 3 public static bool operator false(BaseHandle handle) { // if the C# object is null, return true @@ -158,7 +169,10 @@ namespace Tizen.NUI return !handle.HasBody(); } - // Explicit conversion from Handle to bool. + /// + /// Explicit conversion from Handle to bool. + /// + /// 3 public static explicit operator bool(BaseHandle handle) { // if the C# object is null, return false @@ -170,7 +184,10 @@ namespace Tizen.NUI return handle.HasBody(); } - // Equality operator + /// + /// Equality operator + /// + /// 3 public static bool operator ==(BaseHandle x, BaseHandle y) { // if the C# objects are the same return true @@ -198,18 +215,20 @@ namespace Tizen.NUI return false; } - // Inequality operator. Returns Null if either operand is Null + /// + /// Inequality operator. Returns Null if either operand is Null + /// + /// 3 public static bool operator !=(BaseHandle x, BaseHandle y) { return !(x == y); } - // Logical AND operator for && - // It's possible when doing a && this function (opBitwiseAnd) is never called due - // to short circuiting. E.g. - // If you perform x && y What actually is called is - // BaseHandle.op_False( x ) ? BaseHandle.op_True( x ) : BaseHandle.opTrue( BaseHandle.opBitwiseAnd(x,y) ) - // + /// + /// Logical AND operator for &&.
+ /// It's possible when doing a && this function (opBitwiseAnd) is never called due to short circuiting.
+ ///
+ /// 3 public static BaseHandle operator &(BaseHandle x, BaseHandle y) { if (x == y) @@ -219,11 +238,11 @@ namespace Tizen.NUI return null; } - // Logical OR operator for || - // It's possible when doing a || this function (opBitwiseOr) is never called due - // to short circuiting. E.g. - // If you perform x || y What actually is called is - // BaseHandle.op_True( x ) ? BaseHandle.op_True( x ) : BaseHandle.opTrue( BaseHandle.opBitwiseOr(x,y) ) + /// + /// Logical OR operator for ||.
+ /// It's possible when doing a || this function (opBitwiseOr) is never called due to short circuiting.
+ ///
+ /// 3 public static BaseHandle operator |(BaseHandle x, BaseHandle y) { if (!BaseHandle.ReferenceEquals(x, null) || !BaseHandle.ReferenceEquals(y, null)) @@ -241,7 +260,10 @@ namespace Tizen.NUI return null; } - // Logical ! operator + /// + /// Logical ! operator + /// + /// 3 public static bool operator !(BaseHandle x) { // if the C# object is null, return true @@ -256,6 +278,12 @@ namespace Tizen.NUI return true; } + /// + /// Equals + /// + /// The object should be compared. + /// True if equal. + /// 4 public override bool Equals(object o) { if(o == null) @@ -287,22 +315,43 @@ namespace Tizen.NUI return false; } + /// + /// Gets the the hash code of this baseHandle. + /// + /// The Hash Code. + /// 4 public override int GetHashCode() { return base.GetHashCode(); } + /// + /// Create an instance of BaseHandle. + /// + /// 3 public BaseHandle() : this(NDalicPINVOKE.new_BaseHandle__SWIG_1()) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Create an instance of BaseHandle. + /// + /// The BaseHandle instance. + /// 3 public BaseHandle(BaseHandle handle) : this(NDalicPINVOKE.new_BaseHandle__SWIG_2(BaseHandle.getCPtr(handle))) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Performs an action on this object with the given action name and attributes. + /// + /// The command for the action. + /// The list of attributes for the action. + /// The action is performed by the object or not. + /// 3 public bool DoAction(string actionName, PropertyMap attributes) { bool ret = NDalicPINVOKE.BaseHandle_DoAction(swigCPtr, actionName, PropertyMap.getCPtr(attributes)); @@ -310,6 +359,13 @@ namespace Tizen.NUI return ret; } + /// + /// Returns the type name for the Handle.
+ /// Will return an empty string if the typename does not exist. This will happen for types that + /// have not registered with type-registry. + ///
+ /// The type name. Empty string if the typename does not exist. + /// 3 public string GetTypeName() { string ret = NDalicPINVOKE.BaseHandle_GetTypeName(swigCPtr); @@ -317,6 +373,12 @@ namespace Tizen.NUI return ret; } + /// + /// Returns the type info for the Handle.
+ ///
+ /// The type information. + /// True If get the type info. + /// 3 public bool GetTypeInfo(TypeInfo info) { bool ret = NDalicPINVOKE.BaseHandle_GetTypeInfo(swigCPtr, TypeInfo.getCPtr(info)); @@ -324,13 +386,22 @@ namespace Tizen.NUI return ret; } - + /// + /// Resets the handle. + /// + /// 3 public void Reset() { NDalicPINVOKE.BaseHandle_Reset(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// To check the BaseHandle instance is equal or not. + /// + /// The baseHandle instance. + /// True If equal. + /// 3 public bool EqualTo(BaseHandle rhs) { bool ret = NDalicPINVOKE.BaseHandle_EqualTo(swigCPtr, BaseHandle.getCPtr(rhs)); @@ -338,6 +409,12 @@ namespace Tizen.NUI return ret; } + /// + /// To check the BaseHandle instance is equal or not. + /// + /// The baseHandle instance. + /// True If not equal. + /// 3 public bool NotEqualTo(BaseHandle rhs) { bool ret = NDalicPINVOKE.BaseHandle_NotEqualTo(swigCPtr, BaseHandle.getCPtr(rhs)); @@ -353,6 +430,11 @@ namespace Tizen.NUI return ret; } + /// + /// To check the BaseHandle instance has body or not. + /// + /// True If the baseHandle instance has body. + /// 3 public bool HasBody() { if (disposed == true) @@ -365,6 +447,12 @@ namespace Tizen.NUI return ret; } + /// + /// To check the BaseHandle instance is equal or not. + /// + /// The baseHandle instance. + /// True If equal. + /// 3 public bool IsEqual(BaseHandle rhs) { if (disposed == true) @@ -388,4 +476,3 @@ namespace Tizen.NUI } } - diff --git a/src/Tizen.NUI/src/public/Color.cs b/src/Tizen.NUI/src/public/Color.cs index c579fa7..6348cfa 100755 --- a/src/Tizen.NUI/src/public/Color.cs +++ b/src/Tizen.NUI/src/public/Color.cs @@ -57,6 +57,7 @@ namespace Tizen.NUI /// /// To make a color instance be disposed. /// + /// 3 public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -112,6 +113,7 @@ namespace Tizen.NUI /// The first value. /// The second value. /// The color containing the result of the addition. + /// 3 public static Color operator +(Color arg1, Color arg2) { Color result = arg1.Add(arg2); @@ -125,6 +127,7 @@ namespace Tizen.NUI /// The first value. /// The second value. /// The color containing the result of the subtraction. + /// 3 public static Color operator -(Color arg1, Color arg2) { Color result = arg1.Subtract(arg2); @@ -137,6 +140,7 @@ namespace Tizen.NUI /// /// The target value. /// The color containg the negation. + /// 3 public static Color operator -(Color arg1) { Color result = arg1.Subtract(); @@ -150,6 +154,7 @@ namespace Tizen.NUI /// The first value. /// The second value. /// The color containing the result of the multiplication. + /// 3 public static Color operator *(Color arg1, Color arg2) { Color result = arg1.Multiply(arg2); @@ -170,6 +175,7 @@ namespace Tizen.NUI /// The first value. /// The second value. /// The color containing the result of the division. + /// 3 public static Color operator /(Color arg1, Color arg2) { Color result = arg1.Divide(arg2); @@ -189,6 +195,7 @@ namespace Tizen.NUI /// /// The subscript index. /// The float at the given index. + /// 3 public float this[uint index] { get @@ -207,6 +214,7 @@ namespace Tizen.NUI /// /// Default constructor /// + /// 3 public Color() : this(NDalicPINVOKE.new_Vector4__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -220,6 +228,7 @@ namespace Tizen.NUI /// The green component. /// The blue component. /// The alpha component. + /// 3 public Color(float r, float g, float b, float a) : this(NDalicPINVOKE.new_Vector4__SWIG_1(r, g, b, a), true) { ValueCheck(ref r); @@ -233,6 +242,7 @@ namespace Tizen.NUI /// The conversion constructor from an array of four floats. /// /// array Array of R,G,B,A. + /// 3 public Color(float[] array) : this(NDalicPINVOKE.new_Vector4__SWIG_2(array), true) { ValueCheck(ref array[0]); @@ -338,6 +348,7 @@ namespace Tizen.NUI /// /// A color to be compared. /// If two colors are are same, then true. + /// 3 public bool EqualTo(Color rhs) { bool ret = NDalicPINVOKE.Vector4_EqualTo(swigCPtr, Color.getCPtr(rhs)); @@ -353,6 +364,7 @@ namespace Tizen.NUI /// /// A color to be compared. /// If two colors are are different, then true. + /// 3 public bool NotEqualTo(Color rhs) { bool ret = NDalicPINVOKE.Vector4_NotEqualTo(swigCPtr, Color.getCPtr(rhs)); @@ -371,6 +383,7 @@ namespace Tizen.NUI /// /// The red component. /// + /// 3 public float R { set @@ -390,6 +403,7 @@ namespace Tizen.NUI /// /// The green component. /// + /// 3 public float G { set @@ -409,6 +423,7 @@ namespace Tizen.NUI /// /// The blue component. /// + /// 3 public float B { set @@ -428,6 +443,7 @@ namespace Tizen.NUI /// /// The alpha component. /// + /// 3 public float A { set @@ -447,52 +463,62 @@ namespace Tizen.NUI /// /// Gets the black colored Color class. /// + /// 3 public static readonly Color Black = new Color(0.0f, 0.0f, 0.0f, 1.0f); /// /// Gets the white colored Color class. /// + /// 3 public static readonly Color White = new Color(1.0f, 1.0f, 1.0f, 1.0f); /// /// Gets the red colored Color class. /// + /// 3 public static readonly Color Red = new Color(1.0f, 0.0f, 0.0f, 1.0f); /// /// Gets the green colored Color class. /// + /// 3 public static readonly Color Green = new Color(0.0f, 1.0f, 0.0f, 1.0f); /// /// Gets the blue colored Color class. /// + /// 3 public static readonly Color Blue = new Color(0.0f, 0.0f, 1.0f, 1.0f); /// /// Gets the yellow colored Color class. /// + /// 3 public static readonly Color Yellow = new Color(1.0f, 1.0f, 0.0f, 1.0f); /// /// Gets the magenta colored Color class. /// + /// 3 public static readonly Color Magenta = new Color(1.0f, 0.0f, 1.0f, 1.0f); /// /// Gets the cyan colored Color class. /// + /// 3 public static readonly Color Cyan = new Color(0.0f, 1.0f, 1.0f, 1.0f); /// /// Gets the transparent colored Color class. /// + /// 3 public static readonly Color Transparent = new Color(0.0f, 0.0f, 0.0f, 0.0f); /// /// Converts the Color class to Vector4 class implicitly. /// /// A color to be converted to Vector4 + /// 3 public static implicit operator Vector4(Color color) { return new Vector4(color.R, color.G, color.B, color.A); @@ -502,6 +528,7 @@ namespace Tizen.NUI /// Converts Vector4 class to Color class implicitly. /// /// A Vector4 to be converted to color. + /// 3 public static implicit operator Color(Vector4 vec) { return new Color(vec.R, vec.G, vec.B, vec.A); @@ -569,4 +596,3 @@ namespace Tizen.NUI } - diff --git a/src/Tizen.NUI/src/public/Container.cs b/src/Tizen.NUI/src/public/Container.cs index b0632c2..6a8f5d8 100755 --- a/src/Tizen.NUI/src/public/Container.cs +++ b/src/Tizen.NUI/src/public/Container.cs @@ -25,7 +25,6 @@ namespace Tizen.NUI /// added to them. /// /// - public abstract class Container : Animatable { @@ -52,6 +51,7 @@ namespace Tizen.NUI /// The child will be referenced by its parent. This means that the child will be kept alive, even if the handle passed into this method is reset or destroyed. /// If the child already has a parent, it will be removed from the old parent and reparented to this view. This may change child's position, color, scale, etc. as it now inherits them from this view. /// The child view to add. + /// 4 public abstract void Add( View view ); /// @@ -59,6 +59,7 @@ namespace Tizen.NUI /// ///
This View(the parent) has been initialized. The child view is not the same as the parent view.
/// The view to remove + /// 4 public abstract void Remove( View view ); /// @@ -67,6 +68,7 @@ namespace Tizen.NUI ///
The view has been initialized.
/// The index of the child to retrieve. /// The view for the given index or empty handle if children are not initialized. + /// 4 public abstract View GetChildAt( uint index ); /// @@ -89,6 +91,7 @@ namespace Tizen.NUI /// ///
The child container has been initialized.
/// The parent container. + /// 4 public Container Parent { get @@ -103,6 +106,7 @@ namespace Tizen.NUI ///
///
The container has been initialized.
/// The number of children. + /// 4 public uint ChildCount { get @@ -111,4 +115,4 @@ namespace Tizen.NUI } } } -} // namespace Tizen.NUI +} // namespace Tizen.NUI \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/CustomView/Spin.cs b/src/Tizen.NUI/src/public/CustomView/Spin.cs index 83fd15f..07f7db6 100755 --- a/src/Tizen.NUI/src/public/CustomView/Spin.cs +++ b/src/Tizen.NUI/src/public/CustomView/Spin.cs @@ -62,6 +62,7 @@ namespace Tizen.NUI /// /// Creates an initialized spin. /// + /// 3 public Spin() : base(typeof(Spin).FullName, CustomViewBehaviour.RequiresKeyboardNavigationSupport) { } @@ -71,6 +72,7 @@ namespace Tizen.NUI /// This method is called after the control has been initialized.
/// Derived classes should do any second phase initialization by overriding this method.
/// + /// 3 public override void OnInitialize() { // Initialize the propertiesControl @@ -117,6 +119,7 @@ namespace Tizen.NUI /// Returns the natural size of the actor.
/// /// Natural size of this spin itself. + /// 3 public override Size2D GetNaturalSize() { return new Size2D(150, 150); @@ -129,6 +132,7 @@ namespace Tizen.NUI /// /// Sender of this event. /// Event arguments. + /// 3 public void TextFieldKeyInputFocusGained(object source, EventArgs e) { FocusManager.Instance.SetCurrentFocusView(_textField); @@ -139,6 +143,7 @@ namespace Tizen.NUI /// /// /// + /// 3 public void TextFieldKeyInputFocusLost(object source, EventArgs e) { int previousValue = _currentValue; @@ -169,6 +174,7 @@ namespace Tizen.NUI /// The direction to move the focus towards. /// Whether the focus movement should be looped within the control. /// The next keyboard focusable view in this control or an empty handle if no view can be focused. + /// 3 public override View GetNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled) { // Respond to Up/Down keys to change the value while keeping the current spin focused @@ -196,6 +202,7 @@ namespace Tizen.NUI /// Value to be set in the spin. /// [ScriptableProperty()] + /// 3 public int Value { get @@ -228,6 +235,7 @@ namespace Tizen.NUI /// // MinValue property of type int: [ScriptableProperty()] + /// 3 public int MinValue { get @@ -245,6 +253,7 @@ namespace Tizen.NUI /// // MaxValue property of type int: [ScriptableProperty()] + /// 3 public int MaxValue { get @@ -262,6 +271,7 @@ namespace Tizen.NUI /// // Step property of type int: [ScriptableProperty()] + /// 3 public int Step { get @@ -279,6 +289,7 @@ namespace Tizen.NUI /// // WrappingEnabled property of type bool: [ScriptableProperty()] + /// 3 public bool WrappingEnabled { get @@ -296,6 +307,7 @@ namespace Tizen.NUI /// // TextPointSize property of type int: [ScriptableProperty()] + /// 3 public int TextPointSize { get @@ -314,6 +326,7 @@ namespace Tizen.NUI /// // TextColor property of type Color: [ScriptableProperty()] + /// 3 public Color TextColor { get @@ -334,6 +347,7 @@ namespace Tizen.NUI /// // MaxTextLength property of type int: [ScriptableProperty()] + /// 3 public int MaxTextLength { get @@ -350,6 +364,7 @@ namespace Tizen.NUI /// /// Reference of TextField of the spin. /// + /// 3 public TextField SpinText { get @@ -366,6 +381,7 @@ namespace Tizen.NUI /// Show indicator image, for example, up or down arrow image. /// // Indicator property of type string: + /// 3 public string IndicatorImage { get @@ -384,4 +400,4 @@ namespace Tizen.NUI } } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/CustomViewRegistry.cs b/src/Tizen.NUI/src/public/CustomViewRegistry.cs index 46a3c93..f2bfb06 100755 --- a/src/Tizen.NUI/src/public/CustomViewRegistry.cs +++ b/src/Tizen.NUI/src/public/CustomViewRegistry.cs @@ -78,8 +78,11 @@ namespace Tizen.NUI Default, // Read Writable, non-animatable property, event thread only // Animatable // Animatable property, Currently disabled, UK } + /// 4 public readonly ScriptableType type; + + /// 4 public ScriptableProperty(ScriptableType type = ScriptableType.Default) { this.type = type; @@ -242,6 +245,7 @@ namespace Tizen.NUI } + /// 4 public static CustomViewRegistry Instance { get @@ -269,6 +273,7 @@ namespace Tizen.NUI /// } /// /// + /// 4 public void Register(Func createFunction, System.Type viewType) { // add the mapping between the view name and it's create function @@ -317,7 +322,6 @@ namespace Tizen.NUI /// /// Gets a property value from a view. - /// /// private IntPtr GetPropertyValue(IntPtr refObjectPtr, string propertyName) { @@ -340,7 +344,6 @@ namespace Tizen.NUI /// /// Sets a property value on a view. - /// /// private void SetPropertyValue(IntPtr refObjectPtr, string propertyName, IntPtr propertyValuePtr) { @@ -486,4 +489,4 @@ namespace Tizen.NUI } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Degree.cs b/src/Tizen.NUI/src/public/Degree.cs index 11785b7..39439b9 100755 --- a/src/Tizen.NUI/src/public/Degree.cs +++ b/src/Tizen.NUI/src/public/Degree.cs @@ -102,6 +102,7 @@ namespace Tizen.NUI /// /// The constructor. /// + /// 3 public Degree() : this(NDalicPINVOKE.new_Degree__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -111,6 +112,7 @@ namespace Tizen.NUI /// Creates an angle in degrees. /// /// The initial value in degrees. + /// 3 public Degree(float value) : this(NDalicPINVOKE.new_Degree__SWIG_1(value), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -120,6 +122,7 @@ namespace Tizen.NUI /// Creates an angle in degrees from a radian. /// /// The initial value in radians. + /// 3 public Degree(Radian value) : this(NDalicPINVOKE.new_Degree__SWIG_2(Radian.getCPtr(value)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -142,4 +145,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/DirectionBias.cs b/src/Tizen.NUI/src/public/DirectionBias.cs index ee7ae8f..eb5e5a2 100755 --- a/src/Tizen.NUI/src/public/DirectionBias.cs +++ b/src/Tizen.NUI/src/public/DirectionBias.cs @@ -16,7 +16,10 @@ namespace Tizen.NUI { - + /// + /// The Direction Bias type. + /// + /// 3 public enum DirectionBias { DirectionBiasLeft = -1, @@ -24,4 +27,4 @@ namespace Tizen.NUI DirectionBiasRight = 1 } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/FilterModeType.cs b/src/Tizen.NUI/src/public/FilterModeType.cs index 7ae84d2..3fa9793 100755 --- a/src/Tizen.NUI/src/public/FilterModeType.cs +++ b/src/Tizen.NUI/src/public/FilterModeType.cs @@ -16,6 +16,10 @@ namespace Tizen.NUI { + /// + /// The filter mode type. + /// + /// 3 public enum FilterModeType { NONE = 0, @@ -28,4 +32,4 @@ namespace Tizen.NUI LINEAR_MIPMAP_LINEAR } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/FocusManager.cs b/src/Tizen.NUI/src/public/FocusManager.cs index 90ad246..45410ac 100755 --- a/src/Tizen.NUI/src/public/FocusManager.cs +++ b/src/Tizen.NUI/src/public/FocusManager.cs @@ -163,6 +163,7 @@ namespace Tizen.NUI /// This event is only triggered when the navigation key is pressed and KeyboardFocusManager tries to move the focus automatically.
/// It won't be emitted for focus movement by calling the SetCurrentFocusView directly.
///
+ /// 3 public event EventHandlerWithReturnType PreFocusChange { add @@ -273,6 +274,7 @@ namespace Tizen.NUI /// /// The FocusGroupChanged will be triggered after the current focused view has been changed. /// + /// 3 public event EventHandler FocusChanged { add @@ -351,6 +353,7 @@ namespace Tizen.NUI /// If the current focus group has a parent layout control, the FocusManager will make the best guess for the next focus group to move the focus to in the given direction (forward or backward).
/// If not, the application has to set the new focus.
///
+ /// 3 public event EventHandler FocusGroupChanged { add @@ -414,6 +417,7 @@ namespace Tizen.NUI /// /// The FocusedViewActivated will be triggered when the current focused view has the enter key pressed on it. /// + /// 4 public event EventHandler FocusedViewActivated { add @@ -468,6 +472,7 @@ namespace Tizen.NUI ///
/// The view to be focused. /// Whether the focus is successful or not. + /// 3 public bool SetCurrentFocusView(View view) { if(view == null) @@ -484,6 +489,7 @@ namespace Tizen.NUI /// Gets the current focused view. ///
/// A handle to the current focused view or an empty handle if no view is focused. + /// 3 public View GetCurrentFocusView() { IntPtr cPtr = NDalicManualPINVOKE.FocusManager_GetCurrentFocusActor(swigCPtr); @@ -497,6 +503,7 @@ namespace Tizen.NUI /// /// The direction of the focus movement. /// True if the movement was successful. + /// 3 public bool MoveFocus(View.FocusDirection direction) { bool ret = NDalicManualPINVOKE.FocusManager_MoveFocus(swigCPtr, (int)direction); @@ -508,6 +515,7 @@ namespace Tizen.NUI /// Clears the focus from the current focused view if any, so that no view is focused in the focus chain.
/// It will emit the FocusChanged event without the current focused view.
/// + /// 3 public void ClearFocus() { NDalicManualPINVOKE.FocusManager_ClearFocus(swigCPtr); @@ -517,6 +525,7 @@ namespace Tizen.NUI /// /// Move the focus to previous focused view. /// + /// 4 public void MoveFocusBackward() { NDalicManualPINVOKE.FocusManager_MoveFocusBackward(swigCPtr); @@ -527,6 +536,7 @@ namespace Tizen.NUI /// Gets or sets the status of whether the focus movement should be looped within the same focus group.
/// The focus movement is not looped by default.
/// + /// 3 public bool FocusGroupLoop { set @@ -558,6 +568,7 @@ namespace Tizen.NUI /// /// The view to be set as a focus group. /// Whether to set the view as a focus group or not. + /// 3 public void SetAsFocusGroup(View view, bool isFocusGroup) { NDalicManualPINVOKE.FocusManager_SetAsFocusGroup(swigCPtr, View.getCPtr(view), isFocusGroup); @@ -569,6 +580,7 @@ namespace Tizen.NUI /// /// The view to be checked. /// Whether the view is set as a focus group. + /// 3 public bool IsFocusGroup(View view) { bool ret = NDalicManualPINVOKE.FocusManager_IsFocusGroup(swigCPtr, View.getCPtr(view)); @@ -581,6 +593,7 @@ namespace Tizen.NUI /// /// The view to be checked for its focus group. /// The focus group the given view belongs to or an empty handle if the given view. + /// 3 public View GetFocusGroup(View view) { IntPtr cPtr = NDalicManualPINVOKE.FocusManager_GetFocusGroup(swigCPtr, View.getCPtr(view)); @@ -602,6 +615,7 @@ namespace Tizen.NUI /// Gets or sets the focus indicator view.
/// This will replace the default focus indicator view in the FocusManager and will be added to the focused view as a highlight.
/// + /// 3 public View FocusIndicator { set @@ -633,6 +647,7 @@ namespace Tizen.NUI /// Provides the implementation of a custom focus algorithm interface to allow the application to define the focus logic.
/// /// The user's implementation of ICustomFocusAlgorithm. + /// 3 public void SetCustomAlgorithm(ICustomFocusAlgorithm arg0) { _customAlgorithmInterfaceWrapper = new CustomAlgorithmInterfaceWrapper(); @@ -675,6 +690,7 @@ namespace Tizen.NUI /// /// Gets the singleton of the FocusManager object. /// + /// 3 public static FocusManager Instance { get @@ -690,6 +706,7 @@ namespace Tizen.NUI /// If this does not provide a valid view, then the Keyboard FocusManager will check focusable properties to determine the next focusable actor.
/// If focusable properties are not set, then the keyboard FocusManager calls the GetNextFocusableView() method of this interface.
/// + /// 3 public interface ICustomFocusAlgorithm { View GetNextFocusableView(View current, View proposed, View.FocusDirection direction); @@ -716,8 +733,8 @@ namespace Tizen.NUI - //Please do not use! this will be deprecated - [EditorBrowsable(EditorBrowsableState.Never)] + //Please do not use! this will be deprecated + [EditorBrowsable(EditorBrowsableState.Never)] public class FocusedViewEnterKeyEventArgs : EventArgs { private View _view; @@ -776,4 +793,4 @@ namespace Tizen.NUI } } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Geometry.cs b/src/Tizen.NUI/src/public/Geometry.cs index b65ad88..fa88fc8 100755 --- a/src/Tizen.NUI/src/public/Geometry.cs +++ b/src/Tizen.NUI/src/public/Geometry.cs @@ -17,6 +17,9 @@ namespace Tizen.NUI { + /// + /// Geometry is handle to an object that can be used to define a geometric elements. + /// public class Geometry : BaseHandle { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -63,12 +66,22 @@ namespace Tizen.NUI base.Dispose(type); } + /// + /// Create an instance of Geometry. + /// 3 + /// public Geometry() : this(NDalicPINVOKE.Geometry_New(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Adds a PropertyBuffer to be used as source of geometry vertices. + /// + /// PropertyBuffer to be used as source of geometry vertices. + /// Index of the newly added buffer. + /// 3 public uint AddVertexBuffer(PropertyBuffer vertexBuffer) { uint ret = NDalicPINVOKE.Geometry_AddVertexBuffer(swigCPtr, PropertyBuffer.getCPtr(vertexBuffer)); @@ -76,6 +89,11 @@ namespace Tizen.NUI return ret; } + /// + /// Retrieves the number of vertex buffers that have been added to this geometry. + /// + /// Number of vertex buffers that have been added to this geometry. + /// 3 public uint GetNumberOfVertexBuffers() { uint ret = NDalicPINVOKE.Geometry_GetNumberOfVertexBuffers(swigCPtr); @@ -83,24 +101,46 @@ namespace Tizen.NUI return ret; } + /// + /// Removes a vertex buffer. + /// + /// Index to the vertex buffer to remove. + /// 3 public void RemoveVertexBuffer(uint index) { NDalicPINVOKE.Geometry_RemoveVertexBuffer(swigCPtr, index); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Sets a the index data to be used as a source of indices for the geometry + /// Setting this buffer will cause the geometry to be rendered using indices. + /// + /// Array of indices. + /// Number of indices in the array. + /// 3 public void SetIndexBuffer(ushort[] indices, uint count) { NDalicPINVOKE.Geometry_SetIndexBuffer(swigCPtr, indices, count); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Sets the type of primitives this geometry contains. + /// + /// Array of indices. + /// 3 public void SetType(Geometry.Type geometryType) { NDalicPINVOKE.Geometry_SetType(swigCPtr, (int)geometryType); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Gets the type of primitives this geometry contains. + /// + /// Type of primitives this geometry contains. + /// 3 public new Geometry.Type GetType() { Geometry.Type ret = (Geometry.Type)NDalicPINVOKE.Geometry_GetType(swigCPtr); @@ -108,17 +148,50 @@ namespace Tizen.NUI return ret; } + /// + /// Enumeration for the description of the type of geometry, + /// used to determine how the coordinates will be used. + /// + /// Type of primitives this geometry contains. + /// 3 public enum Type { + /// + /// Individual points. + /// POINTS, + + /// + /// Individual lines (made of 2 points each). + /// LINES, + + /// + /// A strip of lines (made of 1 point each) which also joins the first and last point. + /// LINE_LOOP, + + /// + /// A strip of lines (made of 1 point each). + /// LINE_STRIP, + + /// + /// Individual triangles (made of 3 points each). + /// TRIANGLES, + + /// + /// A fan of triangles around a centre point (after the first triangle, following triangles need only 1 point). + /// TRIANGLE_FAN, + + /// + /// A strip of triangles (after the first triangle, following triangles need only 1 point). + /// TRIANGLE_STRIP } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Gesture.cs b/src/Tizen.NUI/src/public/Gesture.cs index e2e4628..dffb5e2 100755 --- a/src/Tizen.NUI/src/public/Gesture.cs +++ b/src/Tizen.NUI/src/public/Gesture.cs @@ -52,6 +52,10 @@ namespace Tizen.NUI } } + /// + /// Dispose. + /// + /// 3 public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -105,6 +109,7 @@ namespace Tizen.NUI /// /// The gesture type. /// + /// 3 public Gesture.GestureType Type { get @@ -116,6 +121,7 @@ namespace Tizen.NUI /// /// The gesture state. /// + /// 3 public Gesture.StateType State { get @@ -127,6 +133,7 @@ namespace Tizen.NUI /// /// The time the gesture took place. /// + /// 3 public uint Time { get @@ -139,6 +146,7 @@ namespace Tizen.NUI /// The Copy constructor. /// /// A reference to the copied handle + /// 3 public Gesture(Gesture rhs) : this(NDalicPINVOKE.new_Gesture(Gesture.getCPtr(rhs)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -192,6 +200,7 @@ namespace Tizen.NUI /// /// Enumeration for type of gesture. /// + /// 3 public enum GestureType { Pinch = 1 << 0, @@ -203,6 +212,7 @@ namespace Tizen.NUI /// /// Enumeration for state of the gesture. /// + /// 3 public enum StateType { Clear, @@ -215,4 +225,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Hover.cs b/src/Tizen.NUI/src/public/Hover.cs index 9f194e2..6e37842 100755 --- a/src/Tizen.NUI/src/public/Hover.cs +++ b/src/Tizen.NUI/src/public/Hover.cs @@ -112,6 +112,7 @@ namespace Tizen.NUI /// /// The time (in ms) that the hover event occurred. /// + /// 3 public uint Time { get @@ -127,6 +128,7 @@ namespace Tizen.NUI /// /// The point required. /// The device ID of this point. + /// 3 public int GetDeviceId(uint point) { if (point < points.Count) @@ -141,6 +143,7 @@ namespace Tizen.NUI /// /// The point required. /// The state of the point specified. + /// 3 public PointStateType GetState(uint point) { if (point < points.Count) @@ -155,6 +158,7 @@ namespace Tizen.NUI /// /// The point required. /// The view that was underneath the point specified. + /// 3 public View GetHitView(uint point) { if (point < points.Count) @@ -175,6 +179,7 @@ namespace Tizen.NUI /// /// The point required. /// The coordinates relative to the top-left of the hit-view of the point specified. + /// 3 public Vector2 GetLocalPosition(uint point) { if (point < points.Count) @@ -189,6 +194,7 @@ namespace Tizen.NUI /// /// The point required. /// The coordinates relative to the top-left of the screen of the point specified. + /// 3 public Vector2 GetScreenPosition(uint point) { if (point < points.Count) @@ -201,6 +207,7 @@ namespace Tizen.NUI /// /// The default constructor. /// + /// 3 public Hover() : this(NDalicPINVOKE.new_Hover__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -250,6 +257,7 @@ namespace Tizen.NUI /// Returns the total number of points. /// /// Total number of points. + /// 3 public uint GetPointCount() { uint ret = NDalicPINVOKE.Hover_GetPointCount(swigCPtr); @@ -266,4 +274,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/ImfManager.cs b/src/Tizen.NUI/src/public/ImfManager.cs index a17c118..062e1a7 100755 --- a/src/Tizen.NUI/src/public/ImfManager.cs +++ b/src/Tizen.NUI/src/public/ImfManager.cs @@ -135,6 +135,7 @@ namespace Tizen.NUI /// /// The dispose pattern. /// + /// 3 public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -196,6 +197,7 @@ namespace Tizen.NUI /// /// The default constructor. /// + /// 3 public ImfEventData() : this(NDalicManualPINVOKE.new_ImfManager_ImfEventData__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -208,6 +210,7 @@ namespace Tizen.NUI /// The pre-edit or the commit string. /// Start the position from the current cursor position to start deleting characters. /// The number of characters to delete from the cursorOffset. + /// 3 public ImfEventData(ImfManager.ImfEvent aEventName, string aPredictiveString, int aCursorOffset, int aNumberOfChars) : this(NDalicManualPINVOKE.new_ImfManager_ImfEventData__SWIG_1((int)aEventName, aPredictiveString, aCursorOffset, aNumberOfChars), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -218,6 +221,7 @@ namespace Tizen.NUI /// //Please do not use! this will be deprecated [EditorBrowsable(EditorBrowsableState.Never)] + /// 3 public string predictiveString { set @@ -236,6 +240,7 @@ namespace Tizen.NUI /// /// The pre-edit or the commit string. /// + /// 4 public string PredictiveString { set @@ -274,6 +279,7 @@ namespace Tizen.NUI /// /// The name of the event from the IMF. /// + /// 4 public ImfManager.ImfEvent EventName { set @@ -312,6 +318,7 @@ namespace Tizen.NUI /// /// The start position from the current cursor position to start deleting characters. /// + /// 4 public int CursorOffset { set @@ -350,6 +357,7 @@ namespace Tizen.NUI /// /// The number of characters to delete from the cursorOffset. /// + /// 4 public int NumberOfChars { set @@ -409,6 +417,7 @@ namespace Tizen.NUI /// /// The dispose pattern. /// + /// 3 public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -470,6 +479,7 @@ namespace Tizen.NUI /// /// The default constructor. /// + /// 3 public ImfCallbackData() : this(NDalicManualPINVOKE.new_ImfManager_ImfCallbackData__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -482,6 +492,7 @@ namespace Tizen.NUI /// The new position of the cursor. /// The current text string. /// Flag if preedit reset is required. + /// 3 public ImfCallbackData(bool aUpdate, int aCursorPosition, string aCurrentText, bool aPreeditResetRequired) : this(NDalicManualPINVOKE.new_ImfManager_ImfCallbackData__SWIG_1(aUpdate, aCursorPosition, aCurrentText, aPreeditResetRequired), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -510,6 +521,7 @@ namespace Tizen.NUI /// /// The current text string. /// + /// 4 public string CurrentText { set @@ -548,6 +560,7 @@ namespace Tizen.NUI /// /// The current text string. /// + /// 4 public int CursorPosition { set @@ -586,6 +599,7 @@ namespace Tizen.NUI /// /// If the cursor position needs to be updated. /// + /// 4 public bool Update { set @@ -624,6 +638,7 @@ namespace Tizen.NUI /// /// Flags if preedit reset is required. /// + /// 4 public bool PreeditResetRequired { set @@ -645,6 +660,7 @@ namespace Tizen.NUI /// Retrieves a handle to the instance of the ImfManager. /// /// A handle to the ImfManager. + /// 3 public static ImfManager Get() { ImfManager ret = new ImfManager(NDalicManualPINVOKE.ImfManager_Get(), true); @@ -657,6 +673,7 @@ namespace Tizen.NUI /// It means that the text editing is started somewhere.
/// If the hardware keyboard isn't connected, then it will show the virtual keyboard. /// + /// 3 public void Activate() { NDalicManualPINVOKE.ImfManager_Activate(swigCPtr); @@ -667,6 +684,7 @@ namespace Tizen.NUI /// Deactivates the IMF.
/// It means that the text editing is finished somewhere. /// + /// 3 public void Deactivate() { NDalicManualPINVOKE.ImfManager_Deactivate(swigCPtr); @@ -678,6 +696,7 @@ namespace Tizen.NUI /// If true, then the keyboard will be restored (activated) after focus is regained. /// /// The restoration status. + /// 3 public bool RestoreAfterFocusLost() { bool ret = NDalicManualPINVOKE.ImfManager_RestoreAfterFocusLost(swigCPtr); @@ -689,6 +708,7 @@ namespace Tizen.NUI /// Sets the status whether the IMF has to restore the keyboard after losing focus. /// /// True means that keyboard should be restored after the focus is lost and regained. + /// 3 public void SetRestoreAfterFocusLost(bool toggle) { NDalicManualPINVOKE.ImfManager_SetRestoreAfterFocusLost(swigCPtr, toggle); @@ -698,6 +718,7 @@ namespace Tizen.NUI /// /// Sends a message reset to the preedit state or the IMF module. /// + /// 3 public new void Reset() { NDalicManualPINVOKE.ImfManager_Reset(swigCPtr); @@ -707,6 +728,7 @@ namespace Tizen.NUI /// /// Notifies the IMF context that the cursor position has changed, required for features like auto-capitalization. /// + /// 3 public void NotifyCursorPosition() { NDalicManualPINVOKE.ImfManager_NotifyCursorPosition(swigCPtr); @@ -717,6 +739,7 @@ namespace Tizen.NUI /// Sets the cursor position stored in VirtualKeyboard, this is required by the IMF context. /// /// The position of the cursor. + /// 3 public void SetCursorPosition(uint cursorPosition) { NDalicManualPINVOKE.ImfManager_SetCursorPosition(swigCPtr, cursorPosition); @@ -727,6 +750,7 @@ namespace Tizen.NUI /// Gets the cursor position stored in VirtualKeyboard, this is required by the IMF context. /// /// The current position of the cursor. + /// 3 public uint GetCursorPosition() { uint ret = NDalicManualPINVOKE.ImfManager_GetCursorPosition(swigCPtr); @@ -738,6 +762,7 @@ namespace Tizen.NUI /// A method to store the string required by the IMF, this is used to provide predictive word suggestions. /// /// The text string surrounding the current cursor point. + /// 3 public void SetSurroundingText(string text) { NDalicManualPINVOKE.ImfManager_SetSurroundingText(swigCPtr, text); @@ -748,6 +773,7 @@ namespace Tizen.NUI /// Gets the current text string set within the IMF manager, this is used to offer predictive suggestions. /// /// The surrounding text. + /// 3 public string GetSurroundingText() { string ret = NDalicManualPINVOKE.ImfManager_GetSurroundingText(swigCPtr); @@ -759,6 +785,7 @@ namespace Tizen.NUI /// Notifies the IMF context that text input is set to multiline or not. /// /// True if multiline text input is used. + /// 3 public void NotifyTextInputMultiLine(bool multiLine) { NDalicManualPINVOKE.ImfManager_NotifyTextInputMultiLine(swigCPtr, multiLine); @@ -769,6 +796,7 @@ namespace Tizen.NUI /// Returns the text direction of the keyboard's current input language. /// /// The direction of the text. + /// 3 public ImfManager.TextDirection GetTextDirection() { ImfManager.TextDirection ret = (ImfManager.TextDirection)NDalicManualPINVOKE.ImfManager_GetTextDirection(swigCPtr); @@ -784,6 +812,7 @@ namespace Tizen.NUI /// the values then taken down. So ideally, GetInputMethodArea() should be called after Show(). /// /// Rectangle which is keyboard panel x, y, width, height. + /// 3 public Rectangle GetInputMethodArea() { Rectangle ret = new Rectangle(NDalicManualPINVOKE.ImfManager_GetInputMethodArea(swigCPtr), true); @@ -801,6 +830,7 @@ namespace Tizen.NUI /// Sets up the input-panel specific data. /// /// The specific data to be set to the input panel. + /// 3 public void SetInputPanelUserData(string text) { NDalicManualPINVOKE.ImfManager_SetInputPanelUserData(swigCPtr, text); @@ -811,6 +841,7 @@ namespace Tizen.NUI /// Gets the specific data of the current active input panel. /// /// The specific data to be received from the input panel. + /// 3 public void GetInputPanelUserData(out string text) { NDalicManualPINVOKE.ImfManager_GetInputPanelUserData(swigCPtr, out text); @@ -821,6 +852,7 @@ namespace Tizen.NUI /// Gets the state of the current active input panel. /// /// The state of the input panel. + /// 3 public ImfManager.State GetInputPanelState() { ImfManager.State ret = (ImfManager.State)NDalicManualPINVOKE.ImfManager_GetInputPanelState(swigCPtr); @@ -833,6 +865,7 @@ namespace Tizen.NUI /// The default is true. /// /// True if the return key is visible (enabled), false otherwise. + /// 3 public void SetReturnKeyState(bool visible) { NDalicManualPINVOKE.ImfManager_SetReturnKeyState(swigCPtr, visible); @@ -843,6 +876,7 @@ namespace Tizen.NUI /// Enables to show the input panel automatically when focused. /// /// If true, the input panel will be shown when focused. + /// 3 public void AutoEnableInputPanel(bool enabled) { NDalicManualPINVOKE.ImfManager_AutoEnableInputPanel(swigCPtr, enabled); @@ -852,6 +886,7 @@ namespace Tizen.NUI /// /// Shows the input panel. /// + /// 3 public void ShowInputPanel() { NDalicManualPINVOKE.ImfManager_ShowInputPanel(swigCPtr); @@ -861,6 +896,7 @@ namespace Tizen.NUI /// /// Hides the input panel. /// + /// 3 public void HideInputPanel() { NDalicManualPINVOKE.ImfManager_HideInputPanel(swigCPtr); @@ -872,6 +908,7 @@ namespace Tizen.NUI /// The default keyboard type is SoftwareKeyboard. /// /// The keyboard type. + /// 4 public ImfManager.KeyboardType GetKeyboardType() { ImfManager.KeyboardType ret = (ImfManager.KeyboardType)NDalicManualPINVOKE.ImfManager_GetKeyboardType(swigCPtr); @@ -884,6 +921,7 @@ namespace Tizen.NUI /// For example, en_US, en_GB, en_PH, fr_FR, ... /// /// The current language locale of the input panel. + /// 4 public string GetInputPanelLocale() { string ret = NDalicManualPINVOKE.ImfManager_GetInputPanelLocale(swigCPtr); @@ -894,6 +932,7 @@ namespace Tizen.NUI /// /// The constructor. /// + /// 3 public ImfManager() : this(NDalicManualPINVOKE.new_ImfManager(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -981,6 +1020,7 @@ namespace Tizen.NUI /// /// ImfManager activated. /// + /// 4 public event EventHandler Activated { add @@ -1117,6 +1157,7 @@ namespace Tizen.NUI /// /// ImfManager event received. /// + /// 4 public event EventHandlerWithReturnType EventReceived { add @@ -1172,8 +1213,8 @@ namespace Tizen.NUI /// /// ImfManager event received signal. /// - //Please do not use! this will be internal - [EditorBrowsable(EditorBrowsableState.Never)] + //Please do not use! this will be internal + [EditorBrowsable(EditorBrowsableState.Never)] public ImfEventSignalType EventReceivedSignal() { ImfEventSignalType ret = new ImfEventSignalType(NDalicManualPINVOKE.ImfManager_EventReceivedSignal(swigCPtr), false); @@ -1261,6 +1302,7 @@ namespace Tizen.NUI /// /// ImfManager status changed. /// + /// 4 public event EventHandler StatusChanged { add @@ -1376,6 +1418,7 @@ namespace Tizen.NUI /// /// ImfManager resized. /// + /// 4 public event EventHandler Resized { add @@ -1487,6 +1530,7 @@ namespace Tizen.NUI /// /// ImfManager language changed. /// + /// 4 public event EventHandler LanguageChanged { add @@ -1549,6 +1593,7 @@ namespace Tizen.NUI /// /// ImfManager keyboard type changed. /// + /// 4 public event EventHandler KeyboardTypeChanged { add @@ -1594,6 +1639,7 @@ namespace Tizen.NUI /// /// The direction of the text. /// + /// 3 public enum TextDirection { /// @@ -1609,6 +1655,7 @@ namespace Tizen.NUI /// /// Events that are generated by the IMF. /// + /// 4 public enum ImfEvent { /// @@ -1640,6 +1687,7 @@ namespace Tizen.NUI /// /// Enumeration for the state of the input panel. /// + /// 4 public enum State { /// @@ -1663,6 +1711,7 @@ namespace Tizen.NUI /// /// Enumeration for the types of keyboard. /// + /// 4 public enum KeyboardType { /// @@ -1675,4 +1724,4 @@ namespace Tizen.NUI HardwareKeyboard } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/InputMethod.cs b/src/Tizen.NUI/src/public/InputMethod.cs index ee7fe86..2d53905 100755 --- a/src/Tizen.NUI/src/public/InputMethod.cs +++ b/src/Tizen.NUI/src/public/InputMethod.cs @@ -29,6 +29,7 @@ namespace Tizen.NUI /// /// The default constructor. /// + /// 3 public InputMethod() { } @@ -36,6 +37,7 @@ namespace Tizen.NUI /// /// Gets or sets the panel layout. /// + /// 3 public PanelLayoutType PanelLayout { get @@ -51,6 +53,7 @@ namespace Tizen.NUI /// /// Gets or sets the action button. /// + /// 3 public ActionButtonTitleType ActionButton { get @@ -66,6 +69,7 @@ namespace Tizen.NUI /// /// Gets or sets the auto capital. /// + /// 3 public AutoCapitalType AutoCapital { get @@ -81,6 +85,7 @@ namespace Tizen.NUI /// /// Gets or sets the variation. /// + /// 3 public int Variation { get @@ -96,6 +101,7 @@ namespace Tizen.NUI /// /// Gets or sets the variation for normal layout. /// + /// 3 public NormalLayoutType NormalVariation { get @@ -111,6 +117,7 @@ namespace Tizen.NUI /// /// Gets or sets the variation for the number only layout. /// + /// 3 public NumberOnlyLayoutType NumberOnlyVariation { get @@ -126,6 +133,7 @@ namespace Tizen.NUI /// /// Gets or sets the variation for the password layout. /// + /// 3 public PasswordLayoutType PasswordVariation { get @@ -151,6 +159,7 @@ namespace Tizen.NUI /// /// Gets the input method map. /// + /// 3 public PropertyMap OutputMap { get @@ -162,6 +171,7 @@ namespace Tizen.NUI /// /// SetType that can be changed in the system input method. /// + /// 3 public enum CategoryType { /// @@ -185,6 +195,7 @@ namespace Tizen.NUI /// /// Autocapitalization Types. /// + /// 3 public enum AutoCapitalType { /// @@ -208,6 +219,7 @@ namespace Tizen.NUI /// /// Input panel (virtual keyboard) layout types.. /// + /// 3 public enum PanelLayoutType { /// @@ -267,6 +279,7 @@ namespace Tizen.NUI /// /// Specifies what the Input Method "action" button functionality is set to. /// + /// 3 public enum ActionButtonTitleType { /// @@ -322,6 +335,7 @@ namespace Tizen.NUI /// /// Available variation for the normal layout. /// + /// 3 public enum NormalLayoutType { /// @@ -341,6 +355,7 @@ namespace Tizen.NUI /// /// Available variation for the number only layout. /// + /// 3 public enum NumberOnlyLayoutType { /// @@ -364,6 +379,7 @@ namespace Tizen.NUI /// /// Available variation for the password layout. /// + /// 3 public enum PasswordLayoutType { /// @@ -377,4 +393,4 @@ namespace Tizen.NUI } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Key.cs b/src/Tizen.NUI/src/public/Key.cs index b3e212c..f10343a 100755 --- a/src/Tizen.NUI/src/public/Key.cs +++ b/src/Tizen.NUI/src/public/Key.cs @@ -120,6 +120,7 @@ namespace Tizen.NUI /// /// Name given to the key pressed. /// + /// 3 public string KeyPressedName { get @@ -145,6 +146,7 @@ namespace Tizen.NUI /// /// Keycode for the key pressed. /// + /// 3 public int KeyCode { get @@ -160,6 +162,7 @@ namespace Tizen.NUI /// /// Special keys like Shift, Alt, and Ctrl which modify the next key pressed. /// + /// 3 public int KeyModifier { get @@ -175,6 +178,7 @@ namespace Tizen.NUI /// /// The time (in ms) that the key event occurred. /// + /// 3 public uint Time { get @@ -190,6 +194,7 @@ namespace Tizen.NUI /// /// State of the key event. /// + /// 3 public Key.StateType State { get @@ -216,6 +221,7 @@ namespace Tizen.NUI /// /// The default constructor. /// + /// 3 public Key() : this(NDalicPINVOKE.new_Key__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -239,6 +245,7 @@ namespace Tizen.NUI /// Checks to see if the Shift key modifier has been supplied. /// /// True if Shift modifier. + /// 3 public bool IsShiftModifier() { bool ret = NDalicPINVOKE.Key_IsShiftModifier(swigCPtr); @@ -250,6 +257,7 @@ namespace Tizen.NUI /// Checks to see if Ctrl (control) key modifier has been supplied. /// /// True if Ctrl modifier. + /// 3 public bool IsCtrlModifier() { bool ret = NDalicPINVOKE.Key_IsCtrlModifier(swigCPtr); @@ -261,6 +269,7 @@ namespace Tizen.NUI /// Checks to see if Alt key modifier has been supplied. /// /// True if Alt modifier. + /// 3 public bool IsAltModifier() { bool ret = NDalicPINVOKE.Key_IsAltModifier(swigCPtr); @@ -361,6 +370,7 @@ namespace Tizen.NUI /// /// Enumeration for specifying the state of the key event. /// + /// 3 public enum StateType { Down, @@ -369,4 +379,4 @@ namespace Tizen.NUI } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/KeyFrames.cs b/src/Tizen.NUI/src/public/KeyFrames.cs index 39d86ef..2551af2 100755 --- a/src/Tizen.NUI/src/public/KeyFrames.cs +++ b/src/Tizen.NUI/src/public/KeyFrames.cs @@ -75,6 +75,7 @@ namespace Tizen.NUI /// /// A progress value between 0.0 and 1.0. /// A value. + /// 3 public void Add(float progress, object value) { PropertyValue val = PropertyValue.CreateFromObject(value); @@ -87,6 +88,7 @@ namespace Tizen.NUI /// A progress value between 0.0 and 1.0. /// A value /// The alpha function used to blend to the next keyframe. + /// 3 public void Add(float progress, object value, AlphaFunction alpha) { PropertyValue val = PropertyValue.CreateFromObject(value); @@ -96,6 +98,7 @@ namespace Tizen.NUI /// /// Creates an initialized KeyFrames handle. /// + /// 3 public KeyFrames() : this(NDalicPINVOKE.KeyFrames_New(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -114,6 +117,7 @@ namespace Tizen.NUI /// Gets the type of the key frame. /// /// The key frame property type + /// 3 public new PropertyType GetType() { PropertyType ret = (PropertyType)NDalicPINVOKE.KeyFrames_GetType(swigCPtr); @@ -126,6 +130,7 @@ namespace Tizen.NUI /// /// A progress value between 0.0 and 1.0. /// A value. + /// 3 public void Add(float progress, PropertyValue value) { NDalicPINVOKE.KeyFrames_Add__SWIG_0(swigCPtr, progress, PropertyValue.getCPtr(value)); @@ -138,6 +143,7 @@ namespace Tizen.NUI /// A progress value between 0.0 and 1.0. /// A value. /// The alpha function used to blend to the next keyframe. + /// 3 public void Add(float progress, PropertyValue value, AlphaFunction alpha) { NDalicPINVOKE.KeyFrames_Add__SWIG_1(swigCPtr, progress, PropertyValue.getCPtr(value), AlphaFunction.getCPtr(alpha)); @@ -146,4 +152,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Layer.cs b/src/Tizen.NUI/src/public/Layer.cs index f111f9d..24938ab 100755 --- a/src/Tizen.NUI/src/public/Layer.cs +++ b/src/Tizen.NUI/src/public/Layer.cs @@ -43,6 +43,7 @@ namespace Tizen.NUI /// /// /// + /// 4 public override void Add(View child) { NDalicPINVOKE.Actor_Add(swigCPtr, View.getCPtr(child)); @@ -55,6 +56,7 @@ namespace Tizen.NUI /// /// /// + /// 4 public override void Remove(View child) { NDalicPINVOKE.Actor_Remove(swigCPtr, View.getCPtr(child)); @@ -68,6 +70,7 @@ namespace Tizen.NUI ///
The view has been initialized.
/// The index of the child to retrieve. /// The view for the given index or empty handle if children not initialized. + /// 4 public override View GetChildAt(uint index) { System.IntPtr cPtr = NDalicPINVOKE.Actor_GetChildAt(swigCPtr, index); @@ -134,6 +137,7 @@ namespace Tizen.NUI /// /// Creates a Layer object. /// + /// 3 public Layer() : this(NDalicPINVOKE.Layer_New(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -173,6 +177,7 @@ namespace Tizen.NUI /// The actor itself is also considered in the search. /// The id of the child to find /// A handle to the view if found, or an empty handle if not. + /// 3 public View FindChildById(uint id) { IntPtr cPtr = NDalicPINVOKE.Actor_FindChildById(swigCPtr, id); @@ -187,6 +192,7 @@ namespace Tizen.NUI /// Queries the depth of the layer.
/// 0 is the bottommost layer, higher number is on the top.
///
+ /// 3 public uint Depth { get @@ -205,6 +211,7 @@ namespace Tizen.NUI /// /// Increments the depth of the layer. /// + /// 3 public void Raise() { NDalicPINVOKE.Layer_Raise(swigCPtr); @@ -214,6 +221,7 @@ namespace Tizen.NUI /// /// Decrements the depth of the layer. /// + /// 3 public void Lower() { NDalicPINVOKE.Layer_Lower(swigCPtr); @@ -235,6 +243,7 @@ namespace Tizen.NUI /// /// Raises the layer to the top. /// + /// 3 public void RaiseToTop() { NDalicPINVOKE.Layer_RaiseToTop(swigCPtr); @@ -244,6 +253,7 @@ namespace Tizen.NUI /// /// Lowers the layer to the bottom. /// + /// 3 public void LowerToBottom() { NDalicPINVOKE.Layer_LowerToBottom(swigCPtr); @@ -255,6 +265,7 @@ namespace Tizen.NUI /// After the call, this layer's depth will be immediately above target.
///
/// The layer to get on top of. + /// 3 public void MoveAbove(Layer target) { NDalicPINVOKE.Layer_MoveAbove(swigCPtr, Layer.getCPtr(target)); @@ -266,6 +277,7 @@ namespace Tizen.NUI /// After the call, this layer's depth will be immediately below target.
///
/// The layer to get below of. + /// 3 public void MoveBelow(Layer target) { NDalicPINVOKE.Layer_MoveBelow(swigCPtr, Layer.getCPtr(target)); @@ -320,6 +332,7 @@ namespace Tizen.NUI /// /// Enumeration for the behavior of the layer. /// + /// 3 public enum LayerBehavior { Layer2D, @@ -335,6 +348,7 @@ namespace Tizen.NUI /// /// Layer behavior, type String (Layer.LayerBehavior). /// + /// 3 public Layer.LayerBehavior Behavior { get @@ -370,6 +384,7 @@ namespace Tizen.NUI /// Sets the viewport (in window coordinates), type rectangle. /// The contents of the layer will not be visible outside this box, when ViewportEnabled is true. /// + /// 4 public Rectangle Viewport { get @@ -399,6 +414,7 @@ namespace Tizen.NUI /// /// Retrieves and sets the layer's opacity.
///
+ /// 3 public float Opacity { get @@ -416,6 +432,7 @@ namespace Tizen.NUI /// /// Retrieves and sets the layer's visibility. /// + /// 3 public bool Visibility { get @@ -433,6 +450,7 @@ namespace Tizen.NUI /// /// Get the number of children held by the layer. /// + /// 3 public new uint ChildCount { get @@ -447,6 +465,7 @@ namespace Tizen.NUI /// /// Gets or sets the layer's name. /// + /// 3 public string Name { get @@ -475,4 +494,4 @@ namespace Tizen.NUI } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/LongPressGesture.cs b/src/Tizen.NUI/src/public/LongPressGesture.cs index 5db76f6..ec06869 100755 --- a/src/Tizen.NUI/src/public/LongPressGesture.cs +++ b/src/Tizen.NUI/src/public/LongPressGesture.cs @@ -78,6 +78,7 @@ namespace Tizen.NUI /// The number of touch points in this long press gesture, i.e., the number of fingers the user had /// on the screen to generate the long press gesture.
/// + /// 3 public uint NumberOfTouches { get @@ -90,6 +91,7 @@ namespace Tizen.NUI /// This is the point, in screen coordinates, where the long press occurred.
/// If a multi-touch long press, then this is the centroid of all the touch points.
/// + /// 3 public Vector2 ScreenPoint { get @@ -102,6 +104,7 @@ namespace Tizen.NUI /// This is the point, in local actor coordinates, where the long press occurred.
/// If a multi-touch long press, then this is the centroid of all the touch points.
/// + /// 3 public Vector2 LocalPoint { get @@ -114,6 +117,7 @@ namespace Tizen.NUI /// The constructor. /// /// The state of the gesture + /// 3 public LongPressGesture(Gesture.StateType state) : this(NDalicPINVOKE.new_LongPressGesture__SWIG_0((int)state), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -169,4 +173,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/NUIApplication.cs b/src/Tizen.NUI/src/public/NUIApplication.cs index 6a4f19d..9909af3 100755 --- a/src/Tizen.NUI/src/public/NUIApplication.cs +++ b/src/Tizen.NUI/src/public/NUIApplication.cs @@ -31,11 +31,13 @@ namespace Tizen.NUI /// /// Occurs whenever the application is resumed. /// + /// 4 public event EventHandler Resumed; /// /// Occurs whenever the application is paused. /// + /// 4 public event EventHandler Paused; /// @@ -46,6 +48,7 @@ namespace Tizen.NUI /// /// The default constructor. /// + /// 3 public NUIApplication() : base(new NUICoreBackend()) { } @@ -53,6 +56,7 @@ namespace Tizen.NUI /// /// The constructor with a stylesheet. /// + /// 3 public NUIApplication(string stylesheet) : base(new NUICoreBackend(stylesheet)) { } @@ -60,6 +64,7 @@ namespace Tizen.NUI /// /// The constructor with a stylesheet and window mode. /// + /// 3 public NUIApplication(string stylesheet, WindowMode windowMode) : base(new NUICoreBackend(stylesheet,windowMode)) { } @@ -165,6 +170,7 @@ namespace Tizen.NUI /// Runs the NUIApplication. /// /// Arguments from commandline. + /// 4 public override void Run(string[] args) { Backend.AddEventHandler(EventType.PreCreated, OnPreCreate); @@ -176,6 +182,7 @@ namespace Tizen.NUI /// /// Exits the NUIApplication. /// + /// 4 public override void Exit() { base.Exit(); @@ -186,6 +193,7 @@ namespace Tizen.NUI /// /// The function to call /// true if added successfully, false otherwise + /// 4 public bool AddIdle(System.Delegate func) { return ((NUICoreBackend)this.Backend).AddIdle(func); @@ -194,6 +202,7 @@ namespace Tizen.NUI /// /// Enumeration for deciding whether a NUI application window is opaque or transparent. /// + /// 3 public enum WindowMode { Opaque = 0, @@ -212,6 +221,7 @@ namespace Tizen.NUI /// /// ResourceManager to handle multilingual. /// + /// 4 public static System.Resources.ResourceManager MultilingualResourceManager { get @@ -236,4 +246,4 @@ namespace Tizen.NUI } } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/NUIConstants.cs b/src/Tizen.NUI/src/public/NUIConstants.cs index 2d1c05a..a515df1 100755 --- a/src/Tizen.NUI/src/public/NUIConstants.cs +++ b/src/Tizen.NUI/src/public/NUIConstants.cs @@ -17,6 +17,10 @@ using System.ComponentModel; namespace Tizen.NUI { + /// + /// This specifies all the scroll mode type. + /// + /// 3 public enum ScrollModeType { XAxisScrollEnabled, @@ -30,6 +34,7 @@ namespace Tizen.NUI /// /// This specifies whether the actor uses its own color or inherits. /// + /// 3 public enum ColorMode { /// @@ -53,6 +58,7 @@ namespace Tizen.NUI /// /// This specifies the dimension of the width or the height for size negotiation. /// + /// 3 public enum DimensionType { /// @@ -72,6 +78,7 @@ namespace Tizen.NUI /// /// Enumeration for the instance of how the actor and it's children will be drawn. /// + /// 3 public enum DrawModeType { /// @@ -91,6 +98,7 @@ namespace Tizen.NUI /// /// Enumeration for size negotiation resize policies. /// + /// 3 public enum ResizePolicyType { /// @@ -131,6 +139,7 @@ namespace Tizen.NUI /// /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation. /// + /// 3 public enum SizeScalePolicyType { /// @@ -150,6 +159,7 @@ namespace Tizen.NUI /// /// Enumeration for the ClippingMode describing how this actor's children will be clipped against it. /// + /// 3 public enum ClippingModeType { /// @@ -165,6 +175,7 @@ namespace Tizen.NUI /// /// Enumeration for type determination of how the camera operates. /// + /// 3 public enum CameraType { /// @@ -180,6 +191,7 @@ namespace Tizen.NUI /// /// Enumeration for the projection modes. /// + /// 3 public enum ProjectionMode { /// @@ -195,6 +207,7 @@ namespace Tizen.NUI /// /// This specifies customView behavior types. /// + /// 3 public enum CustomViewBehaviour { /// @@ -217,6 +230,7 @@ namespace Tizen.NUI LastViewBehaviourFlag } + /// 3 public enum DeviceClassType { None, @@ -233,6 +247,7 @@ namespace Tizen.NUI /// This specifies all the property types.
/// Enumeration for the property types supported. ///
+ /// 3 public enum PropertyType { /// @@ -297,6 +312,7 @@ namespace Tizen.NUI /// This specifies the property access mode types.
/// Enumeration for the access mode for custom properties. ///
+ /// 3 public enum PropertyAccessMode { /// @@ -320,6 +336,7 @@ namespace Tizen.NUI /// /// Types of style change. Enumeration for the StyleChange type. /// + /// 3 public enum StyleChangeType { /// @@ -339,6 +356,7 @@ namespace Tizen.NUI /// /// Enumeration for horizontal alignment types. /// + /// 3 public enum HorizontalAlignmentType { /// @@ -358,6 +376,7 @@ namespace Tizen.NUI /// /// Enumeration for vertical alignment types. /// + /// 3 public enum VerticalAlignmentType { /// @@ -377,6 +396,7 @@ namespace Tizen.NUI /// /// Enumeration for point state type. /// + /// 3 public enum PointStateType { /// @@ -417,6 +437,7 @@ namespace Tizen.NUI /// /// Enumeration for the text horizontal aligning. /// + /// 3 public enum HorizontalAlignment { /// @@ -436,6 +457,7 @@ namespace Tizen.NUI /// /// Enumeration for the text horizontal aligning. /// + /// 3 public enum VerticalAlignment { /// @@ -456,6 +478,7 @@ namespace Tizen.NUI /// This specifies wrap mode types.
/// WrapModeU and WrapModeV separately decide how the texture should be sampled when the u and v coordinate exceeds the range of 0.0 to 1.0. ///
+ /// 3 public enum WrapModeType { /// @@ -479,6 +502,7 @@ namespace Tizen.NUI /// /// The type of coordinate system for certain attributes of the points in a gradient. /// + /// 3 public enum GradientVisualUnitsType { /// @@ -495,6 +519,7 @@ namespace Tizen.NUI /// This specifies SpreadMethod types.
/// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.
///
+ /// 3 public enum GradientVisualSpreadMethodType { /// @@ -514,6 +539,7 @@ namespace Tizen.NUI /// /// The shading mode used by the mesh visual. /// + /// 3 public enum MeshVisualShadingModeValue { /// @@ -533,6 +559,7 @@ namespace Tizen.NUI /// /// The primitive shape to render as a primitive visual. /// + /// 3 public enum PrimitiveVisualShapeType { /// @@ -570,6 +597,7 @@ namespace Tizen.NUI /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.
/// All fitting modes preserve the aspect ratio of the image contents.
///
+ /// 3 public enum FittingModeType { /// @@ -596,6 +624,7 @@ namespace Tizen.NUI /// NoFilter and Box modes do not guarantee that the output pixel array exactly matches the rectangle specified by the desired dimensions and the FittingMode,
/// but all other filter modes do if the desired dimensions are `<=` the raw dimensions of the input image file.
///
+ /// 3 public enum SamplingModeType { /// @@ -633,6 +662,7 @@ namespace Tizen.NUI /// /// This specifies policy types that could be used by the transform for the offset or size. /// + /// 3 public enum VisualTransformPolicyType { /// @@ -648,6 +678,7 @@ namespace Tizen.NUI /// /// This specifies all the transform property types. /// + /// 3 public enum VisualTransformPropertyType { /// @@ -679,11 +710,13 @@ namespace Tizen.NUI /// /// This specifies visual types. /// + /// 3 public struct Visual { /// /// The index for the visual type. /// + /// 3 public enum Type { /// @@ -735,6 +768,7 @@ namespace Tizen.NUI /// /// This specifies visual properties. /// + /// 3 public struct Property { public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE; @@ -748,6 +782,7 @@ namespace Tizen.NUI /// /// This specifies shader properties. /// + /// 3 public struct ShaderProperty { public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX; @@ -760,6 +795,7 @@ namespace Tizen.NUI /// /// This specifies visaul align types. /// + /// 3 public enum AlignType { TopBegin = 0, @@ -777,6 +813,7 @@ namespace Tizen.NUI /// /// This specifies properties of the BorderVisual. /// + /// 3 public struct BorderVisualProperty { public static readonly int Color = NDalic.BORDER_VISUAL_COLOR; @@ -787,6 +824,7 @@ namespace Tizen.NUI /// /// This specifies properties of the ColorVisual. /// + /// 3 public struct ColorVisualProperty { public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR; @@ -795,6 +833,7 @@ namespace Tizen.NUI /// /// This specifies properties of the GradientVisual. /// + /// 3 public struct GradientVisualProperty { public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION; @@ -810,6 +849,7 @@ namespace Tizen.NUI /// /// This specifies properties of the ImageVisual. /// + /// 3 public struct ImageVisualProperty { public static readonly int URL = NDalic.IMAGE_VISUAL_URL; @@ -835,6 +875,7 @@ namespace Tizen.NUI /// /// This specifies properties of the MeshVisual. /// + /// 3 public struct MeshVisualProperty { public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL; @@ -849,6 +890,7 @@ namespace Tizen.NUI /// /// This specifies properties of the PrimitiveVisual. /// + /// 3 public struct PrimitiveVisualProperty { public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE; @@ -868,6 +910,7 @@ namespace Tizen.NUI /// /// This specifies properties of the TextVisual. /// + /// 3 public struct TextVisualProperty { public static readonly int Text = NDalic.TEXT_VISUAL_TEXT; @@ -884,6 +927,7 @@ namespace Tizen.NUI /// /// This specifies properties of the NpatchImageVisual. /// + /// 3 public struct NpatchImageVisualProperty { public static readonly int URL = NDalic.IMAGE_VISUAL_URL; @@ -902,6 +946,7 @@ namespace Tizen.NUI /// /// The HiddenInput property. /// + /// 3 public struct HiddenInputProperty { public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get(); @@ -913,6 +958,7 @@ namespace Tizen.NUI /// /// The type for HiddenInput mode. /// + /// 3 public enum HiddenInputModeType { /// @@ -940,6 +986,7 @@ namespace Tizen.NUI /// /// ParentOrigin constants. /// + /// 3 public struct ParentOrigin { public static float Top @@ -1082,6 +1129,7 @@ namespace Tizen.NUI /// /// PivotPoint constants. /// + /// 3 public struct PivotPoint { public static float Top @@ -1223,6 +1271,7 @@ namespace Tizen.NUI /// /// PositionAxis constants. /// + /// 3 public struct PositionAxis { public static Position X @@ -1290,6 +1339,7 @@ namespace Tizen.NUI /// /// Auto scrolling stop behavior. /// + /// 3 public enum AutoScrollStopMode { /// @@ -1305,6 +1355,7 @@ namespace Tizen.NUI /// /// An enum of screen mode. /// + /// 3 public enum ScreenMode { /// /// The mode which turns the screen off after a timeout. @@ -1319,6 +1370,7 @@ namespace Tizen.NUI /// /// An enum of notification window's priority level. /// + /// 3 public enum NotificationLevel { /// /// No notification level.
@@ -1347,6 +1399,7 @@ namespace Tizen.NUI /// /// An enum of window types. /// + /// 3 public enum WindowType { /// /// A default window type.
@@ -1368,6 +1421,7 @@ namespace Tizen.NUI Dialog } + /// 3 public enum DisposeTypes { Explicit, //Called By User @@ -1520,6 +1574,7 @@ namespace Tizen.NUI /// /// An enum of the scroll state of the text eidtor. /// + /// 3 public enum ScrollState { /// @@ -1536,6 +1591,7 @@ namespace Tizen.NUI /// /// An enum of the line wrap mode of text controls. /// + /// 4 public enum LineWrapMode { /// @@ -1549,4 +1605,4 @@ namespace Tizen.NUI Character } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/NUIWidgetApplication.cs b/src/Tizen.NUI/src/public/NUIWidgetApplication.cs index c0de24c..d341147 100755 --- a/src/Tizen.NUI/src/public/NUIWidgetApplication.cs +++ b/src/Tizen.NUI/src/public/NUIWidgetApplication.cs @@ -32,6 +32,7 @@ namespace Tizen.NUI /// /// The default constructor. /// + /// 4 public NUIWidgetApplication() : base(new NUIWidgetCoreBackend()) { Tizen.Log.Fatal("NUI", "### NUIWidgetApplication called"); @@ -40,6 +41,7 @@ namespace Tizen.NUI /// /// The constructor with stylesheet. /// + /// 4 public NUIWidgetApplication(string stylesheet) : base(new NUIWidgetCoreBackend(stylesheet)) { Tizen.Log.Fatal("NUI", "### NUIWidgetApplication(string) called"); @@ -114,6 +116,7 @@ namespace Tizen.NUI /// Run NUIWidgetApplication. /// /// Arguments from commandline. + /// 4 public override void Run(string[] args) { Backend.AddEventHandler(EventType.PreCreated, OnPreCreate); @@ -123,6 +126,7 @@ namespace Tizen.NUI /// /// Exit NUIWidgetApplication. /// + /// 4 public override void Exit() { Tizen.Log.Fatal("NUI", "### NUIWidgetApplication Exit called"); @@ -140,6 +144,7 @@ namespace Tizen.NUI /// /// Get the window instance. /// + /// 4 public Window Window { get @@ -149,4 +154,4 @@ namespace Tizen.NUI } } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/PaddingType.cs b/src/Tizen.NUI/src/public/PaddingType.cs index f5b11af..08acbf8 100755 --- a/src/Tizen.NUI/src/public/PaddingType.cs +++ b/src/Tizen.NUI/src/public/PaddingType.cs @@ -16,7 +16,9 @@ namespace Tizen.NUI { - + /// + /// The gesture state. + /// public class PaddingType : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -48,6 +50,10 @@ namespace Tizen.NUI } } + /// + /// Dispose. + /// + /// 3 public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -99,6 +105,10 @@ namespace Tizen.NUI disposed = true; } + /// + /// Equality operator + /// + /// 3 public static bool operator ==(PaddingType a, PaddingType b) { // If both are null, or both are same instance, return true. @@ -120,11 +130,22 @@ namespace Tizen.NUI (System.Math.Abs(a.Top - b.Top) < NDalic.GetRangedEpsilon(a.Top, b.Top)); } + /// + /// Inequality operator. Returns Null if either operand is Null + /// + /// 3 public static bool operator !=(PaddingType a, PaddingType b) { return !(a == b); } + + /// + /// Equals + /// + /// The object should be compared. + /// True if equal. + /// 4 public override bool Equals(object o) { if(o == null) @@ -144,12 +165,20 @@ namespace Tizen.NUI (System.Math.Abs(Top - p.Top) < NDalic.GetRangedEpsilon(Top, p.Top)); } + /// + /// Gets the the hash code of this baseHandle. + /// + /// The Hash Code. + /// 4 public override int GetHashCode() { return base.GetHashCode(); } - ///< The Left value + /// + /// The Left value. + /// + /// 3 public float Left { set @@ -162,7 +191,10 @@ namespace Tizen.NUI } } - ///< The Right value + /// + /// The Right value. + /// + /// 3 public float Right { set @@ -175,7 +207,10 @@ namespace Tizen.NUI } } - ///< The Bottom value + /// + /// The Bottom value. + /// + /// 3 public float Bottom { set @@ -188,7 +223,10 @@ namespace Tizen.NUI } } - ///< The Top value + /// + /// The Top value. + /// + /// 3 public float Top { set @@ -201,17 +239,36 @@ namespace Tizen.NUI } } - + /// + /// Create an instance of paddingType. + /// + /// 3 public PaddingType() : this(NDalicPINVOKE.new_PaddingType__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Create an instance of BaseHandle. + /// + /// The x value. + /// The y value. + /// The width value. + /// The height value. + /// 3 public PaddingType(float x, float y, float width, float height) : this(NDalicPINVOKE.new_PaddingType__SWIG_1(x, y, width, height), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Set the x, y, width, height of this paddingtype. + /// + /// The x value. + /// The y value. + /// The width value. + /// The height value. + /// 3 public void Set(float newX, float newY, float newWidth, float newHeight) { NDalicPINVOKE.PaddingType_Set(swigCPtr, newX, newY, newWidth, newHeight); @@ -340,4 +397,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/PanGesture.cs b/src/Tizen.NUI/src/public/PanGesture.cs index 2c930fc..aac9b00 100755 --- a/src/Tizen.NUI/src/public/PanGesture.cs +++ b/src/Tizen.NUI/src/public/PanGesture.cs @@ -85,6 +85,7 @@ namespace Tizen.NUI /// A positive x value shows that the user is panning to the right, a negative x value means the opposite.
/// A positive y value shows that the user is panning downwards, a negative y values means upwards.
///
+ /// 3 public Vector2 Velocity { get @@ -99,6 +100,7 @@ namespace Tizen.NUI /// A positive x value shows that the user is panning to the right, a negative x value means the opposite.
/// A positive y value shows that the user is panning downwards, a negative y value means upwards.
///
+ /// 3 public Vector2 Displacement { get @@ -110,6 +112,7 @@ namespace Tizen.NUI /// /// The current touch position of the primary touch point in local actor coordinates. /// + /// 3 public Vector2 Position { get @@ -125,6 +128,7 @@ namespace Tizen.NUI /// A positive y value shows that the user is panning downwards, a negative y values means upwards.
/// This value represents the screen coordinates.
///
+ /// 3 public Vector2 ScreenVelocity { get @@ -140,6 +144,7 @@ namespace Tizen.NUI /// A positive y value shows that the user is panning downwards, a negative y value means upwards.
/// This value is in screen coordinates.
///
+ /// 3 public Vector2 ScreenDisplacement { get @@ -151,6 +156,7 @@ namespace Tizen.NUI /// /// The current touch position of the primary touch point in screen coordinates. /// + /// 3 public Vector2 ScreenPosition { get @@ -162,6 +168,7 @@ namespace Tizen.NUI /// /// The total number of fingers touching the screen in a pan gesture. /// + /// 3 public uint NumberOfTouches { get @@ -173,6 +180,7 @@ namespace Tizen.NUI /// /// The default constructor. /// + /// 3 public PanGesture() : this(NDalicPINVOKE.new_PanGesture__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -304,6 +312,7 @@ namespace Tizen.NUI /// This is the pixel movement per millisecond.
///
/// The speed of the pan (in pixels per millisecond). + /// 3 public float GetSpeed() { float ret = NDalicPINVOKE.PanGesture_GetSpeed(swigCPtr); @@ -317,6 +326,7 @@ namespace Tizen.NUI /// This is always a positive value.
///
/// The distance, as a float, a user's finger has panned. + /// 3 public float GetDistance() { float ret = NDalicPINVOKE.PanGesture_GetDistance(swigCPtr); @@ -329,6 +339,7 @@ namespace Tizen.NUI /// This is the pixel movement per millisecond.
///
/// The speed of the pan (in pixels per millisecond). + /// 3 public float GetScreenSpeed() { float ret = NDalicPINVOKE.PanGesture_GetScreenSpeed(swigCPtr); @@ -343,6 +354,7 @@ namespace Tizen.NUI /// This is always a positive value.
///
/// The distance, as a float, a user's finger has panned. + /// 3 public float GetScreenDistance() { float ret = NDalicPINVOKE.PanGesture_GetScreenDistance(swigCPtr); @@ -352,4 +364,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Path.cs b/src/Tizen.NUI/src/public/Path.cs index 495851b..fca7e30 100755 --- a/src/Tizen.NUI/src/public/Path.cs +++ b/src/Tizen.NUI/src/public/Path.cs @@ -78,6 +78,7 @@ namespace Tizen.NUI /// /// Creates an initialized path handle. /// + /// 3 public Path() : this(NDalicPINVOKE.Path_New(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -97,6 +98,7 @@ namespace Tizen.NUI /// Adds an interpolation point. ///
/// The new interpolation point to be added. + /// 3 public void AddPoint(Position point) { NDalicPINVOKE.Path_AddPoint(swigCPtr, Position.getCPtr(point)); @@ -107,6 +109,7 @@ namespace Tizen.NUI /// Adds a control point. ///
/// The new control point to be added. + /// 3 public void AddControlPoint(Vector3 point) { NDalicPINVOKE.Path_AddControlPoint(swigCPtr, Vector3.getCPtr(point)); @@ -122,6 +125,7 @@ namespace Tizen.NUI /// The out control point is the length of the succeeding segment forward along this bisector multiplied by the curvature.
///
/// The curvature of the spline. 0 gives straight lines between the knots, negative values means the spline contains loops, positive values up to 0.5 result in a smooth curve, positive values between 0.5 and 1 result in looped curves where the loops are not distinct (i.e., the curve appears to be non-continuous), positive values higher than 1 result in looped curves. + /// 3 public void GenerateControlPoints(float curvature) { NDalicPINVOKE.Path_GenerateControlPoints(swigCPtr, curvature); @@ -134,6 +138,7 @@ namespace Tizen.NUI /// A floating point value between 0.0 and 1.0. /// The interpolated position at that progress. /// The interpolated tangent at that progress. + /// 3 public void Sample(float progress, Vector3 position, Vector3 tangent) { NDalicPINVOKE.Path_Sample(swigCPtr, progress, Vector3.getCPtr(position), Vector3.getCPtr(tangent)); @@ -144,6 +149,7 @@ namespace Tizen.NUI /// An accessor for the interpolation points. ///
/// The index of the interpolation point. + /// 3 public Vector3 GetPoint(uint index) { Vector3 ret = new Vector3(NDalicPINVOKE.Path_GetPoint(swigCPtr, index), false); @@ -155,6 +161,7 @@ namespace Tizen.NUI /// An accessor for the control points. ///
/// The index of the control point. + /// 3 public Vector3 GetControlPoint(uint index) { Vector3 ret = new Vector3(NDalicPINVOKE.Path_GetControlPoint(swigCPtr, index), false); @@ -166,6 +173,7 @@ namespace Tizen.NUI /// Gets the number of interpolation points in the path. ///
/// The number of interpolation points in the path. + /// 3 public uint GetPointCount() { uint ret = NDalicPINVOKE.Path_GetPointCount(swigCPtr); @@ -176,6 +184,7 @@ namespace Tizen.NUI /// /// Enumeration for the Points. /// + /// 3 public PropertyArray Points { get @@ -193,6 +202,7 @@ namespace Tizen.NUI /// /// Enumeration for the ControlPoints. /// + /// 3 public PropertyArray ControlPoints { get @@ -209,4 +219,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/PinchGesture.cs b/src/Tizen.NUI/src/public/PinchGesture.cs index ec97af9..4ab070a 100755 --- a/src/Tizen.NUI/src/public/PinchGesture.cs +++ b/src/Tizen.NUI/src/public/PinchGesture.cs @@ -80,6 +80,7 @@ namespace Tizen.NUI /// this value increases. Conversely, if the user is moving their /// fingers towards each other, this value will decrease.
///
+ /// 3 public float Scale { get @@ -92,6 +93,7 @@ namespace Tizen.NUI /// The speed at which the user is moving their fingers.
/// This is the pixel movement per second.
///
+ /// 3 public float Speed { get @@ -103,6 +105,7 @@ namespace Tizen.NUI /// /// The center point of the two points that caused the pinch gesture in screen coordinates. /// + /// 3 public Vector2 ScreenCenterPoint { get @@ -114,6 +117,7 @@ namespace Tizen.NUI /// /// The center point of the two points that caused the pinch gesture in local actor coordinates. /// + /// 3 public Vector2 LocalCenterPoint { get @@ -195,4 +199,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/PixelData.cs b/src/Tizen.NUI/src/public/PixelData.cs index 0b8f7a8..cb5b260 100755 --- a/src/Tizen.NUI/src/public/PixelData.cs +++ b/src/Tizen.NUI/src/public/PixelData.cs @@ -16,7 +16,12 @@ namespace Tizen.NUI { - + /// + /// The PixelData object holds a pixel buffer.
+ /// The PixelData takes over the ownership of the pixel buffer.
+ /// The buffer memory must NOT be released outside of this class, instead, + /// the PixelData object will release it automatically when the reference count falls to zero. + ///
public class PixelData : BaseHandle { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -64,15 +69,27 @@ namespace Tizen.NUI base.Dispose(type); } - - + /// + /// Creates a PixelData object. + /// + /// The raw pixel data. + /// The size of the buffer in bytes. + /// Buffer width in pixels. + /// Buffer height in pixels. + /// The pixel format. + /// The function used to release the memory. + /// 3 public PixelData(byte[] buffer, uint bufferSize, uint width, uint height, PixelFormat pixelFormat, PixelData.ReleaseFunction releaseFunction) : this(NDalicPINVOKE.PixelData_New(buffer, bufferSize, width, height, (int)pixelFormat, (int)releaseFunction), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - + /// + /// Gets the width of the buffer in pixels. + /// + /// The width of the buffer in pixels. + /// 3 public uint GetWidth() { uint ret = NDalicPINVOKE.PixelData_GetWidth(swigCPtr); @@ -80,6 +97,11 @@ namespace Tizen.NUI return ret; } + /// + /// Gets the height of the buffer in pixels. + /// + /// The height of the buffer in pixels. + /// 3 public uint GetHeight() { uint ret = NDalicPINVOKE.PixelData_GetHeight(swigCPtr); @@ -87,6 +109,11 @@ namespace Tizen.NUI return ret; } + /// + /// Gets the pixel format. + /// + /// The pixel format. + /// 3 public PixelFormat GetPixelFormat() { PixelFormat ret = (PixelFormat)NDalicPINVOKE.PixelData_GetPixelFormat(swigCPtr); @@ -94,12 +121,23 @@ namespace Tizen.NUI return ret; } + /// + /// Enumeration for Function to release the pixel buffer. + /// + /// 3 public enum ReleaseFunction { + /// + /// Use free function to release the pixel buffer. + /// FREE, + + /// + /// Use delete[] operator to release the pixel buffer. + /// DELETE_ARRAY } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/PixelFormat.cs b/src/Tizen.NUI/src/public/PixelFormat.cs index 8290e27..62a0670 100755 --- a/src/Tizen.NUI/src/public/PixelFormat.cs +++ b/src/Tizen.NUI/src/public/PixelFormat.cs @@ -75,4 +75,4 @@ namespace Tizen.NUI COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Position.cs b/src/Tizen.NUI/src/public/Position.cs index 728cf7e..dccf09e 100755 --- a/src/Tizen.NUI/src/public/Position.cs +++ b/src/Tizen.NUI/src/public/Position.cs @@ -109,6 +109,7 @@ namespace Tizen.NUI /// The vector to add. /// The vector to add. /// The vector containing the result of the addition. + /// 3 public static Position operator +(Position arg1, Position arg2) { return arg1.Add(arg2); @@ -120,6 +121,7 @@ namespace Tizen.NUI /// The vector to subtract. /// The vector to subtract. /// The vector containing the result of the subtraction. + /// 3 public static Position operator -(Position arg1, Position arg2) { return arg1.Subtract(arg2); @@ -130,6 +132,7 @@ namespace Tizen.NUI ///
/// The vector to negate. /// The vector containg the negation. + /// 3 public static Position operator -(Position arg1) { return arg1.Subtract(); @@ -141,6 +144,7 @@ namespace Tizen.NUI /// The vector to multiply. /// The vector to multiply. /// The vector containing the result of the multiplication. + /// 3 public static Position operator *(Position arg1, Position arg2) { return arg1.Multiply(arg2); @@ -152,6 +156,7 @@ namespace Tizen.NUI /// The vector to multiply /// The float value to scale the vector. /// The vector containing the result of scaling. + /// 3 public static Position operator *(Position arg1, float arg2) { return arg1.Multiply(arg2); @@ -163,6 +168,7 @@ namespace Tizen.NUI /// The vector to divide. /// The vector to divide. /// The vector containing the result of the division. + /// 3 public static Position operator /(Position arg1, Position arg2) { return arg1.Divide(arg2); @@ -174,6 +180,7 @@ namespace Tizen.NUI /// The vector to divide. /// The float value to scale the vector by. /// The vector containing the result of scaling. + /// 3 public static Position operator /(Position arg1, float arg2) { return arg1.Divide(arg2); @@ -185,6 +192,7 @@ namespace Tizen.NUI ///
/// The subscript index. /// The float at the given index. + /// 3 public float this[uint index] { get @@ -204,6 +212,7 @@ namespace Tizen.NUI /// /// The constructor. /// + /// 3 public Position() : this(NDalicPINVOKE.new_Vector3__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -215,6 +224,7 @@ namespace Tizen.NUI /// The x component. /// The y component. /// The z component. + /// 3 public Position(float x, float y, float z) : this(NDalicPINVOKE.new_Vector3__SWIG_1(x, y, z), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -224,6 +234,7 @@ namespace Tizen.NUI /// The constructor. ///
/// Position2D to create this vector from. + /// 3 public Position(Position2D position2d) : this(NDalicPINVOKE.new_Vector3__SWIG_3(Position2D.getCPtr(position2d)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -292,6 +303,7 @@ namespace Tizen.NUI ///
/// The vector to compare. /// Returns true if the two vectors are equal, otherwise false. + /// 3 public bool EqualTo(Position rhs) { bool ret = NDalicPINVOKE.Vector3_EqualTo(swigCPtr, Position.getCPtr(rhs)); @@ -304,6 +316,7 @@ namespace Tizen.NUI ///
/// The vector to compare. /// Returns true if the two vectors are not equal, otherwise false. + /// 3 public bool NotEqualTo(Position rhs) { bool ret = NDalicPINVOKE.Vector3_NotEqualTo(swigCPtr, Position.getCPtr(rhs)); @@ -315,6 +328,7 @@ namespace Tizen.NUI /// /// The x component. /// + /// 3 public float X { set @@ -333,6 +347,7 @@ namespace Tizen.NUI /// /// The y component. /// + /// 3 public float Y { set @@ -351,6 +366,7 @@ namespace Tizen.NUI /// /// The z component. /// + /// 3 public float Z { set @@ -369,6 +385,7 @@ namespace Tizen.NUI /// /// ParentOrigin constants. It's 0.0. /// + /// 3 public static float ParentOriginTop { get @@ -382,6 +399,7 @@ namespace Tizen.NUI /// /// ParentOrigin constants. It's 1.0. /// + /// 3 public static float ParentOriginBottom { get @@ -395,6 +413,7 @@ namespace Tizen.NUI /// /// ParentOrigin constants. It's 0.0. /// + /// 3 public static float ParentOriginLeft { get @@ -408,6 +427,7 @@ namespace Tizen.NUI /// /// ParentOrigin constants. It's 1.0. /// + /// 3 public static float ParentOriginRight { get @@ -421,6 +441,7 @@ namespace Tizen.NUI /// /// ParentOrigin constants. It's 0.5. /// + /// 3 public static float ParentOriginMiddle { get @@ -434,6 +455,7 @@ namespace Tizen.NUI /// /// ParentOrigin constants: 0.0, 0.0, 0.5. /// + /// 3 public static Position ParentOriginTopLeft { get @@ -448,6 +470,7 @@ namespace Tizen.NUI /// /// ParentOrigin constants: 0.5, 0.0, 0.5. /// + /// 3 public static Position ParentOriginTopCenter { get @@ -462,6 +485,7 @@ namespace Tizen.NUI /// /// ParentOrigin constants: 1.0, 0.0, 0.5. /// + /// 3 public static Position ParentOriginTopRight { get @@ -476,6 +500,7 @@ namespace Tizen.NUI /// /// ParentOrigin constants: 0.0, 0.5, 0.5. /// + /// 3 public static Position ParentOriginCenterLeft { get @@ -490,6 +515,7 @@ namespace Tizen.NUI /// /// ParentOrigin constants: 0.0, 0.5, 0.5 /// + /// 3 public static Position ParentOriginCenter { get @@ -504,6 +530,7 @@ namespace Tizen.NUI /// /// ParentOrigin constants: 1.0, 0.5, 0.5. /// + /// 3 public static Position ParentOriginCenterRight { get @@ -518,6 +545,7 @@ namespace Tizen.NUI /// /// ParentOrigin constants: 0.0f, 1.0f, 0.5f. /// + /// 3 public static Position ParentOriginBottomLeft { get @@ -532,6 +560,7 @@ namespace Tizen.NUI /// /// ParentOrigin constants: 0.5, 1.0, 0.5. /// + /// 3 public static Position ParentOriginBottomCenter { get @@ -546,6 +575,7 @@ namespace Tizen.NUI /// /// ParentOrigin constants: 1.0, 1.0, 0.5. /// + /// 3 public static Position ParentOriginBottomRight { get @@ -560,6 +590,7 @@ namespace Tizen.NUI /// /// PivotPoint constants: 0.0. /// + /// 4 public static float PivotPointTop { get @@ -573,6 +604,7 @@ namespace Tizen.NUI /// /// PivotPoint constants: 1.0. /// + /// 4 public static float PivotPointBottom { get @@ -586,6 +618,7 @@ namespace Tizen.NUI /// /// PivotPoint constants: 0.0. /// + /// 4 public static float PivotPointLeft { get @@ -599,6 +632,7 @@ namespace Tizen.NUI /// /// PivotPoint constants: 1.0. /// + /// 4 public static float PivotPointRight { get @@ -612,6 +646,7 @@ namespace Tizen.NUI /// /// PivotPoint constants: 0.0. /// + /// 4 public static float PivotPointMiddle { get @@ -625,6 +660,7 @@ namespace Tizen.NUI /// /// PivotPoint constants: 0.0, 0.0, 0.5. /// + /// 4 public static Position PivotPointTopLeft { get @@ -639,6 +675,7 @@ namespace Tizen.NUI /// /// PivotPoint constants: 0.5, 0.0, 0.5. /// + /// 4 public static Position PivotPointTopCenter { get @@ -653,6 +690,7 @@ namespace Tizen.NUI /// /// PivotPoint constants: 1.0, 0.0, 0.5. /// + /// 4 public static Position PivotPointTopRight { get @@ -667,6 +705,7 @@ namespace Tizen.NUI /// /// PivotPoint constants: 0.0, 0.5, 0.5. /// + /// 4 public static Position PivotPointCenterLeft { get @@ -681,6 +720,7 @@ namespace Tizen.NUI /// /// PivotPoint constants: 0.5, 0.5, 0.5. /// + /// 4 public static Position PivotPointCenter { get @@ -695,6 +735,7 @@ namespace Tizen.NUI /// /// PivotPoint constants: 1.0, 0.5, 0.5. /// + /// 4 public static Position PivotPointCenterRight { get @@ -709,6 +750,7 @@ namespace Tizen.NUI /// /// PivotPoint constants: 0.0, 1.0, 0.5. /// + /// 4 public static Position PivotPointBottomLeft { get @@ -723,6 +765,7 @@ namespace Tizen.NUI /// /// PivotPoint constants: 0.5, 1.0, 0.5 /// + /// 4 public static Position PivotPointBottomCenter { get @@ -737,6 +780,7 @@ namespace Tizen.NUI /// /// PivotPoint constants: 1.0, 1.0, 0.5. /// + /// 4 public static Position PivotPointBottomRight { get @@ -751,6 +795,7 @@ namespace Tizen.NUI /// /// Constant ( 1.0f, 1.0f, 1.0f ). /// + /// 3 public static Position One { get @@ -831,6 +876,7 @@ namespace Tizen.NUI /// /// Constant ( 0.0f, 0.0f, 0.0f ). /// + /// 3 public static Position Zero { get @@ -845,6 +891,7 @@ namespace Tizen.NUI /// /// Converts a position instance to a Vector3 instance. /// + /// 3 public static implicit operator Vector3(Position Position) { return new Vector3(Position.X, Position.Y, Position.Z); @@ -853,6 +900,7 @@ namespace Tizen.NUI /// /// Converts a Vector3 instance to a position instance. /// + /// 3 public static implicit operator Position(Vector3 vec) { return new Position(vec.X, vec.Y, vec.Z); @@ -1024,4 +1072,4 @@ namespace Tizen.NUI } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Position2D.cs b/src/Tizen.NUI/src/public/Position2D.cs index f12ece4..ed8f058 100755 --- a/src/Tizen.NUI/src/public/Position2D.cs +++ b/src/Tizen.NUI/src/public/Position2D.cs @@ -106,6 +106,7 @@ namespace Tizen.NUI /// The vector to add. /// The vector to add. /// The vector containing the result of the addition. + /// 3 public static Position2D operator +(Position2D arg1, Position2D arg2) { return arg1.Add(arg2); @@ -117,6 +118,7 @@ namespace Tizen.NUI /// The vector to subtract. /// The vector to subtract. /// The vector containing the result of the subtraction. + /// 3 public static Position2D operator -(Position2D arg1, Position2D arg2) { return arg1.Subtract(arg2); @@ -127,6 +129,7 @@ namespace Tizen.NUI ///
/// The vector to negate. /// The vector containing the negation. + /// 3 public static Position2D operator -(Position2D arg1) { return arg1.Subtract(); @@ -138,6 +141,7 @@ namespace Tizen.NUI /// The vector to multiply. /// The vector to multiply. /// The vector containing the result of the multiplication. + /// 3 public static Position2D operator *(Position2D arg1, Position2D arg2) { return arg1.Multiply(arg2); @@ -149,6 +153,7 @@ namespace Tizen.NUI /// The vector to multiply. /// The integer value to scale the vector. /// The vector containing the result of the multiplication. + /// 3 public static Position2D operator *(Position2D arg1, int arg2) { return arg1.Multiply(arg2); @@ -160,6 +165,7 @@ namespace Tizen.NUI /// The vector to divide. /// The vector to divide. /// The vector containing the result of the division. + /// 3 public static Position2D operator /(Position2D arg1, Position2D arg2) { return arg1.Divide(arg2); @@ -171,6 +177,7 @@ namespace Tizen.NUI /// The vector to divide. /// The integer value to scale the vector by. /// The vector containing the result of the division. + /// 3 public static Position2D operator /(Position2D arg1, int arg2) { return arg1.Divide(arg2); @@ -181,6 +188,7 @@ namespace Tizen.NUI ///
/// The subscript index. /// The float at the given index. + /// 3 public float this[uint index] { get @@ -199,6 +207,7 @@ namespace Tizen.NUI /// /// The constructor. /// + /// 3 public Position2D() : this(NDalicPINVOKE.new_Vector2__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -209,6 +218,7 @@ namespace Tizen.NUI ///
/// x component /// y component + /// 3 public Position2D(int x, int y) : this(NDalicPINVOKE.new_Vector2__SWIG_1((float)x, (float)y), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -218,6 +228,7 @@ namespace Tizen.NUI /// The constructor. ///
/// Position to create this vector from + /// 3 public Position2D(Position position) : this(NDalicPINVOKE.new_Vector2__SWIG_3(Position.getCPtr(position)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -279,6 +290,7 @@ namespace Tizen.NUI ///
/// The vector to compare /// Returns true if the two vectors are equal, otherwise false + /// 3 public bool EqualTo(Position2D rhs) { bool ret = NDalicPINVOKE.Vector2_EqualTo(swigCPtr, Position2D.getCPtr(rhs)); @@ -291,6 +303,7 @@ namespace Tizen.NUI ///
/// The vector to compare. /// Returns true if the two vectors are not equal, otherwise false. + /// 3 public bool NotEqualTo(Position2D rhs) { bool ret = NDalicPINVOKE.Vector2_NotEqualTo(swigCPtr, Position2D.getCPtr(rhs)); @@ -308,6 +321,7 @@ namespace Tizen.NUI /// /// The x component. /// + /// 3 public int X { set @@ -326,6 +340,7 @@ namespace Tizen.NUI /// /// The y component. /// + /// 3 public int Y { set @@ -344,6 +359,7 @@ namespace Tizen.NUI /// /// Converts a Position2D instance to a Vector2 instance. /// + /// 3 public static implicit operator Vector2(Position2D position2d) { return new Vector2((float)position2d.X, (float)position2d.Y); @@ -352,6 +368,7 @@ namespace Tizen.NUI /// /// Converts a Vector2 instance to a Position2D instance. /// + /// 3 public static implicit operator Position2D(Vector2 vec) { return new Position2D((int)vec.X, (int)vec.Y); @@ -360,6 +377,7 @@ namespace Tizen.NUI /// /// Converts a Position2D instance to a Uint16Pair instance. /// + /// 4 public static implicit operator Uint16Pair(Position2D position2d) { return new Uint16Pair((uint)position2d.X, (uint)position2d.Y); @@ -368,6 +386,7 @@ namespace Tizen.NUI /// /// Converts a Uint16Pair instance to a Position2D instance. /// + /// 4 public static implicit operator Position2D(Uint16Pair pair) { return new Position2D((int)pair.GetX(), (int)pair.GetY()); @@ -377,4 +396,3 @@ namespace Tizen.NUI } - diff --git a/src/Tizen.NUI/src/public/Property.cs b/src/Tizen.NUI/src/public/Property.cs index 702c8bc..7f2a864 100755 --- a/src/Tizen.NUI/src/public/Property.cs +++ b/src/Tizen.NUI/src/public/Property.cs @@ -134,6 +134,7 @@ namespace Tizen.NUI /// /// A valid handle to the target object. /// The index of a property. + /// 3 public Property(Animatable arg0, int propertyIndex) : this(NDalicPINVOKE.new_Property__SWIG_0(Animatable.getCPtr(arg0), propertyIndex), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -145,6 +146,7 @@ namespace Tizen.NUI /// A valid handle to the target object. /// The index of a property. /// Index to a sub component of a property, for use with Vector2, Vector3 and Vector4. -1 for the main property (default is -1). + /// 3 public Property(Animatable arg0, int propertyIndex, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_1(Animatable.getCPtr(arg0), propertyIndex, componentIndex), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -156,6 +158,7 @@ namespace Tizen.NUI /// /// A valid handle to the target object. /// The property name. + /// 3 public Property(Animatable arg0, string propertyName) : this(NDalicPINVOKE.new_Property__SWIG_2(Animatable.getCPtr(arg0), propertyName), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -168,6 +171,7 @@ namespace Tizen.NUI /// A valid handle to the target object. /// The property name. /// Index to a sub component of a property, for use with Vector2, Vector3 and Vector4. -1 for main property (default is -1). + /// 3 public Property(Animatable arg0, string propertyName, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_3(Animatable.getCPtr(arg0), propertyName, componentIndex), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -191,6 +195,7 @@ namespace Tizen.NUI /// /// Gets or sets the index of the property. /// + /// 3 public int propertyIndex { set @@ -209,6 +214,7 @@ namespace Tizen.NUI /// /// Gets or sets the component index of the property. /// + /// 3 public int componentIndex { set @@ -313,6 +319,7 @@ namespace Tizen.NUI /// /// The element index to access. No bounds checking is performed. /// The reference to the element. + /// 3 public PropertyValue this[uint index] { get @@ -324,6 +331,7 @@ namespace Tizen.NUI /// /// The constructor. /// + /// 3 public PropertyArray() : this(NDalicPINVOKE.new_Property_Array__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -338,6 +346,7 @@ namespace Tizen.NUI /// Retrieves the number of elements in the array. /// /// The number of elements in the array. + /// 3 public uint Size() { uint ret = NDalicPINVOKE.Property_Array_Size(swigCPtr); @@ -349,6 +358,7 @@ namespace Tizen.NUI /// Retrieves the number of elements in the array. /// /// The number of elements in the array. + /// 3 public uint Count() { uint ret = NDalicPINVOKE.Property_Array_Count(swigCPtr); @@ -360,6 +370,7 @@ namespace Tizen.NUI /// Returns whether the array is empty. /// /// Returns true if empty, false otherwise. + /// 3 public bool Empty() { bool ret = NDalicPINVOKE.Property_Array_Empty(swigCPtr); @@ -370,6 +381,7 @@ namespace Tizen.NUI /// /// Clears the array. /// + /// 3 public void Clear() { NDalicPINVOKE.Property_Array_Clear(swigCPtr); @@ -380,6 +392,7 @@ namespace Tizen.NUI /// Increases the capacity of the array. /// /// The size to reserve. + /// 3 public void Reserve(uint size) { NDalicPINVOKE.Property_Array_Reserve(swigCPtr, size); @@ -390,6 +403,7 @@ namespace Tizen.NUI /// Resizes to size. /// /// The size to resize + /// 3 public void Resize(uint size) { NDalicPINVOKE.Property_Array_Resize(swigCPtr, size); @@ -400,6 +414,7 @@ namespace Tizen.NUI /// Retrieves the capacity of the array. /// /// The allocated capacity of the array. + /// 3 public uint Capacity() { uint ret = NDalicPINVOKE.Property_Array_Capacity(swigCPtr); @@ -411,6 +426,7 @@ namespace Tizen.NUI /// Adds an element to the array. /// /// The value to add at the end of the array. + /// 3 public void PushBack(PropertyValue value) { NDalicPINVOKE.Property_Array_PushBack(swigCPtr, PropertyValue.getCPtr(value)); @@ -421,6 +437,7 @@ namespace Tizen.NUI /// Adds an element to the array. /// /// The value to add at the end of the array. + /// 3 public PropertyArray Add(PropertyValue value) { PropertyArray ret = new PropertyArray(NDalicPINVOKE.Property_Array_Add(swigCPtr, PropertyValue.getCPtr(value)), false); @@ -433,6 +450,7 @@ namespace Tizen.NUI /// /// The element index to access. No bounds checking is performed. /// The reference to the element. + /// 3 public PropertyValue GetElementAt(uint index) { PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Array_GetElementAt__SWIG_0(swigCPtr, index), false); @@ -538,6 +556,7 @@ namespace Tizen.NUI /// /// The type of the key. /// + /// 3 public PropertyKey.KeyType Type { set @@ -556,6 +575,7 @@ namespace Tizen.NUI /// /// The index key. /// + /// 3 public int IndexKey { set @@ -574,6 +594,7 @@ namespace Tizen.NUI /// /// The string key. /// + /// 3 public string StringKey { set @@ -593,6 +614,7 @@ namespace Tizen.NUI /// The constructor. /// /// The string key. + /// 3 public PropertyKey(string key) : this(NDalicPINVOKE.new_Property_Key__SWIG_0(key), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -602,6 +624,7 @@ namespace Tizen.NUI /// The constructor. /// /// The index key. + /// 3 public PropertyKey(int key) : this(NDalicPINVOKE.new_Property_Key__SWIG_1(key), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -612,6 +635,7 @@ namespace Tizen.NUI /// /// A string key to compare against. /// Returns true if the key compares, or false if it isn't equal or of the wrong type. + /// 3 public bool EqualTo(string rhs) { bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_0(swigCPtr, rhs); @@ -624,6 +648,7 @@ namespace Tizen.NUI /// /// The index key to compare against. /// Returns true if the key compares, or false if it isn't equal or of the wrong type. + /// 3 public bool EqualTo(int rhs) { bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_1(swigCPtr, rhs); @@ -636,6 +661,7 @@ namespace Tizen.NUI /// /// A key to compare against /// Returns true if the keys are of the same type and have the same value. + /// 3 public bool EqualTo(PropertyKey rhs) { bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_2(swigCPtr, PropertyKey.getCPtr(rhs)); @@ -648,6 +674,7 @@ namespace Tizen.NUI /// /// The index key to compare against. /// Returns true if the key is not equal or not a string key. + /// 3 public bool NotEqualTo(string rhs) { bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_0(swigCPtr, rhs); @@ -660,6 +687,7 @@ namespace Tizen.NUI /// /// The index key to compare against. /// Returns true if the key is not equal, or not the index key. + /// 3 public bool NotEqualTo(int rhs) { bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_1(swigCPtr, rhs); @@ -672,6 +700,7 @@ namespace Tizen.NUI /// /// A key to compare against. /// Returns true if the keys are not of the same type or are not equal. + /// 3 public bool NotEqualTo(PropertyKey rhs) { bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_2(swigCPtr, PropertyKey.getCPtr(rhs)); @@ -682,6 +711,7 @@ namespace Tizen.NUI /// /// The type of key. /// + /// 3 public enum KeyType { Index, @@ -778,6 +808,7 @@ namespace Tizen.NUI /// /// The key whose value to access. /// A value for the element with the specified key. + /// 3 public PropertyValue this[string key] { get @@ -792,6 +823,7 @@ namespace Tizen.NUI /// /// The key whose value to access. /// A value for the element with the specified key. + /// 3 public PropertyValue this[int key] { get @@ -803,6 +835,7 @@ namespace Tizen.NUI /// /// The constructor. /// + /// 3 public PropertyMap() : this(NDalicPINVOKE.new_Property_Map__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -812,6 +845,7 @@ namespace Tizen.NUI /// The copy constructor. /// /// The map to copy from. + /// 3 public PropertyMap(PropertyMap other) : this(NDalicPINVOKE.new_Property_Map__SWIG_1(PropertyMap.getCPtr(other)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -821,6 +855,7 @@ namespace Tizen.NUI /// Retrieves the number of elements in the map. /// /// The number of elements in the map. + /// 3 public uint Count() { uint ret = NDalicPINVOKE.Property_Map_Count(swigCPtr); @@ -832,6 +867,7 @@ namespace Tizen.NUI /// Returns whether the map is empty. /// /// Returns true if empty, false otherwise. + /// 3 public bool Empty() { bool ret = NDalicPINVOKE.Property_Map_Empty(swigCPtr); @@ -845,6 +881,7 @@ namespace Tizen.NUI /// /// The key to insert. /// The value to insert. + /// 3 public void Insert(string key, PropertyValue value) { NDalicPINVOKE.Property_Map_Insert__SWIG_0(swigCPtr, key, PropertyValue.getCPtr(value)); @@ -857,6 +894,7 @@ namespace Tizen.NUI /// /// The key to insert. /// The value to insert. + /// 3 public void Insert(int key, PropertyValue value) { NDalicPINVOKE.Property_Map_Insert__SWIG_2(swigCPtr, key, PropertyValue.getCPtr(value)); @@ -870,6 +908,7 @@ namespace Tizen.NUI /// The key to insert. /// The value to insert. /// Returns a reference to this object. + /// 3 public PropertyMap Add(string key, PropertyValue value) { PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Add__SWIG_0(swigCPtr, key, PropertyValue.getCPtr(value)), false); @@ -884,6 +923,7 @@ namespace Tizen.NUI /// The key to insert. /// The value to insert. /// Returns a reference to this object. + /// 3 public PropertyMap Add(int key, PropertyValue value) { PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Add__SWIG_2(swigCPtr, key, PropertyValue.getCPtr(value)), false); @@ -896,6 +936,7 @@ namespace Tizen.NUI /// /// The specified position. /// A reference to the value at the specified position. + /// 3 public PropertyValue GetValue(uint position) { PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_GetValue(swigCPtr, position), false); @@ -916,6 +957,7 @@ namespace Tizen.NUI /// /// The specified position. /// A copy of the key at the specified position. + /// 3 public PropertyKey GetKeyAt(uint position) { PropertyKey ret = new PropertyKey(NDalicPINVOKE.Property_Map_GetKeyAt(swigCPtr, position), true); @@ -937,6 +979,7 @@ namespace Tizen.NUI /// /// The key to find. /// The value if it exists, an empty object otherwise. + /// 3 public PropertyValue Find(int key) { global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_2(swigCPtr, key); @@ -951,6 +994,7 @@ namespace Tizen.NUI /// The index key to find. /// The string key to find. /// The value if it exists, an empty object otherwise. + /// 3 public PropertyValue Find(int indexKey, string stringKey) { global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_3(swigCPtr, indexKey, stringKey); @@ -980,6 +1024,7 @@ namespace Tizen.NUI /// /// Clears the map. /// + /// 3 public void Clear() { NDalicPINVOKE.Property_Map_Clear(swigCPtr); @@ -991,6 +1036,7 @@ namespace Tizen.NUI /// Any values in 'from' will overwrite the values in the current map.
/// /// The map to merge from. + /// 3 public void Merge(PropertyMap from) { NDalicPINVOKE.Property_Map_Merge(swigCPtr, PropertyMap.getCPtr(from)); @@ -1111,7 +1157,8 @@ namespace Tizen.NUI /// /// An object to create. /// The created value. - static public PropertyValue CreateFromObject(System.Object obj) + static /// 3 + public PropertyValue CreateFromObject(System.Object obj) { System.Type type = obj.GetType(); @@ -1197,6 +1244,7 @@ namespace Tizen.NUI /// Creates a Size2D property value. /// /// Size2D values. + /// 3 public PropertyValue(Size2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Size2D.getCPtr(vectorValue)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -1206,6 +1254,7 @@ namespace Tizen.NUI /// Creates a Position2D property value. /// /// Position2D values. + /// 3 public PropertyValue(Position2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Position2D.getCPtr(vectorValue)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -1224,6 +1273,7 @@ namespace Tizen.NUI /// Creates a Position property value. /// /// Position values. + /// 3 public PropertyValue(Position vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Position.getCPtr(vectorValue)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -1233,6 +1283,7 @@ namespace Tizen.NUI /// Creates a Color property value. /// /// Color values. + /// 3 public PropertyValue(Color vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Color.getCPtr(vectorValue)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -1243,6 +1294,7 @@ namespace Tizen.NUI /// Retrieves a Size2D value. /// /// On return, a Size2D value. + /// 3 public bool Get(Size2D vectorValue) { bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Size2D.getCPtr(vectorValue)); @@ -1254,6 +1306,7 @@ namespace Tizen.NUI /// Retrieves a Position2D value. /// /// On return, a Position2D value. + /// 3 public bool Get(Position2D vectorValue) { bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Position2D.getCPtr(vectorValue)); @@ -1276,6 +1329,7 @@ namespace Tizen.NUI /// Retrieves a Position value. /// /// On return, a position value. + /// 3 public bool Get(Position vectorValue) { bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Position.getCPtr(vectorValue)); @@ -1287,6 +1341,7 @@ namespace Tizen.NUI /// Retrieves a Color value. /// /// On return, a color value. + /// 3 public bool Get(Color vectorValue) { bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Color.getCPtr(vectorValue)); @@ -1299,6 +1354,7 @@ namespace Tizen.NUI /// /// The default constructor. /// + /// 3 public PropertyValue() : this(NDalicPINVOKE.new_Property_Value__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -1308,6 +1364,7 @@ namespace Tizen.NUI /// Creates a boolean property value. /// /// A boolean value. + /// 3 public PropertyValue(bool boolValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_1(boolValue), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -1317,6 +1374,7 @@ namespace Tizen.NUI /// Creates an integer property value. /// /// An integer value. + /// 3 public PropertyValue(int integerValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_2(integerValue), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -1326,6 +1384,7 @@ namespace Tizen.NUI /// Creates a float property value. /// /// A floating-point value. + /// 3 public PropertyValue(float floatValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_3(floatValue), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -1335,6 +1394,7 @@ namespace Tizen.NUI /// Creates a Vector2 property value. /// /// A vector of 2 floating-point values. + /// 3 public PropertyValue(Vector2 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Vector2.getCPtr(vectorValue)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -1344,6 +1404,7 @@ namespace Tizen.NUI /// Creates a Vector3 property value. /// /// A vector of 3 floating-point values. + /// 3 public PropertyValue(Vector3 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Vector3.getCPtr(vectorValue)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -1353,6 +1414,7 @@ namespace Tizen.NUI /// Creates a Vector4 property value. /// /// A vector of 4 floating-point values. + /// 3 public PropertyValue(Vector4 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Vector4.getCPtr(vectorValue)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -1372,6 +1434,7 @@ namespace Tizen.NUI /// Creates a Rectangle property value. /// /// Rectangle values. + /// 3 public PropertyValue(Rectangle vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_9(Rectangle.getCPtr(vectorValue)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -1386,6 +1449,7 @@ namespace Tizen.NUI /// Creates a Rotation property value. /// /// Rotation values. + /// 3 public PropertyValue(Rotation quaternion) : this(NDalicPINVOKE.new_Property_Value__SWIG_11(Rotation.getCPtr(quaternion)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -1395,6 +1459,7 @@ namespace Tizen.NUI /// Creates a string property value. /// /// A string. + /// 3 public PropertyValue(string stringValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_12(stringValue), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -1404,6 +1469,7 @@ namespace Tizen.NUI /// Creates an array property value. /// /// An array. + /// 3 public PropertyValue(PropertyArray arrayValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_14(PropertyArray.getCPtr(arrayValue)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -1413,6 +1479,7 @@ namespace Tizen.NUI /// Creates a map property value. /// /// An array. + /// 3 public PropertyValue(PropertyMap mapValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_15(PropertyMap.getCPtr(mapValue)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -1422,6 +1489,7 @@ namespace Tizen.NUI /// Creates a PropertyType value. /// /// A PropertyType value. + /// 3 public PropertyValue(PropertyType type) : this(NDalicPINVOKE.new_Property_Value__SWIG_16((int)type), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -1431,6 +1499,7 @@ namespace Tizen.NUI /// Creates a PropertyValue value. /// /// A PropertyValue value. + /// 3 public PropertyValue(PropertyValue value) : this(NDalicPINVOKE.new_Property_Value__SWIG_17(PropertyValue.getCPtr(value)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -1440,6 +1509,7 @@ namespace Tizen.NUI /// Queries the type of this property value. /// /// The type ID + /// 3 public new PropertyType GetType() { PropertyType ret = (PropertyType)NDalicPINVOKE.Property_Value_GetType(swigCPtr); @@ -1452,6 +1522,7 @@ namespace Tizen.NUI /// /// On return, a boolean value. /// Returns true if the value is successfully retrieved, false if the type is not convertible. + /// 3 public bool Get(out bool boolValue) { bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_1(swigCPtr, out boolValue); @@ -1464,6 +1535,7 @@ namespace Tizen.NUI /// /// On return, a floating-point value. /// Returns true if the value is successfully retrieved, false if the type is not convertible. + /// 3 public bool Get(out float floatValue) { bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_2(swigCPtr, out floatValue); @@ -1476,6 +1548,7 @@ namespace Tizen.NUI /// /// On return, an integer value. /// Returns true if the value is successfully retrieved, false if the type is not convertible. + /// 3 public bool Get(out int integerValue) { bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_3(swigCPtr, out integerValue); @@ -1488,6 +1561,7 @@ namespace Tizen.NUI /// /// On return, an integer rectangle. /// Returns true if the value is successfully retrieved, false if the type is not convertible. + /// 3 public bool Get(Rectangle rect) { bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_4(swigCPtr, Rectangle.getCPtr(rect)); @@ -1500,6 +1574,7 @@ namespace Tizen.NUI /// /// On return, a vector value. /// Returns true if the value is successfully retrieved, false if the type is not convertible. + /// 3 public bool Get(Vector2 vectorValue) { bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Vector2.getCPtr(vectorValue)); @@ -1512,6 +1587,7 @@ namespace Tizen.NUI /// /// On return, a vector value. /// Returns true if the value is successfully retrieved, false if the type is not convertible. + /// 3 public bool Get(Vector3 vectorValue) { bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Vector3.getCPtr(vectorValue)); @@ -1524,6 +1600,7 @@ namespace Tizen.NUI /// /// On return, a vector value. /// Returns true if the value is successfully retrieved, false if the type is not convertible. + /// 3 public bool Get(Vector4 vectorValue) { bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Vector4.getCPtr(vectorValue)); @@ -1557,6 +1634,7 @@ namespace Tizen.NUI /// /// On return, a rotation value. /// Returns true if the value is successfully retrieved, false if the type is not convertible. + /// 3 public bool Get(Rotation quaternionValue) { bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_11(swigCPtr, Rotation.getCPtr(quaternionValue)); @@ -1569,6 +1647,7 @@ namespace Tizen.NUI /// /// On return, a string. /// Returns true if the value is successfully retrieved, false if the type is not convertible. + /// 3 public bool Get(out string stringValue) { bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_12(swigCPtr, out stringValue); @@ -1581,6 +1660,7 @@ namespace Tizen.NUI /// /// On return, the array as a vector property values. /// Returns true if the value is successfully retrieved, false if the type is not convertible. + /// 3 public bool Get(PropertyArray arrayValue) { bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_13(swigCPtr, PropertyArray.getCPtr(arrayValue)); @@ -1593,6 +1673,7 @@ namespace Tizen.NUI /// /// On return, the map as vector of string and property value pairs. /// Returns true if the value is successfully retrieved, false if the type is not convertible. + /// 3 public bool Get(PropertyMap mapValue) { bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_14(swigCPtr, PropertyMap.getCPtr(mapValue)); @@ -1600,4 +1681,4 @@ namespace Tizen.NUI return ret; } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/PropertyBuffer.cs b/src/Tizen.NUI/src/public/PropertyBuffer.cs index bbbb2b8..e97d1d9 100755 --- a/src/Tizen.NUI/src/public/PropertyBuffer.cs +++ b/src/Tizen.NUI/src/public/PropertyBuffer.cs @@ -16,7 +16,10 @@ namespace Tizen.NUI { - + /// + /// PropertyBuffer is a handle to an object that contains a buffer of structured properties.
+ /// PropertyBuffers can be used to provide data to Geometry objects. + ///
public class PropertyBuffer : BaseHandle { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -63,7 +66,11 @@ namespace Tizen.NUI base.Dispose(type); } - + /// + /// Creates a PropertyBuffer. + /// + /// The map of names and types that describes the components of the buffer. + /// 3 public PropertyBuffer(PropertyMap bufferFormat) : this(NDalicPINVOKE.PropertyBuffer_New(PropertyMap.getCPtr(bufferFormat)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -76,6 +83,11 @@ namespace Tizen.NUI if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Gets the number of elements in the buffer. + /// + /// Number of elements to expand or contract the buffer. + /// 3 public uint GetSize() { uint ret = NDalicPINVOKE.PropertyBuffer_GetSize(swigCPtr); @@ -85,4 +97,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/PropertyCondition.cs b/src/Tizen.NUI/src/public/PropertyCondition.cs index 4fc3f66..f32b310 100755 --- a/src/Tizen.NUI/src/public/PropertyCondition.cs +++ b/src/Tizen.NUI/src/public/PropertyCondition.cs @@ -65,7 +65,10 @@ namespace Tizen.NUI base.Dispose(type); } - + /// + /// Create a property condition instance. + /// + /// 4 public PropertyCondition() : this(NDalicPINVOKE.new_PropertyCondition__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -74,6 +77,7 @@ namespace Tizen.NUI /// /// Retrieves the arguments that this condition uses. /// + /// 4 public uint GetArgumentCount() { uint ret = NDalicPINVOKE.PropertyCondition_GetArgumentCount(swigCPtr); @@ -83,6 +87,7 @@ namespace Tizen.NUI /// /// Retrieves the arguments that this condition uses /// + /// 4 public float GetArgument(uint index) { float ret = NDalicPINVOKE.PropertyCondition_GetArgument(swigCPtr, index); @@ -93,6 +98,7 @@ namespace Tizen.NUI /// /// LessThan condition compares whether property is less than arg. /// + /// 4 public static PropertyCondition LessThan(float arg) { PropertyCondition ret = new PropertyCondition(NDalicPINVOKE.LessThanCondition(arg), true); @@ -103,6 +109,7 @@ namespace Tizen.NUI /// /// GreaterThan condition compares whether property is greater than arg. /// + /// 4 public static PropertyCondition GreaterThan(float arg) { PropertyCondition ret = new PropertyCondition(NDalicPINVOKE.GreaterThanCondition(arg), true); @@ -113,6 +120,7 @@ namespace Tizen.NUI /// /// Inside condition compares whether property is greater than arg0 and less than arg1. /// + /// 4 public static PropertyCondition Inside(float arg0, float arg1) { PropertyCondition ret = new PropertyCondition(NDalicPINVOKE.InsideCondition(arg0, arg1), true); @@ -123,6 +131,7 @@ namespace Tizen.NUI /// /// Outside condition compares whether property is less than arg0 or greater than arg1 /// + /// 4 public static PropertyCondition Outside(float arg0, float arg1) { PropertyCondition ret = new PropertyCondition(NDalicPINVOKE.OutsideCondition(arg0, arg1), true); @@ -133,6 +142,7 @@ namespace Tizen.NUI /// /// Detects when a property changes by stepAmount from initialValue, in both positive and negative directions. This will continue checking for multiples of stepAmount. /// + /// 4 public static PropertyCondition Step(float stepAmount, float initialValue) { PropertyCondition ret = new PropertyCondition(NDalicPINVOKE.StepCondition__SWIG_0(stepAmount, initialValue), true); @@ -143,6 +153,7 @@ namespace Tizen.NUI /// /// Receives notifications as a property goes above/below the inputted values. Values must be ordered and can be either ascending or descending. /// + /// 4 public static PropertyCondition Step(float stepAmount) { PropertyCondition ret = new PropertyCondition(NDalicPINVOKE.StepCondition__SWIG_1(stepAmount), true); @@ -152,4 +163,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/PropertyNotification.cs b/src/Tizen.NUI/src/public/PropertyNotification.cs index 3b0fc65..1775866 100755 --- a/src/Tizen.NUI/src/public/PropertyNotification.cs +++ b/src/Tizen.NUI/src/public/PropertyNotification.cs @@ -70,18 +70,17 @@ namespace Tizen.NUI base.Dispose(type); } - /** - * @brief Event arguments that passed via Notify signal - * - */ + /// + /// Event arguments that passed via Notify signal + /// public class NotifyEventArgs : EventArgs { private PropertyNotification _propertyNotification; - /** - * @brief PropertyNotification - is the PropertyNotification handle that has the notification properties. - * - */ + /// + /// PropertyNotification - is the PropertyNotification handle that has the notification properties. + /// + /// 4 public PropertyNotification PropertyNotification { get @@ -100,11 +99,12 @@ namespace Tizen.NUI private DaliEventHandler _propertyNotificationNotifyEventHandler; private NotifyEventCallbackDelegate _propertyNotificationNotifyEventCallbackDelegate; - /** - * @brief Event for Notified signal which can be used to subscribe/unsubscribe the event handler - * (in the type of NotifyEventHandler-DaliEventHandler) provided by the user. - * Notified signal is emitted when the notification upon a condition of the property being met, has occurred. - */ + /// + /// Event for Notified signal which can be used to subscribe/unsubscribe the event handler + /// (in the type of NotifyEventHandler-DaliEventHandler) provided by the user. + /// Notified signal is emitted when the notification upon a condition of the property being met, has occurred. + /// + /// 4 public event DaliEventHandler Notified { add @@ -149,6 +149,10 @@ namespace Tizen.NUI } } + /// + /// Get property notification from Intptr. + /// + /// 4 public static PropertyNotification GetPropertyNotificationFromPtr(global::System.IntPtr cPtr) { PropertyNotification ret = new PropertyNotification(cPtr, false); @@ -156,12 +160,19 @@ namespace Tizen.NUI return ret; } - + /// + /// Create a instance of PropertyNotification. + /// + /// 4 public PropertyNotification() : this(NDalicPINVOKE.new_PropertyNotification__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Downcast a PropertyNotification instance. + /// + /// 4 public static PropertyNotification DownCast(BaseHandle handle) { PropertyNotification ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as PropertyNotification; @@ -169,11 +180,19 @@ namespace Tizen.NUI return ret; } + /// + /// Create a instance of PropertyNotification. + /// + /// 4 public PropertyNotification(PropertyNotification handle) : this(NDalicPINVOKE.new_PropertyNotification__SWIG_1(PropertyNotification.getCPtr(handle)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Assign. + /// + /// 4 public PropertyNotification Assign(PropertyNotification rhs) { PropertyNotification ret = new PropertyNotification(NDalicPINVOKE.PropertyNotification_Assign(swigCPtr, PropertyNotification.getCPtr(rhs)), false); @@ -181,6 +200,10 @@ namespace Tizen.NUI return ret; } + /// + /// Gets the condition of this notification. + /// + /// 4 public PropertyCondition GetCondition() { PropertyCondition ret = new PropertyCondition(NDalicPINVOKE.PropertyNotification_GetCondition__SWIG_0(swigCPtr), true); @@ -188,6 +211,10 @@ namespace Tizen.NUI return ret; } + /// + /// Gets the target handle that this notification is observing. + /// + /// 4 public Animatable GetTarget() { Animatable ret = new Animatable(NDalicPINVOKE.PropertyNotification_GetTarget(swigCPtr), true); @@ -195,6 +222,10 @@ namespace Tizen.NUI return ret; } + /// + /// Gets the target handle's property index that this notification. + /// + /// 4 public int GetTargetProperty() { int ret = NDalicPINVOKE.PropertyNotification_GetTargetProperty(swigCPtr); @@ -202,12 +233,20 @@ namespace Tizen.NUI return ret; } + /// + /// Sets the Notification mode. + /// + /// 4 public void SetNotifyMode(PropertyNotification.NotifyMode mode) { NDalicPINVOKE.PropertyNotification_SetNotifyMode(swigCPtr, (int)mode); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Retrieves the current Notification mode. + /// + /// 4 public PropertyNotification.NotifyMode GetNotifyMode() { PropertyNotification.NotifyMode ret = (PropertyNotification.NotifyMode)NDalicPINVOKE.PropertyNotification_GetNotifyMode(swigCPtr); @@ -215,6 +254,11 @@ namespace Tizen.NUI return ret; } + /// + /// Gets the result of the last condition check that caused a signal emit, + /// useful when using NotifyOnChanged mode and need to know what it changed to. + /// + /// 4 public bool GetNotifyResult() { bool ret = NDalicPINVOKE.PropertyNotification_GetNotifyResult(swigCPtr); @@ -229,6 +273,10 @@ namespace Tizen.NUI return ret; } + /// + /// Enumeration for description of how to check condition. + /// + /// 4 public enum NotifyMode { Disabled, @@ -239,4 +287,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/PropertyNotifySignal.cs b/src/Tizen.NUI/src/public/PropertyNotifySignal.cs index cfef507..f5fcbbb 100755 --- a/src/Tizen.NUI/src/public/PropertyNotifySignal.cs +++ b/src/Tizen.NUI/src/public/PropertyNotifySignal.cs @@ -148,4 +148,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Radian.cs b/src/Tizen.NUI/src/public/Radian.cs index 439a5e9..47b6548 100755 --- a/src/Tizen.NUI/src/public/Radian.cs +++ b/src/Tizen.NUI/src/public/Radian.cs @@ -103,6 +103,7 @@ namespace Tizen.NUI /// /// The default constructor, initializes to 0. /// + /// 3 public Radian() : this(NDalicPINVOKE.new_Radian__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -112,6 +113,7 @@ namespace Tizen.NUI /// Creates an angle in radians. /// /// The initial value in radians. + /// 3 public Radian(float value) : this(NDalicPINVOKE.new_Radian__SWIG_1(value), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -121,6 +123,7 @@ namespace Tizen.NUI /// Creates an angle in radians from an angle in degrees. /// /// The initial value in degrees. + /// 3 public Radian(Degree degree) : this(NDalicPINVOKE.new_Radian__SWIG_2(Degree.getCPtr(degree)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -130,6 +133,7 @@ namespace Tizen.NUI /// Conversion to float. /// /// The float value of this radian. + /// 3 public float ConvertToFloat() { float ret = NDalicPINVOKE.Radian_ConvertToFloat(swigCPtr); @@ -140,6 +144,7 @@ namespace Tizen.NUI /// /// The value in radians. /// + /// 3 public float Value { set @@ -157,4 +162,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Rectangle.cs b/src/Tizen.NUI/src/public/Rectangle.cs index e408d55..f58b9f4 100755 --- a/src/Tizen.NUI/src/public/Rectangle.cs +++ b/src/Tizen.NUI/src/public/Rectangle.cs @@ -105,6 +105,7 @@ namespace Tizen.NUI /// The first operand. /// The second operand. /// True if the boxes are exactly the same. + /// 3 public static bool operator ==(Rectangle a, Rectangle b) { // If both are null, or both are same instance, return true. @@ -128,6 +129,7 @@ namespace Tizen.NUI /// /// The object to compare with the current object. /// True if boxes are exactly same. + /// 4 public override bool Equals(object o) { if(o == null) @@ -148,6 +150,7 @@ namespace Tizen.NUI /// Serves as the default hash function. /// /// A hash code for the current object. + /// 4 public override int GetHashCode() { return base.GetHashCode(); @@ -159,6 +162,7 @@ namespace Tizen.NUI /// The first rectangle. /// The second rectangle. /// True if the rectangles are not identical. + /// 3 public static bool operator !=(Rectangle a, Rectangle b) { return !(a == b); @@ -167,6 +171,7 @@ namespace Tizen.NUI /// /// The x position of the rectangle. /// + /// 3 public int X { set @@ -182,6 +187,7 @@ namespace Tizen.NUI /// /// The Y position of the rectangle. /// + /// 3 public int Y { set @@ -197,6 +203,7 @@ namespace Tizen.NUI /// /// The width of the rectangle. /// + /// 3 public int Width { set @@ -212,6 +219,7 @@ namespace Tizen.NUI /// /// The height of the rectangle. /// + /// 3 public int Height { set @@ -227,6 +235,7 @@ namespace Tizen.NUI /// /// The constructor. /// + /// 3 public Rectangle() : this(NDalicPINVOKE.new_Rectangle__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -239,6 +248,7 @@ namespace Tizen.NUI /// The y coordinate (or right). /// The width (or bottom). /// The height (or top). + /// 3 public Rectangle(int x, int y, int width, int height) : this(NDalicPINVOKE.new_Rectangle__SWIG_1(x, y, width, height), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -251,6 +261,7 @@ namespace Tizen.NUI /// The y coordinate. /// The width. /// The height./param> + /// 3 public void Set(int newX, int newY, int newWidth, int newHeight) { NDalicPINVOKE.Rectangle_Set(swigCPtr, newX, newY, newWidth, newHeight); @@ -261,6 +272,7 @@ namespace Tizen.NUI /// Determines whether or not this rectangle is empty. /// /// True if width or height are zero. + /// 3 public bool IsEmpty() { bool ret = NDalicPINVOKE.Rectangle_IsEmpty(swigCPtr); @@ -272,6 +284,7 @@ namespace Tizen.NUI /// Gets the left of the rectangle. /// /// The left edge of the rectangle. + /// 3 public int Left() { int ret = NDalicPINVOKE.Rectangle_Left(swigCPtr); @@ -283,6 +296,7 @@ namespace Tizen.NUI /// Gets the right of the rectangle. /// /// The right edge of the rectangle. + /// 3 public int Right() { int ret = NDalicPINVOKE.Rectangle_Right(swigCPtr); @@ -294,6 +308,7 @@ namespace Tizen.NUI /// Gets the top of the rectangle. /// /// The top of the rectangle. + /// 3 public int Top() { int ret = NDalicPINVOKE.Rectangle_Top(swigCPtr); @@ -305,6 +320,7 @@ namespace Tizen.NUI /// Gets the bottom of the rectangle. /// /// The bottom of the rectangle. + /// 3 public int Bottom() { int ret = NDalicPINVOKE.Rectangle_Bottom(swigCPtr); @@ -316,6 +332,7 @@ namespace Tizen.NUI /// Gets the area of the rectangle. /// /// The area of the rectangle. + /// 3 public int Area() { int ret = NDalicPINVOKE.Rectangle_Area(swigCPtr); @@ -328,6 +345,7 @@ namespace Tizen.NUI /// /// The other rectangle to test against this rectangle. /// True if the rectangles intersect. + /// 3 public bool Intersects(Rectangle other) { bool ret = NDalicPINVOKE.Rectangle_Intersects(swigCPtr, Rectangle.getCPtr(other)); @@ -340,6 +358,7 @@ namespace Tizen.NUI /// /// The other rectangle to test against this rectangle. /// True if the specified rectangle is contained. + /// 3 public bool Contains(Rectangle other) { bool ret = NDalicPINVOKE.Rectangle_Contains(swigCPtr, Rectangle.getCPtr(other)); @@ -469,4 +488,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/RelativeVector2.cs b/src/Tizen.NUI/src/public/RelativeVector2.cs index 7719403..fbe1af3 100755 --- a/src/Tizen.NUI/src/public/RelativeVector2.cs +++ b/src/Tizen.NUI/src/public/RelativeVector2.cs @@ -109,6 +109,7 @@ namespace Tizen.NUI /// The vector to add. /// The vector to add. /// The vector containing the result of the addition. + /// 3 public static RelativeVector2 operator +(RelativeVector2 arg1, RelativeVector2 arg2) { RelativeVector2 result = arg1.Add(arg2); @@ -122,6 +123,7 @@ namespace Tizen.NUI /// The vector to subtract. /// The vector to subtract. /// The vector containing the result of the subtraction. + /// 3 public static RelativeVector2 operator -(RelativeVector2 arg1, RelativeVector2 arg2) { RelativeVector2 result = arg1.Subtract(arg2); @@ -135,6 +137,7 @@ namespace Tizen.NUI /// The vector to multiply. /// The vector to multiply. /// The vector containing the result of the multiplication. + /// 3 public static RelativeVector2 operator *(RelativeVector2 arg1, RelativeVector2 arg2) { RelativeVector2 result = arg1.Multiply(arg2); @@ -148,6 +151,7 @@ namespace Tizen.NUI /// The vector to multiply. /// The float value to scale the vector. /// The vector containing the result of the scaling. + /// 3 public static RelativeVector2 operator *(RelativeVector2 arg1, float arg2) { RelativeVector2 result = arg1.Multiply(arg2); @@ -161,6 +165,7 @@ namespace Tizen.NUI /// The vector to divide. /// The vector to divide. /// The vector containing the result of the division. + /// 3 public static RelativeVector2 operator /(RelativeVector2 arg1, RelativeVector2 arg2) { RelativeVector2 result = arg1.Divide(arg2); @@ -174,6 +179,7 @@ namespace Tizen.NUI /// The vector to divide. /// The float value to scale the vector by. /// The vector containing the result of the scaling. + /// 3 public static RelativeVector2 operator /(RelativeVector2 arg1, float arg2) { RelativeVector2 result = arg1.Divide(arg2); @@ -187,6 +193,7 @@ namespace Tizen.NUI /// /// The subscript index. /// The float at the given index. + /// 3 public float this[uint index] { get @@ -208,6 +215,7 @@ namespace Tizen.NUI /// /// The constructor. /// + /// 3 public RelativeVector2() : this(NDalicPINVOKE.new_Vector2__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -218,6 +226,7 @@ namespace Tizen.NUI /// /// The x component. /// The y component. + /// 3 public RelativeVector2(float x, float y) : this(NDalicPINVOKE.new_Vector2__SWIG_1(x, y), true) { ValueCheck(x); @@ -229,6 +238,7 @@ namespace Tizen.NUI /// The constructor. /// /// The RelativeVector3 to create this vector from. + /// 3 public RelativeVector2(RelativeVector3 relativeVector3) : this(NDalicPINVOKE.new_Vector2__SWIG_3(RelativeVector3.getCPtr(relativeVector3)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -238,6 +248,7 @@ namespace Tizen.NUI /// The constructor. /// /// The RelativeVector4 to create this vector from. + /// 3 public RelativeVector2(RelativeVector4 relativeVector4) : this(NDalicPINVOKE.new_Vector2__SWIG_4(RelativeVector4.getCPtr(relativeVector4)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -298,6 +309,7 @@ namespace Tizen.NUI /// /// The vector to compare. /// Returns true if the two vectors are equal, otherwise false. + /// 3 public bool EqualTo(RelativeVector2 rhs) { bool ret = NDalicPINVOKE.Vector2_EqualTo(swigCPtr, RelativeVector2.getCPtr(rhs)); @@ -310,6 +322,7 @@ namespace Tizen.NUI /// /// The vector to compare. /// Returns true if the two vectors are not equal, otherwise false. + /// 3 public bool NotEqualTo(RelativeVector2 rhs) { bool ret = NDalicPINVOKE.Vector2_NotEqualTo(swigCPtr, RelativeVector2.getCPtr(rhs)); @@ -321,6 +334,7 @@ namespace Tizen.NUI /// /// The x component. /// + /// 3 public float X { set @@ -340,6 +354,7 @@ namespace Tizen.NUI /// /// The y component. /// + /// 3 public float Y { set @@ -358,6 +373,7 @@ namespace Tizen.NUI /// /// + /// 3 public static implicit operator Vector2(RelativeVector2 relativeVector2) { return new Vector2(relativeVector2.X, relativeVector2.Y); @@ -365,6 +381,7 @@ namespace Tizen.NUI /// /// + /// 3 public static implicit operator RelativeVector2(Vector2 vec) { ValueCheck(vec.X); @@ -413,4 +430,3 @@ namespace Tizen.NUI } - diff --git a/src/Tizen.NUI/src/public/RelativeVector3.cs b/src/Tizen.NUI/src/public/RelativeVector3.cs index 46d7e8f..1d249d1 100755 --- a/src/Tizen.NUI/src/public/RelativeVector3.cs +++ b/src/Tizen.NUI/src/public/RelativeVector3.cs @@ -109,6 +109,7 @@ namespace Tizen.NUI /// The vector to add. /// Th vector to add. /// The vector containing the result of the addition. + /// 3 public static RelativeVector3 operator +(RelativeVector3 arg1, RelativeVector3 arg2) { RelativeVector3 result = arg1.Add(arg2); @@ -122,6 +123,7 @@ namespace Tizen.NUI /// The vector to subtract. /// The vector to subtract. /// The vector containing the result of the subtraction. + /// 3 public static RelativeVector3 operator -(RelativeVector3 arg1, RelativeVector3 arg2) { RelativeVector3 result = arg1.Subtract(arg2); @@ -135,6 +137,7 @@ namespace Tizen.NUI /// The vector to multiply. /// The vector to multiply. /// The vector containing the result of the multiplication. + /// 3 public static RelativeVector3 operator *(RelativeVector3 arg1, RelativeVector3 arg2) { RelativeVector3 result = arg1.Multiply(arg2); @@ -148,6 +151,7 @@ namespace Tizen.NUI /// The vector to multiply. /// The float value to scale the vector. /// The vector containing the result of the scaling. + /// 3 public static RelativeVector3 operator *(RelativeVector3 arg1, float arg2) { RelativeVector3 result = arg1.Multiply(arg2); @@ -161,6 +165,7 @@ namespace Tizen.NUI /// The vector to divide. /// The vector to divide. /// The vector containing the result of the division. + /// 3 public static RelativeVector3 operator /(RelativeVector3 arg1, RelativeVector3 arg2) { RelativeVector3 result = arg1.Divide(arg2); @@ -174,6 +179,7 @@ namespace Tizen.NUI /// The vector to divide. /// The float value to scale the vector by. /// The vector containing the result of the scaling. + /// 3 public static RelativeVector3 operator /(RelativeVector3 arg1, float arg2) { RelativeVector3 result = arg1.Divide(arg2); @@ -187,6 +193,7 @@ namespace Tizen.NUI /// /// The subscript index. /// The float at the given index. + /// 3 public float this[uint index] { get @@ -208,6 +215,7 @@ namespace Tizen.NUI /// /// The constructor. /// + /// 3 public RelativeVector3() : this(NDalicPINVOKE.new_Vector3__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -219,6 +227,7 @@ namespace Tizen.NUI /// The x component. /// The y component. /// The z component. + /// 3 public RelativeVector3(float x, float y, float z) : this(NDalicPINVOKE.new_Vector3__SWIG_1(x, y, z), true) { ValueCheck(x); @@ -231,6 +240,7 @@ namespace Tizen.NUI /// The constructor. /// /// The RelativeVector2 to create this vector from. + /// 3 public RelativeVector3(RelativeVector2 relativeVector2) : this(NDalicPINVOKE.new_Vector3__SWIG_3(RelativeVector2.getCPtr(relativeVector2)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -240,6 +250,7 @@ namespace Tizen.NUI /// The constructor. /// /// The RelativeVector4 to create this vector from. + /// 3 public RelativeVector3(RelativeVector4 relativeVector4) : this(NDalicPINVOKE.new_Vector3__SWIG_4(RelativeVector4.getCPtr(relativeVector4)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -300,6 +311,7 @@ namespace Tizen.NUI /// /// The vector to compare. /// Returns true if the two vectors are equal, otherwise false. + /// 3 public bool EqualTo(RelativeVector3 rhs) { bool ret = NDalicPINVOKE.Vector3_EqualTo(swigCPtr, RelativeVector3.getCPtr(rhs)); @@ -312,6 +324,7 @@ namespace Tizen.NUI /// /// The vector to compare. /// Returns true if the two vectors are not equal, otherwise false. + /// 3 public bool NotEqualTo(RelativeVector3 rhs) { bool ret = NDalicPINVOKE.Vector3_NotEqualTo(swigCPtr, RelativeVector3.getCPtr(rhs)); @@ -323,6 +336,7 @@ namespace Tizen.NUI /// /// The x component. /// + /// 3 public float X { set @@ -342,6 +356,7 @@ namespace Tizen.NUI /// /// The y component. /// + /// 3 public float Y { set @@ -361,6 +376,7 @@ namespace Tizen.NUI /// /// The z component. /// + /// 3 public float Z { set @@ -379,6 +395,7 @@ namespace Tizen.NUI /// /// + /// 3 public static implicit operator Vector3(RelativeVector3 relativeVector3) { return new Vector3(relativeVector3.X, relativeVector3.Y, relativeVector3.Z); @@ -386,6 +403,7 @@ namespace Tizen.NUI /// /// + /// 3 public static implicit operator RelativeVector3(Vector3 vec) { ValueCheck(vec.X); @@ -445,4 +463,3 @@ namespace Tizen.NUI } - diff --git a/src/Tizen.NUI/src/public/RelativeVector4.cs b/src/Tizen.NUI/src/public/RelativeVector4.cs index ee226cb..c82be71 100755 --- a/src/Tizen.NUI/src/public/RelativeVector4.cs +++ b/src/Tizen.NUI/src/public/RelativeVector4.cs @@ -109,6 +109,7 @@ namespace Tizen.NUI /// The vector to add. /// The vector to add. /// The vector containing the result of the addition. + /// 3 public static RelativeVector4 operator +(RelativeVector4 arg1, RelativeVector4 arg2) { RelativeVector4 result = arg1.Add(arg2); @@ -122,6 +123,7 @@ namespace Tizen.NUI /// The vector to subtract. /// The vector to subtract. /// The vector containing the result of the subtraction. + /// 3 public static RelativeVector4 operator -(RelativeVector4 arg1, RelativeVector4 arg2) { RelativeVector4 result = arg1.Subtract(arg2); @@ -135,6 +137,7 @@ namespace Tizen.NUI /// The vector to multiply. /// The vector to multiply. /// The vector containing the result of the multiplication. + /// 3 public static RelativeVector4 operator *(RelativeVector4 arg1, RelativeVector4 arg2) { RelativeVector4 result = arg1.Multiply(arg2); @@ -148,6 +151,7 @@ namespace Tizen.NUI /// The vector to multiply. /// The float value to scale the vector. /// The vector containing the result of the scaling. + /// 3 public static RelativeVector4 operator *(RelativeVector4 arg1, float arg2) { RelativeVector4 result = arg1.Multiply(arg2); @@ -161,6 +165,7 @@ namespace Tizen.NUI /// The vector to divide. /// The vector to divide. /// The vector containing the result of the division. + /// 3 public static RelativeVector4 operator /(RelativeVector4 arg1, RelativeVector4 arg2) { RelativeVector4 result = arg1.Divide(arg2); @@ -174,6 +179,7 @@ namespace Tizen.NUI /// The vector to divide. /// The float value to scale the vector by. /// The vector containing the result of the scaling. + /// 3 public static RelativeVector4 operator /(RelativeVector4 arg1, float arg2) { RelativeVector4 result = arg1.Divide(arg2); @@ -187,6 +193,7 @@ namespace Tizen.NUI /// /// The subscript index. /// The float at the given index. + /// 3 public float this[uint index] { get @@ -208,6 +215,7 @@ namespace Tizen.NUI /// /// The constructor. /// + /// 3 public RelativeVector4() : this(NDalicPINVOKE.new_Vector4__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -220,6 +228,7 @@ namespace Tizen.NUI /// The y component. /// The z component. /// The w component. + /// 3 public RelativeVector4(float x, float y, float z, float w) : this(NDalicPINVOKE.new_Vector4__SWIG_1(x, y, z, w), true) { ValueCheck(x); @@ -233,6 +242,7 @@ namespace Tizen.NUI /// The constructor. /// /// The RelativeVector2 to create this vector from. + /// 3 public RelativeVector4(RelativeVector2 relativeVector2) : this(NDalicPINVOKE.new_Vector4__SWIG_3(RelativeVector2.getCPtr(relativeVector2)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -242,6 +252,7 @@ namespace Tizen.NUI /// The constructor. /// /// The RelativeVector3 to create this vector from. + /// 3 public RelativeVector4(RelativeVector3 relativeVector3) : this(NDalicPINVOKE.new_Vector4__SWIG_4(RelativeVector3.getCPtr(relativeVector3)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -301,6 +312,7 @@ namespace Tizen.NUI /// /// The vector to compare. /// Returns true if the two vectors are equal, otherwise false. + /// 3 public bool EqualTo(RelativeVector4 rhs) { bool ret = NDalicPINVOKE.Vector4_EqualTo(swigCPtr, RelativeVector4.getCPtr(rhs)); @@ -313,6 +325,7 @@ namespace Tizen.NUI /// /// The vector to compare. /// Returns true if the two vectors are not equal, otherwise false. + /// 3 public bool NotEqualTo(RelativeVector4 rhs) { bool ret = NDalicPINVOKE.Vector4_NotEqualTo(swigCPtr, RelativeVector4.getCPtr(rhs)); @@ -324,6 +337,7 @@ namespace Tizen.NUI /// /// The x component. /// + /// 3 public float X { set @@ -343,6 +357,7 @@ namespace Tizen.NUI /// /// The y component. /// + /// 3 public float Y { set @@ -362,6 +377,7 @@ namespace Tizen.NUI /// /// The z component. /// + /// 3 public float Z { set @@ -381,6 +397,7 @@ namespace Tizen.NUI /// /// The w component. /// + /// 3 public float W { set @@ -399,6 +416,7 @@ namespace Tizen.NUI /// /// + /// 3 public static implicit operator Vector4(RelativeVector4 relativeVector4) { return new Vector4(relativeVector4.X, relativeVector4.Y, relativeVector4.Z, relativeVector4.W); @@ -406,6 +424,7 @@ namespace Tizen.NUI /// /// + /// 3 public static implicit operator RelativeVector4(Vector4 vec) { ValueCheck(vec.X); @@ -477,4 +496,3 @@ namespace Tizen.NUI } - diff --git a/src/Tizen.NUI/src/public/RelayoutContainer.cs b/src/Tizen.NUI/src/public/RelayoutContainer.cs index 73bc081..8f6ad2b 100755 --- a/src/Tizen.NUI/src/public/RelayoutContainer.cs +++ b/src/Tizen.NUI/src/public/RelayoutContainer.cs @@ -56,6 +56,7 @@ namespace Tizen.NUI /// /// To make the RelayoutContainer instance be disposed. /// + /// 3 public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -110,6 +111,7 @@ namespace Tizen.NUI /// /// The view to relayout. /// The size to relayout. + /// 3 public virtual void Add(View view, Size2D size) { NDalicPINVOKE.RelayoutContainer_Add(swigCPtr, View.getCPtr(view), Size2D.getCPtr(size)); @@ -118,4 +120,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Renderer.cs b/src/Tizen.NUI/src/public/Renderer.cs index 6ff2db2..d115f41 100755 --- a/src/Tizen.NUI/src/public/Renderer.cs +++ b/src/Tizen.NUI/src/public/Renderer.cs @@ -16,7 +16,9 @@ namespace Tizen.NUI { - + /// + /// Renderer is a handle to an object used to show content by combining a Geometry, a TextureSet and a shader. + /// public class Renderer : Animatable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -93,18 +95,32 @@ namespace Tizen.NUI } + /// + /// Create an instance of Renderer. + /// + /// 3 public Renderer(Geometry geometry, Shader shader) : this(NDalicPINVOKE.Renderer_New(Geometry.getCPtr(geometry), Shader.getCPtr(shader)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Sets the geometry to be used by this renderer. + /// + /// The geometry to be used by this renderer. + /// 3 public void SetGeometry(Geometry geometry) { NDalicPINVOKE.Renderer_SetGeometry(swigCPtr, Geometry.getCPtr(geometry)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Gets the geometry used by this renderer. + /// + /// The geometry used by the renderer. + /// 3 public Geometry GetGeometry() { System.IntPtr cPtr = NDalicPINVOKE.Renderer_GetGeometry(swigCPtr); @@ -114,18 +130,34 @@ namespace Tizen.NUI return ret; } + /// + /// Sets effective range of indices to draw from bound index buffer. + /// + /// The First element to draw. + /// The number of elements to draw. + /// 3 public void SetIndexRange(int firstElement, int elementsCount) { NDalicPINVOKE.Renderer_SetIndexRange(swigCPtr, firstElement, elementsCount); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Sets the texture set to be used by this renderer. + /// + /// The texture set to be used by this renderer. + /// 3 public void SetTextures(TextureSet textureSet) { NDalicPINVOKE.Renderer_SetTextures(swigCPtr, TextureSet.getCPtr(textureSet)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Gets the texture set used by this renderer. + /// + /// The texture set used by the renderer. + /// 3 public TextureSet GetTextures() { System.IntPtr cPtr = NDalicPINVOKE.Renderer_GetTextures(swigCPtr); @@ -135,12 +167,22 @@ namespace Tizen.NUI return ret; } + /// + /// Sets the shader used by this renderer. + /// + /// The shader to be used by this renderer. + /// 3 public void SetShader(Shader shader) { NDalicPINVOKE.Renderer_SetShader(swigCPtr, Shader.getCPtr(shader)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Gets the shader used by this renderer. + /// + /// The shader used by the renderer. + /// 3 public Shader GetShader() { System.IntPtr cPtr = NDalicPINVOKE.Renderer_GetShader(swigCPtr); @@ -150,6 +192,10 @@ namespace Tizen.NUI return ret; } + /// + /// Gets and Sets DepthIndex property. + /// + /// 3 public int DepthIndex { get @@ -163,6 +209,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DEPTH_INDEX, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets FaceCullingMode. + /// + /// 3 public int FaceCullingMode { get @@ -176,6 +227,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.FACE_CULLING_MODE, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets BlendMode. + /// + /// 3 public int BlendMode { get @@ -189,6 +245,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_MODE, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets BlendEquationRgb. + /// + /// 3 public int BlendEquationRgb { get @@ -202,6 +263,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_EQUATION_RGB, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets BlendEquationAlpha. + /// + /// 3 public int BlendEquationAlpha { get @@ -215,6 +281,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_EQUATION_ALPHA, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets BlendFactorSrcRgb. + /// + /// 3 public int BlendFactorSrcRgb { get @@ -228,6 +299,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_FACTOR_SRC_RGB, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets BlendFactorDestRgb. + /// + /// 3 public int BlendFactorDestRgb { get @@ -241,6 +317,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_FACTOR_DEST_RGB, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets BlendFactorSrcAlpha. + /// + /// 3 public int BlendFactorSrcAlpha { get @@ -254,6 +335,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_FACTOR_SRC_ALPHA, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets BlendFactorDestAlpha. + /// + /// 3 public int BlendFactorDestAlpha { get @@ -267,6 +353,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_FACTOR_DEST_ALPHA, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets BlendColor. + /// + /// 3 public Vector4 BlendColor { get @@ -280,6 +371,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_COLOR, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets BlendPreMultipliedAlpha. + /// + /// 3 public bool BlendPreMultipliedAlpha { get @@ -293,6 +389,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_PRE_MULTIPLIED_ALPHA, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets IndexRangeFirst. + /// + /// 3 public int IndexRangeFirst { get @@ -306,6 +407,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.INDEX_RANGE_FIRST, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets IndexRangeCount. + /// + /// 3 public int IndexRangeCount { get @@ -319,6 +425,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.INDEX_RANGE_COUNT, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets DepthWriteMode. + /// + /// 3 public int DepthWriteMode { get @@ -332,6 +443,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DEPTH_WRITE_MODE, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets DepthFunction. + /// + /// 3 public int DepthFunction { get @@ -345,6 +461,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DEPTH_FUNCTION, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets DepthTestMode. + /// + /// 3 public int DepthTestMode { get @@ -358,6 +479,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DEPTH_TEST_MODE, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets RenderMode. + /// + /// 3 public int RenderMode { get @@ -371,6 +497,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.RENDER_MODE, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets StencilFunction. + /// + /// 3 public int StencilFunction { get @@ -384,6 +515,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_FUNCTION, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets StencilFunctionMask. + /// + /// 3 public int StencilFunctionMask { get @@ -397,6 +533,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_FUNCTION_MASK, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets StencilFunctionReference. + /// + /// 3 public int StencilFunctionReference { get @@ -410,6 +551,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_FUNCTION_REFERENCE, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets StencilMask. + /// + /// 3 public int StencilMask { get @@ -423,6 +569,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_MASK, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets StencilOperationOnFail. + /// + /// 3 public int StencilOperationOnFail { get @@ -436,6 +587,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_OPERATION_ON_FAIL, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets StencilOperationOnZFail. + /// + /// 3 public int StencilOperationOnZFail { get @@ -449,6 +605,11 @@ namespace Tizen.NUI Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_OPERATION_ON_Z_FAIL, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets StencilOperationOnZPass property. + /// + /// 3 public int StencilOperationOnZPass { get @@ -465,4 +626,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Rotation.cs b/src/Tizen.NUI/src/public/Rotation.cs index 0de9829..63ffb9d 100755 --- a/src/Tizen.NUI/src/public/Rotation.cs +++ b/src/Tizen.NUI/src/public/Rotation.cs @@ -53,6 +53,7 @@ namespace Tizen.NUI /// /// To make the Rotation instance be disposed. /// + /// 3 public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -108,6 +109,7 @@ namespace Tizen.NUI /// The first rotation. /// The second rotation. /// The rotation containing the result of the addition. + /// 3 public static Rotation operator +(Rotation arg1, Rotation arg2) { return arg1.Add(arg2); @@ -119,6 +121,7 @@ namespace Tizen.NUI /// The first rotation. /// The second rotation. /// The rotation containing the result of the subtraction. + /// 3 public static Rotation operator -(Rotation arg1, Rotation arg2) { return arg1.Subtract(arg2); @@ -129,6 +132,7 @@ namespace Tizen.NUI /// /// The first rotation. /// The rotation containing the negated result. + /// 3 public static Rotation operator -(Rotation arg1) { return arg1.Subtract(); @@ -140,6 +144,7 @@ namespace Tizen.NUI /// The first rotation. /// The second rotation. /// The rotation containing the result of the multiplication. + /// 3 public static Rotation operator *(Rotation arg1, Rotation arg2) { return arg1.Multiply(arg2); @@ -151,6 +156,7 @@ namespace Tizen.NUI /// Rotation. /// The vector to multiply. /// The rotation containing the result of the multiplication. + /// 3 public static Vector3 operator *(Rotation arg1, Vector3 arg2) { return arg1.Multiply(arg2); @@ -162,6 +168,7 @@ namespace Tizen.NUI /// Rotation. /// A value to scale by. /// The rotation containing the result of scaling. + /// 3 public static Rotation operator *(Rotation arg1, float arg2) { return arg1.Multiply(arg2); @@ -173,6 +180,7 @@ namespace Tizen.NUI /// The first rotation. /// The second rotation. /// The rotation containing the result of scaling. + /// 3 public static Rotation operator /(Rotation arg1, Rotation arg2) { return arg1.Divide(arg2); @@ -184,6 +192,7 @@ namespace Tizen.NUI /// Rotation. /// A value to scale by. /// The rotation containing the result of scaling. + /// 3 public static Rotation operator /(Rotation arg1, float arg2) { return arg1.Divide(arg2); @@ -192,6 +201,7 @@ namespace Tizen.NUI /// /// The default constructor. /// + /// 3 public Rotation() : this(NDalicPINVOKE.new_Rotation__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -202,6 +212,7 @@ namespace Tizen.NUI /// /// The angle around the axis. /// The vector of the axis. + /// 3 public Rotation(Radian angle, Vector3 axis) : this(NDalicPINVOKE.new_Rotation__SWIG_1(Radian.getCPtr(angle), Vector3.getCPtr(axis)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -210,6 +221,7 @@ namespace Tizen.NUI /// /// (0.0f,0.0f,0.0f,1.0f). /// + /// 3 public static Rotation IDENTITY { get @@ -225,6 +237,7 @@ namespace Tizen.NUI /// Helper to check if this is an identity quaternion. /// /// True if this is identity quaternion. + /// 3 public bool IsIdentity() { bool ret = NDalicPINVOKE.Rotation_IsIdentity(swigCPtr); @@ -238,6 +251,7 @@ namespace Tizen.NUI /// The result of an an axis. /// The result of angle in radians. /// True if converted correctly. + /// 3 public bool GetAxisAngle(Vector3 axis, Radian angle) { bool ret = NDalicPINVOKE.Rotation_GetAxisAngle(swigCPtr, Vector3.getCPtr(axis), Radian.getCPtr(angle)); @@ -354,6 +368,7 @@ namespace Tizen.NUI /// Returns the length of the rotation. /// /// The length of the rotation. + /// 3 public float Length() { float ret = NDalicPINVOKE.Rotation_Length(swigCPtr); @@ -365,6 +380,7 @@ namespace Tizen.NUI /// Returns the squared length of the rotation. /// /// The squared length of the rotation. + /// 3 public float LengthSquared() { float ret = NDalicPINVOKE.Rotation_LengthSquared(swigCPtr); @@ -375,6 +391,7 @@ namespace Tizen.NUI /// /// Normalizes this to unit length. /// + /// 3 public void Normalize() { NDalicPINVOKE.Rotation_Normalize(swigCPtr); @@ -385,6 +402,7 @@ namespace Tizen.NUI /// Normalized. /// /// A normalized version of this rotation. + /// 3 public Rotation Normalized() { Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Normalized(swigCPtr), true); @@ -395,6 +413,7 @@ namespace Tizen.NUI /// /// Conjugates this rotation. /// + /// 3 public void Conjugate() { NDalicPINVOKE.Rotation_Conjugate(swigCPtr); @@ -404,6 +423,7 @@ namespace Tizen.NUI /// /// Inverts this rotation. /// + /// 3 public void Invert() { NDalicPINVOKE.Rotation_Invert(swigCPtr); @@ -414,6 +434,7 @@ namespace Tizen.NUI /// Performs the logarithm of a rotation. /// /// The rotation representing the logarithm. + /// 3 public Rotation Log() { Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Log(swigCPtr), true); @@ -425,6 +446,7 @@ namespace Tizen.NUI /// Performs an exponent. /// /// The rotation representing the exponent. + /// 3 public Rotation Exp() { Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Exp(swigCPtr), true); @@ -438,6 +460,7 @@ namespace Tizen.NUI /// The first rotation. /// The second rotation. /// The dot product of the two rotations. + /// 3 public static float Dot(Rotation q1, Rotation q2) { float ret = NDalicPINVOKE.Rotation_Dot(Rotation.getCPtr(q1), Rotation.getCPtr(q2)); @@ -452,6 +475,7 @@ namespace Tizen.NUI /// The end rotation. /// A progress value between 0 and 1. /// The interpolated rotation. + /// 3 public static Rotation Lerp(Rotation q1, Rotation q2, float t) { Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Lerp(Rotation.getCPtr(q1), Rotation.getCPtr(q2), t), true); @@ -466,6 +490,7 @@ namespace Tizen.NUI /// The end rotation. /// A progress value between 0 and 1. /// The interpolated rotation. + /// 3 public static Rotation Slerp(Rotation q1, Rotation q2, float progress) { Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Slerp(Rotation.getCPtr(q1), Rotation.getCPtr(q2), progress), true); @@ -480,6 +505,7 @@ namespace Tizen.NUI /// The end rotation. /// A progress value between 0 and 1. /// The interpolated rotation. + /// 3 public static Rotation SlerpNoInvert(Rotation q1, Rotation q2, float t) { Rotation ret = new Rotation(NDalicPINVOKE.Rotation_SlerpNoInvert(Rotation.getCPtr(q1), Rotation.getCPtr(q2), t), true); @@ -496,6 +522,7 @@ namespace Tizen.NUI /// The control rotation for q2. /// A progress value between 0 and 1. /// The interpolated rotation. + /// 3 public static Rotation Squad(Rotation start, Rotation end, Rotation ctrl1, Rotation ctrl2, float t) { Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Squad(Rotation.getCPtr(start), Rotation.getCPtr(end), Rotation.getCPtr(ctrl1), Rotation.getCPtr(ctrl2), t), true); @@ -509,6 +536,7 @@ namespace Tizen.NUI /// The first rotation. /// The second rotation. /// The angle between the two rotation. + /// 3 public static float AngleBetween(Rotation q1, Rotation q2) { float ret = NDalicPINVOKE.Rotation_AngleBetween(Rotation.getCPtr(q1), Rotation.getCPtr(q2)); @@ -518,4 +546,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Sampler.cs b/src/Tizen.NUI/src/public/Sampler.cs index c1ed5ed..def1f19 100755 --- a/src/Tizen.NUI/src/public/Sampler.cs +++ b/src/Tizen.NUI/src/public/Sampler.cs @@ -16,7 +16,9 @@ namespace Tizen.NUI { - + /// + /// Sampler is a handle to an object that can be used to provide the sampling parameters to sample textures. + /// public class Sampler : BaseHandle { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -64,25 +66,47 @@ namespace Tizen.NUI base.Dispose(type); } - + /// + /// Create an instance of Sampler. + /// + /// 3 public Sampler() : this(NDalicPINVOKE.Sampler_New(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Sets the filter modes for this sampler. + /// + /// The minification filter that will be used. + /// The magnification filter that will be used. + /// 3 public void SetFilterMode(FilterModeType minFilter, FilterModeType magFilter) { NDalicPINVOKE.Sampler_SetFilterMode(swigCPtr, (int)minFilter, (int)magFilter); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Sets the wrap modes for this sampler. + /// + /// Wrap mode for u coordinates. + /// Wrap mode for v coordinates. + /// 3 public void SetWrapMode(WrapModeType uWrap, WrapModeType vWrap) { NDalicPINVOKE.Sampler_SetWrapMode__SWIG_0(swigCPtr, (int)uWrap, (int)vWrap); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Sets the wrap modes for this sampler. + /// + /// Wrap mode for the x direction. + /// Wrap mode for the y direction. + /// Wrap mode for the z direction. + /// 3 public void SetWrapMode(WrapModeType rWrap, WrapModeType sWrap, WrapModeType tWrap) { NDalicPINVOKE.Sampler_SetWrapMode__SWIG_1(swigCPtr, (int)rWrap, (int)sWrap, (int)tWrap); @@ -91,4 +115,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/ScrollViewEffect.cs b/src/Tizen.NUI/src/public/ScrollViewEffect.cs index 89d9762..201231d 100755 --- a/src/Tizen.NUI/src/public/ScrollViewEffect.cs +++ b/src/Tizen.NUI/src/public/ScrollViewEffect.cs @@ -72,4 +72,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Shader.cs b/src/Tizen.NUI/src/public/Shader.cs index 317e9ce..cb371fb 100755 --- a/src/Tizen.NUI/src/public/Shader.cs +++ b/src/Tizen.NUI/src/public/Shader.cs @@ -16,7 +16,9 @@ namespace Tizen.NUI { - + /// + /// Shader. + /// public class Shader : Animatable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -66,10 +68,28 @@ namespace Tizen.NUI public class Hint { + /// + /// Enumeration for the hint value. + /// + /// 3 public enum Value { + /// + /// No hints. + /// + /// 3 NONE = 0x00, + + /// + /// Might generate transparent alpha from opaque inputs + /// + /// 3 OUTPUT_IS_TRANSPARENT = 0x01, + + /// + /// Might change position of vertices, this option disables any culling optimizations + /// + /// 3 MODIFIES_GEOMETRY = 0x02 } } @@ -79,17 +99,36 @@ namespace Tizen.NUI public static readonly int PROGRAM = NDalicPINVOKE.Shader_Property_PROGRAM_get(); } + /// + /// Creates Shader object. + /// + /// The vertex shader code for the effect. + /// The fragment Shader code for the effect. + /// The hints to define the geometry of the rendered object. + /// 3 public Shader(string vertexShader, string fragmentShader, Shader.Hint.Value hints) : this(NDalicPINVOKE.Shader_New__SWIG_0(vertexShader, fragmentShader, (int)hints), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + + /// + /// Creates Shader object. + /// + /// The vertex shader code for the effect. + /// The fragment Shader code for the effect. + /// 3 public Shader(string vertexShader, string fragmentShader) : this(NDalicPINVOKE.Shader_New__SWIG_1(vertexShader, fragmentShader), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + + /// + /// Gets and Sets the program property. + /// + /// 3 public Tizen.NUI.PropertyMap Program { get @@ -105,4 +144,4 @@ namespace Tizen.NUI } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Size2D.cs b/src/Tizen.NUI/src/public/Size2D.cs index 9f30751..12736fd 100755 --- a/src/Tizen.NUI/src/public/Size2D.cs +++ b/src/Tizen.NUI/src/public/Size2D.cs @@ -54,6 +54,7 @@ namespace Tizen.NUI /// /// Dispose. /// + /// 3 public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -109,6 +110,7 @@ namespace Tizen.NUI /// Size A. /// Size to assign B. /// A size containing the result of the addition. + /// 3 public static Size2D operator +(Size2D arg1, Size2D arg2) { return arg1.Add(arg2); @@ -120,6 +122,7 @@ namespace Tizen.NUI /// Size A. /// Size to subtract B. /// A size containing the result of the subtraction. + /// 3 public static Size2D operator -(Size2D arg1, Size2D arg2) { return arg1.Subtract(arg2); @@ -130,6 +133,7 @@ namespace Tizen.NUI /// /// Size for unary negation. /// A size containing the negation. + /// 3 public static Size2D operator -(Size2D arg1) { return arg1.Subtract(); @@ -141,6 +145,7 @@ namespace Tizen.NUI /// Size for multiplication. /// Size to multiply. /// A size containing the result of the multiplication. + /// 3 public static Size2D operator *(Size2D arg1, Size2D arg2) { return arg1.Multiply(arg2); @@ -153,6 +158,7 @@ namespace Tizen.NUI /// The integer value to scale the size. /// A size containing the result of the scaling. + /// 3 public static Size2D operator *(Size2D arg1, int arg2) { return arg1.Multiply(arg2); @@ -164,6 +170,7 @@ namespace Tizen.NUI /// Size for division. /// Size to divide. /// A size containing the result of the division. + /// 3 public static Size2D operator /(Size2D arg1, Size2D arg2) { return arg1.Divide(arg2); @@ -175,6 +182,7 @@ namespace Tizen.NUI /// Size for division. /// The integer value to scale the size by. /// A size containing the result of the scaling. + /// 3 public static Size2D operator /(Size2D arg1, int arg2) { return arg1.Divide(arg2); @@ -185,6 +193,7 @@ namespace Tizen.NUI /// /// The subscript index. /// The float at the given index. + /// 3 public float this[uint index] { get @@ -208,6 +217,7 @@ namespace Tizen.NUI /// /// The constructor. /// + /// 3 public Size2D() : this(NDalicPINVOKE.new_Vector2__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -218,6 +228,7 @@ namespace Tizen.NUI /// /// The x (or width) component. /// The y (or height) component. + /// 3 public Size2D(int x, int y) : this(NDalicPINVOKE.new_Vector2__SWIG_1((float)x, (float)y), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -280,6 +291,7 @@ namespace Tizen.NUI /// /// The size to test against. /// True if the sizes are equal. + /// 3 public bool EqualTo(Size2D rhs) { bool ret = NDalicPINVOKE.Vector2_EqualTo(swigCPtr, Size2D.getCPtr(rhs)); @@ -293,6 +305,7 @@ namespace Tizen.NUI /// /// The size to test against. /// True if the sizes are not equal. + /// 3 public bool NotEqualTo(Size2D rhs) { bool ret = NDalicPINVOKE.Vector2_NotEqualTo(swigCPtr, Size2D.getCPtr(rhs)); @@ -310,6 +323,7 @@ namespace Tizen.NUI /// /// The property for the width component of a size. /// + /// 3 public int Width { set @@ -328,6 +342,7 @@ namespace Tizen.NUI /// /// The property for the height component of a size. /// + /// 3 public int Height { set @@ -347,6 +362,7 @@ namespace Tizen.NUI /// The type cast operator, Size2D to Vector2. /// /// An object of the Size2D type. + /// 3 public static implicit operator Vector2(Size2D size) { return new Vector2((float)size.Width, (float)size.Height); @@ -356,6 +372,7 @@ namespace Tizen.NUI /// The type cast operator, Vector2 to Size2D type. /// /// An object of the Vector2 type. + /// 3 public static implicit operator Size2D(Vector2 vec) { return new Size2D((int)vec.X, (int)vec.Y); @@ -365,6 +382,7 @@ namespace Tizen.NUI /// The type cast operator, Size2D to Uint16Pair. /// /// An object of the Size2D type. + /// 4 public static implicit operator Uint16Pair(Size2D size2d) { return new Uint16Pair((uint)size2d.Width, (uint)size2d.Height); @@ -374,6 +392,7 @@ namespace Tizen.NUI /// The type cast operator, Uint16Pair to Size2D type. /// /// An object of the Vector2 type. + /// 4 public static implicit operator Size2D(Uint16Pair pair) { return new Size2D((int)pair.GetWidth(), (int)pair.GetWidth()); @@ -383,4 +402,3 @@ namespace Tizen.NUI } } - diff --git a/src/Tizen.NUI/src/public/StyleManager.cs b/src/Tizen.NUI/src/public/StyleManager.cs index 0bc93ea..2e2d8d6 100755 --- a/src/Tizen.NUI/src/public/StyleManager.cs +++ b/src/Tizen.NUI/src/public/StyleManager.cs @@ -92,6 +92,7 @@ namespace Tizen.NUI /// /// StyleManager. /// + /// 3 public StyleManager StyleManager { get @@ -108,6 +109,7 @@ namespace Tizen.NUI /// StyleChange - contains the style change information (default font changed or /// default font size changed or theme has changed).
/// + /// 3 public StyleChangeType StyleChange { get @@ -133,6 +135,7 @@ namespace Tizen.NUI /// The StyleChanged signal is emitted after the style (for example, theme or font change) has changed /// and the controls have been informed.
/// + /// 3 public event EventHandler StyleChanged { add @@ -174,6 +177,7 @@ namespace Tizen.NUI /// Creates a StyleManager handle.
/// This can be initialized with StyleManager::Get().
/// + /// 3 public StyleManager() : this(NDalicPINVOKE.new_StyleManager(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -183,6 +187,7 @@ namespace Tizen.NUI /// Gets the singleton of StyleManager object. /// /// A handle to the StyleManager control. + /// 3 public static StyleManager Get() { StyleManager ret = new StyleManager(NDalicPINVOKE.StyleManager_Get(), true); @@ -198,6 +203,7 @@ namespace Tizen.NUI /// instead for those controls.
/// /// A relative path is specified for style theme. + /// 3 public void ApplyTheme(string themeFile) { NDalicPINVOKE.StyleManager_ApplyTheme(swigCPtr, themeFile); @@ -207,6 +213,7 @@ namespace Tizen.NUI /// /// Applies the default Toolkit theme. /// + /// 3 public void ApplyDefaultTheme() { NDalicPINVOKE.StyleManager_ApplyDefaultTheme(swigCPtr); @@ -218,6 +225,7 @@ namespace Tizen.NUI /// /// The key of the constant. /// The value of the constant. + /// 3 public void AddConstant(string key, PropertyValue value) { NDalicPINVOKE.StyleManager_SetStyleConstant(swigCPtr, key, PropertyValue.getCPtr(value)); @@ -230,6 +238,7 @@ namespace Tizen.NUI /// The key of the constant. /// The value of the constant if it exists. /// + /// 3 public bool GetConstant(string key, PropertyValue valueOut) { bool ret = NDalicPINVOKE.StyleManager_GetStyleConstant(swigCPtr, key, PropertyValue.getCPtr(valueOut)); @@ -243,6 +252,7 @@ namespace Tizen.NUI /// The control to which to apply the style. /// The name of the JSON style file to apply. /// The name of the style within the JSON file to apply. + /// 3 public void ApplyStyle(View control, string jsonFileName, string styleName) { NDalicPINVOKE.StyleManager_ApplyStyle(swigCPtr, View.getCPtr(control), jsonFileName, styleName); @@ -257,4 +267,4 @@ namespace Tizen.NUI } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/TTSPlayer.cs b/src/Tizen.NUI/src/public/TTSPlayer.cs index 70ce712..c6c2325 100755 --- a/src/Tizen.NUI/src/public/TTSPlayer.cs +++ b/src/Tizen.NUI/src/public/TTSPlayer.cs @@ -82,6 +82,7 @@ namespace Tizen.NUI /// /// The mode of TTS player. /// A handle of the TTS player for the given mode. + /// 3 public static TTSPlayer Get(TTSMode mode) { TTSPlayer ret = new TTSPlayer(NDalicManualPINVOKE.TtsPlayer_Get__SWIG_0((int)mode), true); @@ -93,6 +94,7 @@ namespace Tizen.NUI /// Gets the singleton of the TTS player for the default mode. /// /// A handle of the TTS player for the default mode. + /// 3 public static TTSPlayer Get() { TTSPlayer ret = new TTSPlayer(NDalicManualPINVOKE.TtsPlayer_Get__SWIG_1(), true); @@ -117,6 +119,7 @@ namespace Tizen.NUI /// /// The text to play. /// The TTS player needs to be initialized. + /// 3 public void Play(string text) { NDalicManualPINVOKE.TtsPlayer_Play(swigCPtr, text); @@ -127,6 +130,7 @@ namespace Tizen.NUI /// Stops playing the utterance. /// /// The TTS player needs to be initialized. + /// 3 public void Stop() { NDalicManualPINVOKE.TtsPlayer_Stop(swigCPtr); @@ -137,6 +141,7 @@ namespace Tizen.NUI /// Pauses the currently playing utterance. /// /// The TTS player needs to be initialized. + /// 3 public void Pause() { NDalicManualPINVOKE.TtsPlayer_Pause(swigCPtr); @@ -147,6 +152,7 @@ namespace Tizen.NUI /// Resumes the previously paused utterance. /// /// The TTS player needs to be initialized. + /// 3 public void Resume() { NDalicManualPINVOKE.TtsPlayer_Resume(swigCPtr); @@ -158,6 +164,7 @@ namespace Tizen.NUI /// /// The current TTS state. /// The TTS player needs to be initialized. + /// 3 public TTSState GetState() { TTSState ret = (TTSState)NDalicManualPINVOKE.TtsPlayer_GetState(swigCPtr); @@ -191,6 +198,7 @@ namespace Tizen.NUI /// /// State changed event. /// + /// 3 public event EventHandler StateChanged { add @@ -237,6 +245,7 @@ namespace Tizen.NUI /// /// Enumeration for the instance of TTS mode. /// + /// 3 public enum TTSMode { /// @@ -262,6 +271,7 @@ namespace Tizen.NUI /// /// Enumeration for the instance of TTS state. /// + /// 3 public enum TTSState { /// @@ -284,4 +294,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/TapGesture.cs b/src/Tizen.NUI/src/public/TapGesture.cs index fd28834..fbd6124 100755 --- a/src/Tizen.NUI/src/public/TapGesture.cs +++ b/src/Tizen.NUI/src/public/TapGesture.cs @@ -84,6 +84,7 @@ namespace Tizen.NUI /// /// The number of taps property (read-only). /// + /// 3 public uint NumberOfTaps { get @@ -95,6 +96,7 @@ namespace Tizen.NUI /// /// The number of touches property (read-only). /// + /// 3 public uint NumberOfTouches { get @@ -106,6 +108,7 @@ namespace Tizen.NUI /// /// The screen point property (read-only). /// + /// 3 public Vector2 ScreenPoint { get @@ -117,6 +120,7 @@ namespace Tizen.NUI /// /// The local point property (read-only). /// + /// 3 public Vector2 LocalPoint { get @@ -128,6 +132,7 @@ namespace Tizen.NUI /// /// Creates a TapGesture. /// + /// 3 public TapGesture() : this(NDalicPINVOKE.new_TapGesture__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -198,4 +203,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Texture.cs b/src/Tizen.NUI/src/public/Texture.cs index 2503ca5..c0de908 100755 --- a/src/Tizen.NUI/src/public/Texture.cs +++ b/src/Tizen.NUI/src/public/Texture.cs @@ -16,7 +16,9 @@ namespace Tizen.NUI { - + /// + /// Texture represents a texture object used as input or output by shaders. + /// public class Texture : BaseHandle { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -64,6 +66,14 @@ namespace Tizen.NUI base.Dispose(type); } + /// + /// Creates a new Texture object. + /// + /// The type of the texture. + /// The format of the pixel data. + /// The width of the texture. + /// The height of the texture. + /// 3 public Texture(TextureType type, PixelFormat format, uint width, uint height) : this(NDalicPINVOKE.Texture_New__SWIG_0((int)type, (int)format, width, height), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -75,6 +85,12 @@ namespace Tizen.NUI } + /// + /// Uploads data to the texture from a PixelData object. + /// + /// The pixelData object. + /// True if the PixelData object has compatible pixel format and fits within the texture, false otherwise. + /// 3 public bool Upload(PixelData pixelData) { bool ret = NDalicPINVOKE.Texture_Upload__SWIG_0(swigCPtr, PixelData.getCPtr(pixelData)); @@ -82,6 +98,18 @@ namespace Tizen.NUI return ret; } + /// + /// Uploads data to the texture from a PixelData object. + /// + /// The pixelData object. + /// The layer of a cube map or array texture. + /// The level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// The horizontal offset of the rectangular area in the texture that will be updated. + /// The vertical offset of the rectangular area in the texture that will be updated. + /// The width of the rectangular area in the texture that will be updated. + /// height of the rectangular area in the texture that will be updated. + /// True if the PixelData object has compatible pixel format and fits within the texture, false otherwise. + /// 3 public bool Upload(PixelData pixelData, uint layer, uint mipmap, uint xOffset, uint yOffset, uint width, uint height) { bool ret = NDalicPINVOKE.Texture_Upload__SWIG_1(swigCPtr, PixelData.getCPtr(pixelData), layer, mipmap, xOffset, yOffset, width, height); @@ -89,12 +117,22 @@ namespace Tizen.NUI return ret; } + /// + /// Generates mipmaps for the texture.
+ /// This will auto generate all the mipmaps for the texture based on the data in the base level. + ///
+ /// 3 public void GenerateMipmaps() { NDalicPINVOKE.Texture_GenerateMipmaps(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Returns the width of the texture.
+ ///
+ /// The width, in pixels, of the texture. + /// 3 public uint GetWidth() { uint ret = NDalicPINVOKE.Texture_GetWidth(swigCPtr); @@ -102,6 +140,11 @@ namespace Tizen.NUI return ret; } + /// + /// Returns the height of the texture..
+ ///
+ /// The height, in pixels, of the texture. + /// 3 public uint GetHeight() { uint ret = NDalicPINVOKE.Texture_GetHeight(swigCPtr); @@ -116,4 +159,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/TextureSet.cs b/src/Tizen.NUI/src/public/TextureSet.cs index cbb0394..a7edb97 100755 --- a/src/Tizen.NUI/src/public/TextureSet.cs +++ b/src/Tizen.NUI/src/public/TextureSet.cs @@ -16,7 +16,10 @@ namespace Tizen.NUI { - + /// + /// TextureSet is a handle to an object that specifies the set of images used as textures by a renderer.
+ /// The images have to be ordered in the same order they are declared in the shader. + ///
public class TextureSet : BaseHandle { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -63,19 +66,34 @@ namespace Tizen.NUI base.Dispose(type); } - + /// + /// Create an instance of TextureSet. + /// + /// 3 public TextureSet() : this(NDalicPINVOKE.TextureSet_New(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Sets the texture at position "index". + /// + /// The position in the texture set of the texture. + /// The texture. + /// 3 public void SetTexture(uint index, Texture texture) { NDalicPINVOKE.TextureSet_SetTexture(swigCPtr, index, Texture.getCPtr(texture)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Gets the image at position "index". + /// + /// The position in the texture set of the image. + /// A handle to the image at the the specified position. + /// 3 public Texture GetTexture(uint index) { System.IntPtr cPtr = NDalicPINVOKE.TextureSet_GetTexture(swigCPtr, index); @@ -85,12 +103,24 @@ namespace Tizen.NUI return ret; } + /// + /// Sets the sampler to be used by the image at position "index". + /// + /// The position in the texture set of the image. + /// The sampler to use. + /// 3 public void SetSampler(uint index, Sampler sampler) { NDalicPINVOKE.TextureSet_SetSampler(swigCPtr, index, Sampler.getCPtr(sampler)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Sets the sampler to be used by the image at position "index". + /// + /// The position in the texture set of the image. + /// A handle to the sampler at the specified position. + /// 3 public Sampler GetSampler(uint index) { System.IntPtr cPtr = NDalicPINVOKE.TextureSet_GetSampler(swigCPtr, index); @@ -100,6 +130,11 @@ namespace Tizen.NUI return ret; } + /// + /// Gets the number of textures present in the TextureSet. + /// + /// The number of textures in the TextureSet. + /// 3 public uint GetTextureCount() { uint ret = NDalicPINVOKE.TextureSet_GetTextureCount(swigCPtr); @@ -109,4 +144,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/TextureType.cs b/src/Tizen.NUI/src/public/TextureType.cs index f86151e..13b074d 100755 --- a/src/Tizen.NUI/src/public/TextureType.cs +++ b/src/Tizen.NUI/src/public/TextureType.cs @@ -16,10 +16,14 @@ namespace Tizen.NUI { + /// + /// The texture type. + /// + /// 3 public enum TextureType { TEXTURE_2D, TEXTURE_CUBE } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Timer.cs b/src/Tizen.NUI/src/public/Timer.cs index cbb7dd6..2819f95 100755 --- a/src/Tizen.NUI/src/public/Timer.cs +++ b/src/Tizen.NUI/src/public/Timer.cs @@ -98,6 +98,7 @@ namespace Tizen.NUI /// (in the type of TickEventHandler-DaliEventHandlerWithReturnType)
/// provided by the user. The ticked signal is emitted after specified time interval.
///
+ /// 3 public event EventHandlerWithReturnType Tick { add @@ -136,6 +137,7 @@ namespace Tizen.NUI ///
/// Interval in milliseconds. /// A new timer. + /// 3 public Timer(uint milliSec) : this(NDalicPINVOKE.Timer_New(milliSec), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -159,6 +161,7 @@ namespace Tizen.NUI /// Starts the timer.
/// In case a timer is already running, its time is reset and the timer is restarted.
/// + /// 3 public void Start() { NDalicPINVOKE.Timer_Start(swigCPtr); @@ -168,6 +171,7 @@ namespace Tizen.NUI /// /// Stops the timer. /// + /// 3 public void Stop() { NDalicPINVOKE.Timer_Stop(swigCPtr); @@ -177,6 +181,7 @@ namespace Tizen.NUI /// /// Gets/Sets the interval of the timer. /// + /// 4 public uint Interval { get @@ -211,6 +216,7 @@ namespace Tizen.NUI /// Tells whether the timer is running. /// /// Whether the timer is started or not. + /// 3 public bool IsRunning() { bool ret = NDalicPINVOKE.Timer_IsRunning(swigCPtr); @@ -227,4 +233,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Touch.cs b/src/Tizen.NUI/src/public/Touch.cs index ea65096..060b596d 100755 --- a/src/Tizen.NUI/src/public/Touch.cs +++ b/src/Tizen.NUI/src/public/Touch.cs @@ -84,6 +84,7 @@ namespace Tizen.NUI /// An uninitialized touch instance.
/// Calling member functions with an uninitialized touch handle is not allowed.
/// + /// 3 public Touch() : this(NDalicPINVOKE.new_Touch__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -98,6 +99,7 @@ namespace Tizen.NUI /// Returns the time (in ms) that the touch event occurred. /// /// The time (in ms) that the touch event occurred. + /// 3 public uint GetTime() { uint ret = NDalicPINVOKE.Touch_GetTime(swigCPtr); @@ -109,6 +111,7 @@ namespace Tizen.NUI /// Returns the total number of points in this TouchData. /// /// The total number of points. + /// 3 public uint GetPointCount() { uint ret = NDalicPINVOKE.Touch_GetPointCount(swigCPtr); @@ -124,6 +127,7 @@ namespace Tizen.NUI /// /// The point required. /// The device ID of this point. + /// 3 public int GetDeviceId(uint point) { int ret = NDalicPINVOKE.Touch_GetDeviceId(swigCPtr, point); @@ -137,6 +141,7 @@ namespace Tizen.NUI /// /// The point required. /// The state of the point specified. + /// 3 public PointStateType GetState(uint point) { PointStateType ret = (PointStateType)NDalicPINVOKE.Touch_GetState(swigCPtr, point); @@ -150,6 +155,7 @@ namespace Tizen.NUI /// /// The point required. /// The actor that was underneath the point specified. + /// 3 public View GetHitView(uint point) { global::System.IntPtr cPtr = NDalicPINVOKE.Touch_GetHitActor(swigCPtr, point); @@ -168,6 +174,7 @@ namespace Tizen.NUI /// /// The point required. /// The coordinates relative to the top-left of the hit actor of the point specified. + /// 3 public Vector2 GetLocalPosition(uint point) { Vector2 ret = new Vector2(NDalicPINVOKE.Touch_GetLocalPosition(swigCPtr, point), false); @@ -181,6 +188,7 @@ namespace Tizen.NUI /// /// The point required. /// The coordinates relative to the top-left of the screen of the point specified. + /// 3 public Vector2 GetScreenPosition(uint point) { Vector2 ret = new Vector2(NDalicPINVOKE.Touch_GetScreenPosition(swigCPtr, point), false); @@ -195,6 +203,7 @@ namespace Tizen.NUI /// /// The point required. /// The radius of the press point. + /// 3 public float GetRadius(uint point) { float ret = NDalicPINVOKE.Touch_GetRadius(swigCPtr, point); @@ -208,6 +217,7 @@ namespace Tizen.NUI /// /// The point required. /// The horizontal and vertical radii of the press point. + /// 3 public Vector2 GetEllipseRadius(uint point) { Vector2 ret = new Vector2(NDalicPINVOKE.Touch_GetEllipseRadius(swigCPtr, point), false); @@ -225,6 +235,7 @@ namespace Tizen.NUI /// /// The point required. /// The touch pressure. + /// 3 public float GetPressure(uint point) { float ret = NDalicPINVOKE.Touch_GetPressure(swigCPtr, point); @@ -240,4 +251,4 @@ namespace Tizen.NUI } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/TransitionData.cs b/src/Tizen.NUI/src/public/TransitionData.cs index b3611a0..34486db 100755 --- a/src/Tizen.NUI/src/public/TransitionData.cs +++ b/src/Tizen.NUI/src/public/TransitionData.cs @@ -16,7 +16,9 @@ namespace Tizen.NUI { - + /// + /// This object translates data from a property array of maps into an array of animators. + /// public class TransitionData : BaseHandle { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -63,22 +65,43 @@ namespace Tizen.NUI base.Dispose(type); } + /// + /// Create an instance of TransitionData. + /// + /// The transition data to store (a single animator). + /// 3 public TransitionData(PropertyMap transition) : this(NDalicPINVOKE.TransitionData_New__SWIG_0(PropertyMap.getCPtr(transition)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + + /// + /// Create an instance of TransitionData. + /// + /// The transition data to store (an array of maps of animators). + /// 3 public TransitionData(PropertyArray transition) : this(NDalicPINVOKE.TransitionData_New__SWIG_1(PropertyArray.getCPtr(transition)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Create an instance of TransitionData by copy constructor. + /// + /// Handle to an object. + /// 3 public TransitionData(TransitionData handle) : this(NDalicPINVOKE.new_TransitionData__SWIG_1(TransitionData.getCPtr(handle)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// returns the count of the individual property transitions stored within this handle. + /// + /// A handle to the image at the the specified position. + /// 3 public uint Count() { uint ret = NDalicPINVOKE.TransitionData_Count(swigCPtr); @@ -86,6 +109,12 @@ namespace Tizen.NUI return ret; } + /// + /// returns the count of the individual property transitions stored within this handle. + /// + /// The index of the animator. + /// A property map representing the animator. + /// 3 public PropertyMap GetAnimatorAt(uint index) { PropertyMap ret = new PropertyMap(NDalicPINVOKE.TransitionData_GetAnimatorAt(swigCPtr, index), true); @@ -100,4 +129,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/TypeInfo.cs b/src/Tizen.NUI/src/public/TypeInfo.cs index 0583ffe..afa74bc 100755 --- a/src/Tizen.NUI/src/public/TypeInfo.cs +++ b/src/Tizen.NUI/src/public/TypeInfo.cs @@ -17,6 +17,9 @@ namespace Tizen.NUI { + /// + /// TypeInfo class for instantiation of registered types and introspection of their actions and signals. + /// public class TypeInfo : BaseHandle { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -63,17 +66,30 @@ namespace Tizen.NUI base.Dispose(type); } - + /// + /// Creates TypeInfo object. + /// + /// 3 public TypeInfo() : this(NDalicPINVOKE.new_TypeInfo__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Creates TypeInfo object. + /// + /// This copy constructor is required for (smart) pointer semantics. + /// 3 public TypeInfo(TypeInfo handle) : this(NDalicPINVOKE.new_TypeInfo__SWIG_1(TypeInfo.getCPtr(handle)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Retrieves the type name for this type. + /// + /// The string name. + /// 3 public string GetName() { string ret = NDalicPINVOKE.TypeInfo_GetName(swigCPtr); @@ -81,6 +97,11 @@ namespace Tizen.NUI return ret; } + /// + /// Retrieves the type name for this type. + /// + /// The string name. + /// 3 public string GetBaseName() { string ret = NDalicPINVOKE.TypeInfo_GetBaseName(swigCPtr); @@ -88,6 +109,11 @@ namespace Tizen.NUI return ret; } + /// + /// Creates an object from this type. + /// + /// The BaseHandle for the newly created object. + /// 3 public BaseHandle CreateInstance() { BaseHandle ret = new BaseHandle(NDalicPINVOKE.TypeInfo_CreateInstance(swigCPtr), true); @@ -95,6 +121,12 @@ namespace Tizen.NUI return ret; } + /// + /// Retrieves the number of event side type registered properties for this type.
+ /// This count does not include all properties. + ///
+ /// The count. + /// 3 public uint GetPropertyCount() { uint ret = NDalicPINVOKE.TypeInfo_GetPropertyCount(swigCPtr); @@ -102,6 +134,12 @@ namespace Tizen.NUI return ret; } + /// + /// Given a property index, retrieve the property name associated with it. + /// + /// The property index. + /// The name of the property at the given index. + /// 3 public string GetPropertyName(int index) { string ret = NDalicPINVOKE.TypeInfo_GetPropertyName(swigCPtr, index); @@ -111,4 +149,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/UIComponents/Button.cs b/src/Tizen.NUI/src/public/UIComponents/Button.cs index 1cffbcc..9d57bed 100755 --- a/src/Tizen.NUI/src/public/UIComponents/Button.cs +++ b/src/Tizen.NUI/src/public/UIComponents/Button.cs @@ -129,6 +129,7 @@ namespace Tizen.NUI.UIComponents /// /// The Clicked event will be triggered when the button is touched and the touch point doesn't leave the boundary of the button. /// + /// 3 public event EventHandlerWithReturnType Clicked { add @@ -173,6 +174,7 @@ namespace Tizen.NUI.UIComponents /// /// The Pressed event will be triggered when the button is touched. /// + /// 3 public event EventHandlerWithReturnType Pressed { add @@ -216,6 +218,7 @@ namespace Tizen.NUI.UIComponents /// /// The Released event will be triggered when the button is touched and the touch point leaves the boundary of the button. /// + /// 3 public event EventHandlerWithReturnType Released { add @@ -258,6 +261,7 @@ namespace Tizen.NUI.UIComponents /// /// The StateChanged event will be triggered when the button's state is changed. /// + /// 3 public event EventHandlerWithReturnType StateChanged { add @@ -295,6 +299,7 @@ namespace Tizen.NUI.UIComponents /// /// Gets or sets the unselected button foreground or icon visual. /// + /// 3 public Tizen.NUI.PropertyMap UnselectedVisual { get @@ -312,6 +317,7 @@ namespace Tizen.NUI.UIComponents /// /// Gets or sets the selected button foreground or icon visual. /// + /// 3 public Tizen.NUI.PropertyMap SelectedVisual { get @@ -329,6 +335,7 @@ namespace Tizen.NUI.UIComponents /// /// Gets or sets the disabled selected state foreground or icon button visual. /// + /// 3 public Tizen.NUI.PropertyMap DisabledSelectedVisual { get @@ -346,6 +353,7 @@ namespace Tizen.NUI.UIComponents /// /// Gets or sets the disabled unselected state foreground or icon visual. /// + /// 3 public Tizen.NUI.PropertyMap DisabledUnselectedVisual { get @@ -363,6 +371,7 @@ namespace Tizen.NUI.UIComponents /// /// Gets or sets the disabled unselected state background button visual. /// + /// 3 public Tizen.NUI.PropertyMap UnselectedBackgroundVisual { get @@ -380,6 +389,7 @@ namespace Tizen.NUI.UIComponents /// /// Gets or sets the selected background button visual. /// + /// 3 public Tizen.NUI.PropertyMap SelectedBackgroundVisual { get @@ -397,6 +407,7 @@ namespace Tizen.NUI.UIComponents /// /// Gets or sets the disabled while unselected background button visual. /// + /// 3 public Tizen.NUI.PropertyMap DisabledUnselectedBackgroundVisual { get @@ -414,6 +425,7 @@ namespace Tizen.NUI.UIComponents /// /// Gets or sets the disabled while selected background button visual. /// + /// 3 public Tizen.NUI.PropertyMap DisabledSelectedBackgroundVisual { get @@ -431,6 +443,7 @@ namespace Tizen.NUI.UIComponents /// /// Gets or sets the position of the the label in relation to the foreground or icon, if both present. /// + /// 3 public Align LabelRelativeAlignment { get @@ -492,6 +505,7 @@ namespace Tizen.NUI.UIComponents /// /// Gets or sets the padding around the text. /// + /// 3 public Vector4 LabelPadding { get @@ -509,6 +523,7 @@ namespace Tizen.NUI.UIComponents /// /// Gets or sets the padding around the foreground visual. /// + /// 3 public Vector4 ForegroundVisualPadding { get @@ -550,6 +565,7 @@ namespace Tizen.NUI.UIComponents /// Creates an uninitialized button.
/// Only the derived versions can be instantiated.
/// + /// 3 public Button() : this(NDalicPINVOKE.new_Button__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -586,6 +602,7 @@ namespace Tizen.NUI.UIComponents /// /// If the autorepeating property is set to true, then the togglable property is set to false. /// + /// 3 public bool AutoRepeating { get @@ -603,6 +620,7 @@ namespace Tizen.NUI.UIComponents /// /// By default, this value is set to 0.15 seconds. /// + /// 3 public float InitialAutoRepeatingDelay { get @@ -620,6 +638,7 @@ namespace Tizen.NUI.UIComponents /// /// By default, this value is set to 0.05 seconds. /// + /// 3 public float NextAutoRepeatingDelay { get @@ -637,6 +656,7 @@ namespace Tizen.NUI.UIComponents /// /// If the togglable property is set to true, then the autorepeating property is set to false. /// + /// 3 public bool Togglable { get @@ -654,6 +674,7 @@ namespace Tizen.NUI.UIComponents /// /// Gets or sets the togglable button as either selected or unselected, togglable property must be set to true. /// + /// 3 public bool Selected { get @@ -671,6 +692,7 @@ namespace Tizen.NUI.UIComponents /// /// Gets or sets the unselected color. /// + /// 3 public Color UnselectedColor { get @@ -688,6 +710,7 @@ namespace Tizen.NUI.UIComponents /// /// Gets or sets the selected color. /// + /// 3 public Color SelectedColor { get @@ -705,6 +728,7 @@ namespace Tizen.NUI.UIComponents /// /// Gets or sets the label. /// + /// 3 public Tizen.NUI.PropertyMap Label { get @@ -722,6 +746,7 @@ namespace Tizen.NUI.UIComponents /// /// Gets or sets the text of the label. /// + /// 3 public string LabelText { get @@ -742,6 +767,7 @@ namespace Tizen.NUI.UIComponents /// /// Enumeration for describing the position, the text label can be, in relation to the control (and foreground/icon). /// + /// 3 public enum Align { /// @@ -764,4 +790,4 @@ namespace Tizen.NUI.UIComponents } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/UIComponents/CheckBoxButton.cs b/src/Tizen.NUI/src/public/UIComponents/CheckBoxButton.cs index 3d4f1d1..14f8238 100755 --- a/src/Tizen.NUI/src/public/UIComponents/CheckBoxButton.cs +++ b/src/Tizen.NUI/src/public/UIComponents/CheckBoxButton.cs @@ -79,6 +79,7 @@ namespace Tizen.NUI.UIComponents /// /// Creates an initialized CheckBoxButton. /// + /// 3 public CheckBoxButton() : this(NDalicPINVOKE.CheckBoxButton_New(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -87,4 +88,4 @@ namespace Tizen.NUI.UIComponents } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/UIComponents/Popup.cs b/src/Tizen.NUI/src/public/UIComponents/Popup.cs index 55e5b70..8312a0e 100755 --- a/src/Tizen.NUI/src/public/UIComponents/Popup.cs +++ b/src/Tizen.NUI/src/public/UIComponents/Popup.cs @@ -162,6 +162,7 @@ namespace Tizen.NUI.UIComponents /// /// An event is sent when the user has touched outside the dialog. /// + /// 4 public event EventHandler TouchedOutside { add @@ -198,6 +199,7 @@ namespace Tizen.NUI.UIComponents /// /// An event is sent when the popup starts showing. /// + /// 3 public event EventHandler Showing { add @@ -235,6 +237,7 @@ namespace Tizen.NUI.UIComponents /// /// An event is sent when the popup has been fully displayed. /// + /// 3 public event EventHandler Shown { add @@ -271,6 +274,7 @@ namespace Tizen.NUI.UIComponents /// /// An event is sent when the popup starts to hide. /// + /// 3 public event EventHandler Hiding { add @@ -307,6 +311,7 @@ namespace Tizen.NUI.UIComponents /// /// An event is sent when the popup has been completely hidden. /// + /// 3 public event EventHandler Hidden { add @@ -368,6 +373,7 @@ namespace Tizen.NUI.UIComponents /// /// Creates the popup. /// + /// 3 public Popup() : this(NDalicPINVOKE.Popup_New(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -386,6 +392,7 @@ namespace Tizen.NUI.UIComponents /// Sets the title for this popup. /// /// The actor to set the title. + /// 3 public void SetTitle(View titleView) { NDalicPINVOKE.Popup_SetTitle(swigCPtr, View.getCPtr(titleView)); @@ -405,6 +412,7 @@ namespace Tizen.NUI.UIComponents /// Sets the content actor. /// /// The actor to use. + /// 3 public void SetContent(View content) { NDalicPINVOKE.Popup_SetContent(swigCPtr, View.getCPtr(content)); @@ -424,6 +432,7 @@ namespace Tizen.NUI.UIComponents /// Sets the actor to use for the footer in this popup. /// /// The footer actor to be added to this popup. + /// 3 public void SetFooter(View footer) { NDalicPINVOKE.Popup_SetFooter(swigCPtr, View.getCPtr(footer)); @@ -456,6 +465,7 @@ namespace Tizen.NUI.UIComponents /// All 4 states changes cause notifications via 4 respective signals that can be connected to.
/// /// The desired display state to change to. + /// 3 public void SetDisplayState(Popup.DisplayStateType displayState) { NDalicPINVOKE.Popup_SetDisplayState(swigCPtr, (int)displayState); @@ -507,6 +517,7 @@ namespace Tizen.NUI.UIComponents /// /// The display states of the popup. /// + /// 3 public enum DisplayStateType { Showing, @@ -519,6 +530,7 @@ namespace Tizen.NUI.UIComponents /// The animation modes within the popup.
/// Choose from a predefined mode or "CUSTOM" to use the ANIMATION_IN and ANIMATION_OUT properties.
/// + /// 3 public enum AnimationModeType { None, @@ -532,6 +544,7 @@ namespace Tizen.NUI.UIComponents /// The popup is positioned adjacent to it's parent in the direction specified by this mode.
/// NON_CONTEXTUAL disables any contextual positioning.
/// + /// 3 public enum ContextualModeType { NonContextual, @@ -544,6 +557,7 @@ namespace Tizen.NUI.UIComponents /// /// The popup title. /// + /// 3 public PropertyMap Title { get @@ -560,6 +574,7 @@ namespace Tizen.NUI.UIComponents /// /// The popup content. /// + /// 3 public PropertyMap Content { get @@ -576,6 +591,7 @@ namespace Tizen.NUI.UIComponents /// /// The popup footer. /// + /// 3 public PropertyMap Footer { get @@ -592,6 +608,7 @@ namespace Tizen.NUI.UIComponents /// /// The popup display state. /// + /// 3 public DisplayStateType DisplayState { get @@ -652,6 +669,7 @@ namespace Tizen.NUI.UIComponents /// /// The touch transparent. /// + /// 3 public bool TouchTransparent { get @@ -668,6 +686,7 @@ namespace Tizen.NUI.UIComponents /// /// The popup tail visibility. /// + /// 3 public bool TailVisibility { get @@ -684,6 +703,7 @@ namespace Tizen.NUI.UIComponents /// /// The popup tail position. /// + /// 3 public Vector3 TailPosition { get @@ -700,6 +720,7 @@ namespace Tizen.NUI.UIComponents /// /// The contextual mode. /// + /// 3 public ContextualModeType ContextualMode { get @@ -767,6 +788,7 @@ namespace Tizen.NUI.UIComponents /// /// The animation duration. /// + /// 3 public float AnimationDuration { get @@ -783,6 +805,7 @@ namespace Tizen.NUI.UIComponents /// /// The animation mode. /// + /// 3 public AnimationModeType AnimationMode { get @@ -843,6 +866,7 @@ namespace Tizen.NUI.UIComponents /// /// The entry animation. /// + /// 3 public PropertyMap EntryAnimation { get @@ -859,6 +883,7 @@ namespace Tizen.NUI.UIComponents /// /// The exit animation. /// + /// 3 public PropertyMap ExitAnimation { get @@ -875,6 +900,7 @@ namespace Tizen.NUI.UIComponents /// /// The auto hide delay. /// + /// 3 public int AutoHideDelay { get @@ -891,6 +917,7 @@ namespace Tizen.NUI.UIComponents /// /// The backing enabled. /// + /// 3 public bool BackingEnabled { get @@ -907,6 +934,7 @@ namespace Tizen.NUI.UIComponents /// /// The backing color. /// + /// 3 public Vector4 BackingColor { get @@ -923,6 +951,7 @@ namespace Tizen.NUI.UIComponents /// /// The background image. /// + /// 3 public string PopupBackgroundImage { get @@ -939,6 +968,7 @@ namespace Tizen.NUI.UIComponents /// /// The background border. /// + /// 3 public Rectangle PopupBackgroundBorder { get @@ -955,6 +985,7 @@ namespace Tizen.NUI.UIComponents /// /// The tail up image. /// + /// 3 public string TailUpImage { get @@ -971,6 +1002,7 @@ namespace Tizen.NUI.UIComponents /// /// The tail down image. /// + /// 3 public string TailDownImage { get @@ -987,6 +1019,7 @@ namespace Tizen.NUI.UIComponents /// /// The tail left image. /// + /// 3 public string TailLeftImage { get @@ -1003,6 +1036,7 @@ namespace Tizen.NUI.UIComponents /// /// The tail right image. /// + /// 3 public string TailRightImage { get @@ -1019,4 +1053,4 @@ namespace Tizen.NUI.UIComponents } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/UIComponents/ProgressBar.cs b/src/Tizen.NUI/src/public/UIComponents/ProgressBar.cs index 43191d5..4c9a9e5 100755 --- a/src/Tizen.NUI/src/public/UIComponents/ProgressBar.cs +++ b/src/Tizen.NUI/src/public/UIComponents/ProgressBar.cs @@ -134,6 +134,7 @@ namespace Tizen.NUI.UIComponents /// /// The event is sent when the ProgressBar value changes. /// + /// 3 public event EventHandler ValueChanged { add @@ -187,6 +188,7 @@ namespace Tizen.NUI.UIComponents /// /// Creates the ProgressBar. /// + /// 3 public ProgressBar() : this(NDalicPINVOKE.ProgressBar_New(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -206,6 +208,7 @@ namespace Tizen.NUI.UIComponents /// If the value is set to 1, then the progress bar will be set to end.
/// Any value outside the range is ignored.
/// + /// 3 public float ProgressValue { get @@ -226,6 +229,7 @@ namespace Tizen.NUI.UIComponents /// If the value is set to 1, then the progress bar will be set secondary progress to end.
/// Any value outside of the range is ignored.
/// + /// 3 public float SecondaryProgressValue { get @@ -242,6 +246,7 @@ namespace Tizen.NUI.UIComponents /// /// Sets the progress bar as \e indeterminate state. /// + /// 3 public bool Indeterminate { get @@ -259,6 +264,7 @@ namespace Tizen.NUI.UIComponents /// The track visual value of progress bar, it's full progress area, and it's shown behind the PROGRESS_VISUAL.
/// Optional. If not supplied, the default track visual will be shown.
/// + /// 3 public Tizen.NUI.PropertyMap TrackVisual { get @@ -276,6 +282,7 @@ namespace Tizen.NUI.UIComponents /// The progress visual value of the progress bar, the size of the progress visual is changed based on the PROGRESS_VALUE.
/// Optional. If not supplied, then the default progress visual will be shown.
/// + /// 3 public Tizen.NUI.PropertyMap ProgressVisual { get @@ -293,6 +300,7 @@ namespace Tizen.NUI.UIComponents /// The secondary progress visual of the progress bar, the size of the secondary progress visual is changed based on the SECONDARY_PROGRESS_VALUE.
/// Optional. If not supplied, then the secondary progress visual will not be shown.
/// + /// 3 public Tizen.NUI.PropertyMap SecondaryProgressVisual { get @@ -310,6 +318,7 @@ namespace Tizen.NUI.UIComponents /// The indeterminate visual of the progress bar.
/// Optional. If not supplied, then the default indeterminate visual will be shown.
/// + /// 3 public Tizen.NUI.PropertyMap IndeterminateVisual { get @@ -327,6 +336,7 @@ namespace Tizen.NUI.UIComponents /// The transition data for the indeterminate visual animation.
/// Optional. If not supplied, then the default animation will be played.
/// + /// 3 public Tizen.NUI.PropertyArray IndeterminateVisualAnimation { get @@ -343,6 +353,7 @@ namespace Tizen.NUI.UIComponents /// /// The label visual of the progress bar. /// + /// 3 public Tizen.NUI.PropertyMap LabelVisual { get @@ -359,4 +370,4 @@ namespace Tizen.NUI.UIComponents } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/UIComponents/PushButton.cs b/src/Tizen.NUI/src/public/UIComponents/PushButton.cs index d587b67..217da14 100755 --- a/src/Tizen.NUI/src/public/UIComponents/PushButton.cs +++ b/src/Tizen.NUI/src/public/UIComponents/PushButton.cs @@ -84,6 +84,7 @@ namespace Tizen.NUI.UIComponents /// /// Creates the PushButton. /// + /// 3 public PushButton() : this(NDalicPINVOKE.PushButton_New(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -228,4 +229,4 @@ namespace Tizen.NUI.UIComponents } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/UIComponents/RadioButton.cs b/src/Tizen.NUI/src/public/UIComponents/RadioButton.cs index 8785870..ea9d361 100755 --- a/src/Tizen.NUI/src/public/UIComponents/RadioButton.cs +++ b/src/Tizen.NUI/src/public/UIComponents/RadioButton.cs @@ -81,6 +81,7 @@ namespace Tizen.NUI.UIComponents /// /// Creates an uninitialized RadioButton. /// + /// 3 public RadioButton() : this(NDalicPINVOKE.RadioButton_New__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -91,10 +92,11 @@ namespace Tizen.NUI.UIComponents /// Creates an uninitialized RadioButton with the label. /// /// The label text. + /// 3 public RadioButton(string label) : this(NDalicPINVOKE.RadioButton_New__SWIG_1(label), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/UIComponents/ScrollBar.cs b/src/Tizen.NUI/src/public/UIComponents/ScrollBar.cs index 32844d9..f2a90b4 100755 --- a/src/Tizen.NUI/src/public/UIComponents/ScrollBar.cs +++ b/src/Tizen.NUI/src/public/UIComponents/ScrollBar.cs @@ -100,6 +100,7 @@ namespace Tizen.NUI.UIComponents /// /// The current scroll position of the scrollable content. /// + /// 3 public float CurrentScrollPosition { get @@ -126,6 +127,7 @@ namespace Tizen.NUI.UIComponents /// /// The event emitted when panning is finished on the scroll indicator. /// + /// 3 public event EventHandler PanFinished { add @@ -163,6 +165,7 @@ namespace Tizen.NUI.UIComponents /// /// This is the event emitted when the current scroll position of the scrollable content. /// + /// 4 public event EventHandler ScrollInterval { add @@ -214,6 +217,7 @@ namespace Tizen.NUI.UIComponents /// Creates an initialized scrollbar. /// /// The direction of the scrollbar (either vertically or horizontally). + /// 3 public ScrollBar(ScrollBar.Direction direction) : this(NDalicPINVOKE.ScrollBar_New__SWIG_0((int)direction), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -222,6 +226,7 @@ namespace Tizen.NUI.UIComponents /// /// Creates an uninitialized scrollbar. /// + /// 3 public ScrollBar() : this(NDalicPINVOKE.ScrollBar_New__SWIG_1(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -353,6 +358,7 @@ namespace Tizen.NUI.UIComponents /// /// The direction of the scrollbar. /// + /// 3 public enum Direction { Vertical = 0, @@ -362,6 +368,7 @@ namespace Tizen.NUI.UIComponents /// /// The indicator height policy. /// + /// 3 public enum IndicatorHeightPolicyType { Variable = 0, @@ -371,6 +378,7 @@ namespace Tizen.NUI.UIComponents /// /// The direction of the scrollbar. /// + /// 3 public Direction ScrollDirection { get @@ -419,6 +427,7 @@ namespace Tizen.NUI.UIComponents /// /// The indicator height policy. /// + /// 3 public IndicatorHeightPolicyType IndicatorHeightPolicy { get @@ -467,6 +476,7 @@ namespace Tizen.NUI.UIComponents /// /// The fixed height of the scroll indicator. /// + /// 3 public float IndicatorFixedHeight { get @@ -484,6 +494,7 @@ namespace Tizen.NUI.UIComponents /// /// The duration in seconds for the scroll indicator to become fully visible. /// + /// 3 public float IndicatorShowDuration { get @@ -501,6 +512,7 @@ namespace Tizen.NUI.UIComponents /// /// The duration in seconds for the scroll indicator to become fully invisible. /// + /// 3 public float IndicatorHideDuration { get @@ -518,6 +530,7 @@ namespace Tizen.NUI.UIComponents /// /// The list of values to get the notification when the current scroll position of the scrollable object goes above or below any of these values. /// + /// 3 public Tizen.NUI.PropertyArray ScrollPositionIntervals { get @@ -535,6 +548,7 @@ namespace Tizen.NUI.UIComponents /// /// The minimum height for a variable size indicator. /// + /// 3 public float IndicatorMinimumHeight { get @@ -552,6 +566,7 @@ namespace Tizen.NUI.UIComponents /// /// The padding at the start of the indicator. For example, the top if the scrollDirection is vertical. /// + /// 3 public float IndicatorStartPadding { get @@ -569,6 +584,7 @@ namespace Tizen.NUI.UIComponents /// /// The padding at the end of the indicator. For example, the bottom if the scrollDirection is vertical. /// + /// 3 public float IndicatorEndPadding { get @@ -585,4 +601,4 @@ namespace Tizen.NUI.UIComponents } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/UIComponents/ScrollView.cs b/src/Tizen.NUI/src/public/UIComponents/ScrollView.cs index ea6acdc..60b6a5d 100755 --- a/src/Tizen.NUI/src/public/UIComponents/ScrollView.cs +++ b/src/Tizen.NUI/src/public/UIComponents/ScrollView.cs @@ -21,6 +21,9 @@ namespace Tizen.NUI using System.Runtime.InteropServices; using Tizen.NUI.BaseComponents; + /// + /// ScrollView contains views that can be scrolled manually (via touch). + /// public class ScrollView : Scrollable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -72,18 +75,17 @@ namespace Tizen.NUI base.Dispose(type); } - /** - * @brief Event arguments that passed via the SnapStarted signal - * - */ + /// + /// Event arguments that passed via the SnapStarted signal. + /// public class SnapStartedEventArgs : EventArgs { private Tizen.NUI.ScrollView.SnapEvent _snapEvent; - /** - * @brief SnapEvent - is the SnapEvent information like snap or flick (it tells the target position, scale, rotation for the snap or flick). - * - */ + /// + /// SnapEventInfo is the SnapEvent information like snap or flick (it tells the target position, scale, rotation for the snap or flick). + /// + /// 3 public Tizen.NUI.ScrollView.SnapEvent SnapEventInfo { get @@ -102,13 +104,13 @@ namespace Tizen.NUI private DaliEventHandler _scrollViewSnapStartedEventHandler; private SnapStartedCallbackDelegate _scrollViewSnapStartedCallbackDelegate; - /** - * @brief Event for the SnapStarted signal which can be used to subscribe or unsubscribe the event handler - * (in the type of SnapStartedEventHandler-DaliEventHandler) provided by the user. - * The SnapStarted signal is emitted when the ScrollView has started to snap or flick (it tells the target - * position, scale, rotation for the snap or flick). - * - */ + /// + /// SnapStarted can be used to subscribe or unsubscribe the event handler + /// (in the type of SnapStartedEventHandler-DaliEventHandler) provided by the user.
+ /// The SnapStarted signal is emitted when the ScrollView has started to snap or flick (it tells the target + /// position, scale, rotation for the snap or flick). + ///
+ /// 3 public event DaliEventHandler SnapStarted { add @@ -155,6 +157,9 @@ namespace Tizen.NUI } } + /// + /// Snaps signal event's data. + /// public class SnapEvent : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -186,6 +191,10 @@ namespace Tizen.NUI } } + /// + /// Dispose. + /// + /// 3 public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -259,6 +268,10 @@ namespace Tizen.NUI } } + /// + /// Scroll position. + /// + /// 3 public Vector2 position { set @@ -275,6 +288,10 @@ namespace Tizen.NUI } } + /// + /// Scroll duration. + /// + /// 3 public float duration { set @@ -290,6 +307,10 @@ namespace Tizen.NUI } } + /// + /// Create an instance of SnapEvent. + /// + /// 3 public SnapEvent() : this(NDalicPINVOKE.new_ScrollView_SnapEvent(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -328,12 +349,21 @@ namespace Tizen.NUI } + /// + /// Create an instance of ScrollView. + /// + /// 3 public ScrollView() : this(NDalicPINVOKE.ScrollView_New(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Gets snap-animation's AlphaFunction. + /// + /// Current easing alpha function of the snap animation. + /// 3 public AlphaFunction GetScrollSnapAlphaFunction() { AlphaFunction ret = new AlphaFunction(NDalicPINVOKE.ScrollView_GetScrollSnapAlphaFunction(swigCPtr), true); @@ -341,12 +371,22 @@ namespace Tizen.NUI return ret; } + /// + /// Sets snap-animation's AlphaFunction. + /// + /// Easing alpha function of the snap animation. + /// 3 public void SetScrollSnapAlphaFunction(AlphaFunction alpha) { NDalicPINVOKE.ScrollView_SetScrollSnapAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Gets flick-animation's AlphaFunction. + /// + /// Current easing alpha function of the flick animation. + /// 3 public AlphaFunction GetScrollFlickAlphaFunction() { AlphaFunction ret = new AlphaFunction(NDalicPINVOKE.ScrollView_GetScrollFlickAlphaFunction(swigCPtr), true); @@ -354,12 +394,22 @@ namespace Tizen.NUI return ret; } + /// + /// Sets flick-animation's AlphaFunction. + /// + /// Easing alpha function of the flick animation. + /// 3 public void SetScrollFlickAlphaFunction(AlphaFunction alpha) { NDalicPINVOKE.ScrollView_SetScrollFlickAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Gets the time for the scroll snap-animation. + /// + /// The time in seconds for the animation to take. + /// 3 public float GetScrollSnapDuration() { float ret = NDalicPINVOKE.ScrollView_GetScrollSnapDuration(swigCPtr); @@ -367,12 +417,22 @@ namespace Tizen.NUI return ret; } + /// + /// Sets the time for the scroll snap-animation. + /// + /// The time in seconds for the animation to take. + /// 3 public void SetScrollSnapDuration(float time) { NDalicPINVOKE.ScrollView_SetScrollSnapDuration(swigCPtr, time); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Gets the time for the scroll flick-animation. + /// + /// The time in seconds for the animation to take. + /// 3 public float GetScrollFlickDuration() { float ret = NDalicPINVOKE.ScrollView_GetScrollFlickDuration(swigCPtr); @@ -380,49 +440,92 @@ namespace Tizen.NUI return ret; } + /// + /// Sets the time for the scroll snap-animation. + /// + /// The time in seconds for the animation to take. + /// 3 public void SetScrollFlickDuration(float time) { NDalicPINVOKE.ScrollView_SetScrollFlickDuration(swigCPtr, time); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - + /// + /// Sets scroll sensibility of pan gesture. + /// + /// True to enable scroll, false to disable scrolling. + /// 3 public void SetScrollSensitive(bool sensitive) { NDalicPINVOKE.ScrollView_SetScrollSensitive(swigCPtr, sensitive); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Sets maximum overshoot amount. + /// + /// The maximum number of horizontally scrolled pixels before overshoot X reaches 1.0f. + /// The maximum number of vertically scrolled pixels before overshoot X reaches 1.0f. + /// 3 public void SetMaxOvershoot(float overshootX, float overshootY) { NDalicPINVOKE.ScrollView_SetMaxOvershoot(swigCPtr, overshootX, overshootY); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Sets Snap Overshoot animation's AlphaFunction. + /// + /// Easing alpha function of the overshoot snap animation. + /// 3 public void SetSnapOvershootAlphaFunction(AlphaFunction alpha) { NDalicPINVOKE.ScrollView_SetSnapOvershootAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Sets Snap Overshoot animation's Duration. + /// + /// duration The duration of the overshoot snap animation. + /// 3 public void SetSnapOvershootDuration(float duration) { NDalicPINVOKE.ScrollView_SetSnapOvershootDuration(swigCPtr, duration); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Enables or Disables Actor Auto-Snap mode.
+ /// When Actor Auto-Snap mode has been enabled, ScrollView will automatically, + /// snap to the closest actor (The closest actor will appear in the center of the ScrollView). + ///
+ /// Enables (true), or disables (false) Actor AutoSnap. + /// 3 public void SetViewAutoSnap(bool enable) { NDalicPINVOKE.ScrollView_SetActorAutoSnap(swigCPtr, enable); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Enables or Disables Wrap mode for ScrollView contents.
+ /// When enabled, the ScrollView contents are wrapped over the X/Y Domain. + ///
+ /// Enables (true), or disables (false) Wrap Mode. + /// 3 public void SetWrapMode(bool enable) { NDalicPINVOKE.ScrollView_SetWrapMode(swigCPtr, enable); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Gets the current distance needed to scroll for ScrollUpdatedSignal to be emitted. + /// + /// Current scroll update distance. + /// 3 public int GetScrollUpdateDistance() { int ret = NDalicPINVOKE.ScrollView_GetScrollUpdateDistance(swigCPtr); @@ -430,12 +533,24 @@ namespace Tizen.NUI return ret; } + /// + /// Sets the distance needed to scroll for ScrollUpdatedSignal to be emitted.
+ /// The scroll update distance tells ScrollView how far to move before ScrollUpdatedSignal the informs application.
+ /// Each time the ScrollView crosses this distance the signal will be emitted.
+ ///
+ /// The distance for ScrollView to move before emitting update signal. + /// 3 public void SetScrollUpdateDistance(int distance) { NDalicPINVOKE.ScrollView_SetScrollUpdateDistance(swigCPtr, distance); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Returns state of Axis Auto Lock mode. + /// + /// Whether Axis Auto Lock mode has been enabled or not. + /// 3 public bool GetAxisAutoLock() { bool ret = NDalicPINVOKE.ScrollView_GetAxisAutoLock(swigCPtr); @@ -443,12 +558,25 @@ namespace Tizen.NUI return ret; } + /// + /// Enables or Disables Axis Auto Lock mode for panning within the ScrollView.
+ /// When enabled, any pan gesture that appears mostly horizontal or mostly + /// vertical, will be automatically restricted to horizontal only or vertical + /// only panning, until the pan gesture has completed. + ///
+ /// Enables (true), or disables (false) AxisAutoLock mode. + /// 3 public void SetAxisAutoLock(bool enable) { NDalicPINVOKE.ScrollView_SetAxisAutoLock(swigCPtr, enable); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Gets the gradient threshold at which a panning gesture should be locked to the Horizontal or Vertical axis. + /// + /// The gradient, a value between 0.0 and 1.0f. + /// 3 public float GetAxisAutoLockGradient() { float ret = NDalicPINVOKE.ScrollView_GetAxisAutoLockGradient(swigCPtr); @@ -456,12 +584,24 @@ namespace Tizen.NUI return ret; } + /// + /// Sets the gradient threshold at which a panning gesture should be locked to the Horizontal or Vertical axis.
+ /// By default, this is 0.36 (0.36:1) which means angles less than 20 degrees to an axis will lock to that axis.
+ ///
+ /// gradient A value between 0.0 and 1.0 (auto-lock for all angles). + /// 3 public void SetAxisAutoLockGradient(float gradient) { NDalicPINVOKE.ScrollView_SetAxisAutoLockGradient(swigCPtr, gradient); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Gets the friction coefficient setting for ScrollView when flicking in free panning mode. + /// This is a value in stage-diagonals per second^2, stage-diagonal = Length( stage.width, stage.height ) + /// + /// Friction coefficient is returned. + /// 3 public float GetFrictionCoefficient() { float ret = NDalicPINVOKE.ScrollView_GetFrictionCoefficient(swigCPtr); @@ -469,12 +609,23 @@ namespace Tizen.NUI return ret; } + /// + /// Sets the friction coefficient for ScrollView when flicking.
+ ///
+ /// Friction coefficient must be greater than 0.0 (default = 1.0). + /// 3 public void SetFrictionCoefficient(float friction) { NDalicPINVOKE.ScrollView_SetFrictionCoefficient(swigCPtr, friction); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Gets the flick speed coefficient for ScrollView when flicking in free panning mode.
+ /// This is a constant which multiplies the input touch flick velocity to determine the actual velocity at which to move the scrolling area. + ///
+ /// The flick speed coefficient is returned. + /// 3 public float GetFlickSpeedCoefficient() { float ret = NDalicPINVOKE.ScrollView_GetFlickSpeedCoefficient(swigCPtr); @@ -482,12 +633,24 @@ namespace Tizen.NUI return ret; } + /// + /// Sets the flick speed coefficient for ScrollView when flicking in free panning mode.
+ /// This is a constant which multiplies the input touch flick velocity to determine the actual velocity at + /// which to move the scrolling area.
+ ///
+ /// The flick speed coefficient (default = 1.0). + /// 3 public void SetFlickSpeedCoefficient(float speed) { NDalicPINVOKE.ScrollView_SetFlickSpeedCoefficient(swigCPtr, speed); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Gets the minimum pan distance required for a flick gesture in pixels.
+ ///
+ /// Minimum pan distance vector with separate x and y distance. + /// 3 public Vector2 GetMinimumDistanceForFlick() { Vector2 ret = new Vector2(NDalicPINVOKE.ScrollView_GetMinimumDistanceForFlick(swigCPtr), true); @@ -495,12 +658,23 @@ namespace Tizen.NUI return ret; } + /// + /// Sets the minimum pan distance required for a flick in pixels.
+ /// Takes a Vector2 containing separate x and y values. As long as the pan distance exceeds one of these axes, a flick will be allowed. + ///
+ /// The flick speed coefficient (default = 1.0). + /// 3 public void SetMinimumDistanceForFlick(Vector2 distance) { NDalicPINVOKE.ScrollView_SetMinimumDistanceForFlick(swigCPtr, Vector2.getCPtr(distance)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Returns the minimum pan speed required for a flick gesture in pixels per second. + /// + /// Minimum pan speed. + /// 3 public float GetMinimumSpeedForFlick() { float ret = NDalicPINVOKE.ScrollView_GetMinimumSpeedForFlick(swigCPtr); @@ -508,12 +682,23 @@ namespace Tizen.NUI return ret; } + /// + /// Sets the minimum pan speed required for a flick in pixels per second.
+ ///
+ /// The minimum pan speed for a flick. + /// 3 public void SetMinimumSpeedForFlick(float speed) { NDalicPINVOKE.ScrollView_SetMinimumSpeedForFlick(swigCPtr, speed); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Gets the maximum flick speed setting for ScrollView when flicking in free panning mode.
+ /// This is a value in stage-diagonals per second. + ///
+ /// Maximum flick speed is returned. + /// 3 public float GetMaxFlickSpeed() { float ret = NDalicPINVOKE.ScrollView_GetMaxFlickSpeed(swigCPtr); @@ -521,12 +706,23 @@ namespace Tizen.NUI return ret; } + /// + /// Sets the maximum flick speed for the ScrollView when flicking in free panning mode.
+ /// This is a value in stage-diagonals per second. stage-diagonal = Length( stage.width, stage.height ).
+ ///
+ /// Maximum flick speed (default = 3.0). + /// 3 public void SetMaxFlickSpeed(float speed) { NDalicPINVOKE.ScrollView_SetMaxFlickSpeed(swigCPtr, speed); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Gets the step of scroll distance in actor coordinates for each wheel event received in free panning mode.
+ ///
+ /// The step of scroll distance(pixel) in X and Y axes. + /// 3 public Vector2 GetWheelScrollDistanceStep() { Vector2 ret = new Vector2(NDalicPINVOKE.ScrollView_GetWheelScrollDistanceStep(swigCPtr), true); @@ -534,12 +730,22 @@ namespace Tizen.NUI return ret; } + /// + /// Sets the step of scroll distance in actor coordinates for each wheel event received in free panning mode.
+ ///
+ /// step The step of scroll distance(pixel) in X and Y axes. + /// 3 public void SetWheelScrollDistanceStep(Vector2 step) { NDalicPINVOKE.ScrollView_SetWheelScrollDistanceStep(swigCPtr, Vector2.getCPtr(step)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Retrieves current scroll position.
+ ///
+ /// The current scroll position. + /// 3 public Vector2 GetCurrentScrollPosition() { Vector2 ret = new Vector2(NDalicPINVOKE.ScrollView_GetCurrentScrollPosition(swigCPtr), true); @@ -547,6 +753,12 @@ namespace Tizen.NUI return ret; } + /// + /// Retrieves current scroll page based on ScrollView dimensions being the size of one page, and all pages laid out in
+ /// a grid fashion, increasing from left to right until the end of the X-domain. + ///
+ /// The current scroll position. + /// 3 public uint GetCurrentPage() { uint ret = NDalicPINVOKE.ScrollView_GetCurrentPage(swigCPtr); @@ -554,66 +766,136 @@ namespace Tizen.NUI return ret; } + /// + /// Scrolls View to position specified (contents will scroll to this position). + /// + /// The position to scroll to. + /// 3 public void ScrollTo(Vector2 position) { NDalicPINVOKE.ScrollView_ScrollTo__SWIG_0(swigCPtr, Vector2.getCPtr(position)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Scrolls View to position specified (contents will scroll to this position). + /// + /// The position to scroll to. + /// The duration of the animation in seconds. + /// 3 public void ScrollTo(Vector2 position, float duration) { NDalicPINVOKE.ScrollView_ScrollTo__SWIG_1(swigCPtr, Vector2.getCPtr(position), duration); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Scrolls View to position specified (contents will scroll to this position). + /// + /// The position to scroll to. + /// The duration of the animation in seconds. + /// The alpha function to use. + /// 3 public void ScrollTo(Vector2 position, float duration, AlphaFunction alpha) { NDalicPINVOKE.ScrollView_ScrollTo__SWIG_2(swigCPtr, Vector2.getCPtr(position), duration, AlphaFunction.getCPtr(alpha)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Scrolls View to position specified (contents will scroll to this position). + /// + /// The position to scroll to. + /// The duration of the animation in seconds. + /// Whether to bias scrolling to left or right. + /// Whether to bias scrolling to top or bottom. + /// 3 public void ScrollTo(Vector2 position, float duration, DirectionBias horizontalBias, DirectionBias verticalBias) { NDalicPINVOKE.ScrollView_ScrollTo__SWIG_3(swigCPtr, Vector2.getCPtr(position), duration, (int)horizontalBias, (int)verticalBias); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Scrolls View to position specified (contents will scroll to this position). + /// + /// The position to scroll to. + /// The duration of the animation in seconds. + /// Alpha function to use. + /// Whether to bias scrolling to left or right. + /// Whether to bias scrolling to top or bottom. + /// 3 public void ScrollTo(Vector2 position, float duration, AlphaFunction alpha, DirectionBias horizontalBias, DirectionBias verticalBias) { NDalicPINVOKE.ScrollView_ScrollTo__SWIG_4(swigCPtr, Vector2.getCPtr(position), duration, AlphaFunction.getCPtr(alpha), (int)horizontalBias, (int)verticalBias); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Scrolls View to position specified (contents will scroll to this position). + /// + /// The page to scroll to. + /// 3 public void ScrollTo(uint page) { NDalicPINVOKE.ScrollView_ScrollTo__SWIG_5(swigCPtr, page); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Scrolls View to position specified (contents will scroll to this position). + /// + /// The page to scroll to. + /// The duration of the animation in seconds. + /// 3 public void ScrollTo(uint page, float duration) { NDalicPINVOKE.ScrollView_ScrollTo__SWIG_6(swigCPtr, page, duration); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Scrolls View to position specified (contents will scroll to this position). + /// + /// The page to scroll to. + /// The duration of the animation in seconds. + /// Whether to bias scrolling to left or right. + /// 3 public void ScrollTo(uint page, float duration, DirectionBias bias) { NDalicPINVOKE.ScrollView_ScrollTo__SWIG_7(swigCPtr, page, duration, (int)bias); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Scrolls View to position specified (contents will scroll to this position). + /// + /// The view to center in on (via Scrolling). + /// 3 public void ScrollTo(View view) { NDalicPINVOKE.ScrollView_ScrollTo__SWIG_8(swigCPtr, View.getCPtr(view)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Scrolls View to position specified (contents will scroll to this position). + /// + /// The view to center in on (via Scrolling). + /// The duration of the animation in seconds. + /// 3 public void ScrollTo(View view, float duration) { NDalicPINVOKE.ScrollView_ScrollTo__SWIG_9(swigCPtr, View.getCPtr(view), duration); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Scrolls View to the nearest snap points as specified by the Rulers.
+ /// If already at snap points, then will return false, and not scroll.
+ ///
+ /// True if Snapping necessary. + /// 3 public bool ScrollToSnapPoint() { bool ret = NDalicPINVOKE.ScrollView_ScrollToSnapPoint(swigCPtr); @@ -627,48 +909,90 @@ namespace Tizen.NUI if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Applies Effect to ScrollView. + /// + /// The effect to apply to scroll view. + /// 3 public void ApplyEffect(ScrollViewEffect effect) { NDalicPINVOKE.ScrollView_ApplyEffect(swigCPtr, ScrollViewEffect.getCPtr(effect)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Removes Effect from ScrollView. + /// + /// The effect to remove. + /// 3 public void RemoveEffect(ScrollViewEffect effect) { NDalicPINVOKE.ScrollView_RemoveEffect(swigCPtr, ScrollViewEffect.getCPtr(effect)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Remove All Effects from ScrollView. + /// + /// 3 public void RemoveAllEffects() { NDalicPINVOKE.ScrollView_RemoveAllEffects(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Binds view to this ScrollView. + /// Once an actor is bound to a ScrollView, it will be subject to that ScrollView's properties. + /// + /// The view to add to this ScrollView. + /// 3 public void BindView(View child) { NDalicPINVOKE.ScrollView_BindActor(swigCPtr, View.getCPtr(child)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Unbinds view to this ScrollView. + /// Once an actor is bound to a ScrollView, it will be subject to that ScrollView's properties. + /// + /// The view to remove to this ScrollView. + /// 3 public void UnbindView(View child) { NDalicPINVOKE.ScrollView_UnbindActor(swigCPtr, View.getCPtr(child)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Allows the user to constrain the scroll view in a particular direction. + /// + /// The axis to constrain the scroll-view to. + /// The threshold to apply around the axis. + /// 3 public void SetScrollingDirection(Radian direction, Radian threshold) { NDalicPINVOKE.ScrollView_SetScrollingDirection__SWIG_0(swigCPtr, Radian.getCPtr(direction), Radian.getCPtr(threshold)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Allows the user to constrain the scroll view in a particular direction. + /// + /// The axis to constrain the scroll-view to. + /// 3 public void SetScrollingDirection(Radian direction) { NDalicPINVOKE.ScrollView_SetScrollingDirection__SWIG_1(swigCPtr, Radian.getCPtr(direction)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Removes a direction constraint from the scroll view. + /// + /// The axis to constrain the scroll-view to. + /// 3 public void RemoveScrollingDirection(Radian direction) { NDalicPINVOKE.ScrollView_RemoveScrollingDirection(swigCPtr, Radian.getCPtr(direction)); @@ -682,6 +1006,10 @@ namespace Tizen.NUI return ret; } + /// + /// Sets and Gets WrapEnabled property. + /// + /// 3 public bool WrapEnabled { get @@ -695,6 +1023,11 @@ namespace Tizen.NUI SetProperty(ScrollView.Property.WRAP_ENABLED, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Sets and Gets PanningEnabled property. + /// + /// 3 public bool PanningEnabled { get @@ -708,6 +1041,11 @@ namespace Tizen.NUI SetProperty(ScrollView.Property.PANNING_ENABLED, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Sets and Gets AxisAutoLockEnabled property. + /// + /// 3 public bool AxisAutoLockEnabled { get @@ -721,6 +1059,11 @@ namespace Tizen.NUI SetProperty(ScrollView.Property.AXIS_AUTO_LOCK_ENABLED, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Sets and Gets WheelScrollDistanceStep property. + /// + /// 3 public Vector2 WheelScrollDistanceStep { get @@ -734,6 +1077,11 @@ namespace Tizen.NUI SetProperty(ScrollView.Property.WHEEL_SCROLL_DISTANCE_STEP, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Sets and Gets ScrollPosition property. + /// + /// 3 public Vector2 ScrollPosition { get @@ -747,6 +1095,11 @@ namespace Tizen.NUI SetProperty(ScrollView.Property.SCROLL_POSITION, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Sets and Gets ScrollPrePosition property. + /// + /// 3 public Vector2 ScrollPrePosition { get @@ -760,6 +1113,11 @@ namespace Tizen.NUI SetProperty(ScrollView.Property.SCROLL_PRE_POSITION, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Sets and Gets ScrollPrePositionMax property. + /// + /// 3 public Vector2 ScrollPrePositionMax { get @@ -773,6 +1131,11 @@ namespace Tizen.NUI SetProperty(ScrollView.Property.SCROLL_PRE_POSITION_MAX, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Sets and Gets OvershootX property. + /// + /// 3 public float OvershootX { get @@ -786,6 +1149,11 @@ namespace Tizen.NUI SetProperty(ScrollView.Property.OVERSHOOT_X, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Sets and Gets OvershootY property. + /// + /// 3 public float OvershootY { get @@ -799,6 +1167,11 @@ namespace Tizen.NUI SetProperty(ScrollView.Property.OVERSHOOT_Y, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Sets and Gets ScrollFinal property. + /// + /// 3 public Vector2 ScrollFinal { get @@ -812,6 +1185,11 @@ namespace Tizen.NUI SetProperty(ScrollView.Property.SCROLL_FINAL, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Sets and Gets Wrap property. + /// + /// 3 public bool Wrap { get @@ -825,6 +1203,11 @@ namespace Tizen.NUI SetProperty(ScrollView.Property.WRAP, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Sets and Gets Panning property. + /// + /// 3 public bool Panning { get @@ -838,6 +1221,11 @@ namespace Tizen.NUI SetProperty(ScrollView.Property.PANNING, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Sets and Gets Scrolling property. + /// + /// 3 public bool Scrolling { get @@ -851,6 +1239,11 @@ namespace Tizen.NUI SetProperty(ScrollView.Property.SCROLLING, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Sets and Gets ScrollDomainSize property. + /// + /// 3 public Vector2 ScrollDomainSize { get @@ -864,6 +1257,11 @@ namespace Tizen.NUI SetProperty(ScrollView.Property.SCROLL_DOMAIN_SIZE, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Sets and Gets ScrollDomainOffset property. + /// + /// 3 public Vector2 ScrollDomainOffset { get @@ -877,6 +1275,11 @@ namespace Tizen.NUI SetProperty(ScrollView.Property.SCROLL_DOMAIN_OFFSET, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Sets and Gets ScrollPositionDelta property. + /// + /// 3 public Vector2 ScrollPositionDelta { get @@ -890,6 +1293,11 @@ namespace Tizen.NUI SetProperty(ScrollView.Property.SCROLL_POSITION_DELTA, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Sets and Gets StartPagePosition property. + /// + /// 3 public Vector3 StartPagePosition { get @@ -904,6 +1312,11 @@ namespace Tizen.NUI } } + + /// + /// Sets and Gets ScrollMode property. + /// + /// 3 public PropertyMap ScrollMode { get @@ -921,4 +1334,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/UIComponents/Slider.cs b/src/Tizen.NUI/src/public/UIComponents/Slider.cs index 928646d..70bcafb 100755 --- a/src/Tizen.NUI/src/public/UIComponents/Slider.cs +++ b/src/Tizen.NUI/src/public/UIComponents/Slider.cs @@ -99,6 +99,7 @@ namespace Tizen.NUI.UIComponents /// /// The slider. /// + /// 3 public Slider Slider { get @@ -114,6 +115,7 @@ namespace Tizen.NUI.UIComponents /// /// The slider value. /// + /// 3 public float SlideValue { get @@ -138,6 +140,7 @@ namespace Tizen.NUI.UIComponents /// /// The slider. /// + /// 3 public Slider Slider { get @@ -153,6 +156,7 @@ namespace Tizen.NUI.UIComponents /// /// The slider value. /// + /// 3 public float SlideValue { get @@ -177,6 +181,7 @@ namespace Tizen.NUI.UIComponents /// /// The slider. /// + /// 3 public Slider Slider { get @@ -192,6 +197,7 @@ namespace Tizen.NUI.UIComponents /// /// The slider value. /// + /// 3 public int SlideValue { get @@ -224,6 +230,7 @@ namespace Tizen.NUI.UIComponents /// /// An event emitted when the slider value changes. /// + /// 3 public event EventHandlerWithReturnType ValueChanged { add @@ -265,6 +272,7 @@ namespace Tizen.NUI.UIComponents /// /// An event emitted when the sliding is finished. /// + /// 3 public event EventHandlerWithReturnType SlidingFinished { add @@ -306,6 +314,7 @@ namespace Tizen.NUI.UIComponents /// /// An event emitted when the slider handle reaches a mark. /// + /// 3 public event EventHandlerWithReturnType MarkReached { add @@ -386,6 +395,7 @@ namespace Tizen.NUI.UIComponents } } + /// 3 public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -463,6 +473,7 @@ namespace Tizen.NUI.UIComponents /// /// Creates the slider control. /// + /// 3 public Slider() : this(NDalicPINVOKE.Slider_New(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -487,6 +498,7 @@ namespace Tizen.NUI.UIComponents /// /// The handle to an object. /// The handle to a slider or an uninitialized handle. + /// 3 public new static Slider DownCast(BaseHandle handle) { Slider ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as Slider; @@ -518,6 +530,7 @@ namespace Tizen.NUI.UIComponents /// /// The lower bound property. /// + /// 3 public float LowerBound { get @@ -535,6 +548,7 @@ namespace Tizen.NUI.UIComponents /// /// The upper bound property. /// + /// 3 public float UpperBound { get @@ -552,6 +566,7 @@ namespace Tizen.NUI.UIComponents /// /// The value property. /// + /// 3 public float Value { get @@ -569,6 +584,7 @@ namespace Tizen.NUI.UIComponents /// /// The track visual property. /// + /// 3 public PropertyMap TrackVisual { get @@ -586,6 +602,7 @@ namespace Tizen.NUI.UIComponents /// /// The handle visual property. /// + /// 3 public PropertyMap HandleVisual { get @@ -603,6 +620,7 @@ namespace Tizen.NUI.UIComponents /// /// The progress visual property. /// + /// 3 public PropertyMap ProgressVisual { get @@ -620,6 +638,7 @@ namespace Tizen.NUI.UIComponents /// /// The popup visual property. /// + /// 3 public PropertyMap PopupVisual { get @@ -637,6 +656,7 @@ namespace Tizen.NUI.UIComponents /// /// The popup arrow visual property. /// + /// 3 public PropertyMap PopupArrowVisual { get @@ -654,6 +674,7 @@ namespace Tizen.NUI.UIComponents /// /// The disable color property. /// + /// 3 public Vector4 DisabledColor { get @@ -671,6 +692,7 @@ namespace Tizen.NUI.UIComponents /// /// The value precision property. /// + /// 3 public int ValuePrecision { get @@ -688,6 +710,7 @@ namespace Tizen.NUI.UIComponents /// /// The show popup property. /// + /// 3 public bool ShowPopup { get @@ -705,6 +728,7 @@ namespace Tizen.NUI.UIComponents /// /// The show value property. /// + /// 3 public bool ShowValue { get @@ -722,6 +746,7 @@ namespace Tizen.NUI.UIComponents /// /// The marks property. /// + /// 3 public Tizen.NUI.PropertyArray Marks { get @@ -739,6 +764,7 @@ namespace Tizen.NUI.UIComponents /// /// The snap to marks property. /// + /// 3 public bool SnapToMarks { get @@ -756,6 +782,7 @@ namespace Tizen.NUI.UIComponents /// /// The mark tolerance property. /// + /// 3 public float MarkTolerance { get @@ -772,4 +799,4 @@ namespace Tizen.NUI.UIComponents } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/UIComponents/ToggleButton.cs b/src/Tizen.NUI/src/public/UIComponents/ToggleButton.cs index a861e95..33bed88 100755 --- a/src/Tizen.NUI/src/public/UIComponents/ToggleButton.cs +++ b/src/Tizen.NUI/src/public/UIComponents/ToggleButton.cs @@ -19,6 +19,9 @@ using Tizen.NUI.BaseComponents; namespace Tizen.NUI { + /// + /// A ToggleButton allows the user to change a setting between two or more states. + /// public class ToggleButton : Tizen.NUI.UIComponents.Button { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -72,12 +75,20 @@ namespace Tizen.NUI public static readonly int CURRENT_STATE_INDEX = NDalicPINVOKE.ToggleButton_Property_CURRENT_STATE_INDEX_get(); } + /// + /// Create an instance for toggleButton. + /// + /// 3 public ToggleButton() : this(NDalicPINVOKE.ToggleButton_New(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Gets and Sets the state visual array of toggle button. + /// + /// 3 public Tizen.NUI.PropertyArray StateVisuals { get @@ -91,6 +102,11 @@ namespace Tizen.NUI SetProperty(ToggleButton.Property.STATE_VISUALS, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets the tooltips of toggle button. + /// + /// 3 public Tizen.NUI.PropertyArray Tooltips { get @@ -104,6 +120,11 @@ namespace Tizen.NUI SetProperty(ToggleButton.Property.TOOLTIPS, new Tizen.NUI.PropertyValue(value)); } } + + /// + /// Gets and Sets the current state index of toggle button. + /// + /// 3 public int CurrentStateIndex { get @@ -120,4 +141,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Vector2.cs b/src/Tizen.NUI/src/public/Vector2.cs index 1687a98..b40e578 100755 --- a/src/Tizen.NUI/src/public/Vector2.cs +++ b/src/Tizen.NUI/src/public/Vector2.cs @@ -105,6 +105,7 @@ namespace Tizen.NUI /// The first value. /// The second value. /// The vector containing the result of the addition. + /// 3 public static Vector2 operator +(Vector2 arg1, Vector2 arg2) { return arg1.Add(arg2); @@ -116,6 +117,7 @@ namespace Tizen.NUI /// The first value. /// The second value. /// The vector containing the result of the subtraction. + /// 3 public static Vector2 operator -(Vector2 arg1, Vector2 arg2) { return arg1.Subtract(arg2); @@ -126,6 +128,7 @@ namespace Tizen.NUI /// /// The target value. /// The vector containing the negation. + /// 3 public static Vector2 operator -(Vector2 arg1) { return arg1.Subtract(); @@ -137,6 +140,7 @@ namespace Tizen.NUI /// The first value. /// The second value. /// The vector containing the result of the multiplication. + /// 3 public static Vector2 operator *(Vector2 arg1, Vector2 arg2) { return arg1.Multiply(arg2); @@ -148,6 +152,7 @@ namespace Tizen.NUI /// The first value. /// The float value to scale the vector. /// The vector containing the result of the scaling. + /// 3 public static Vector2 operator *(Vector2 arg1, float arg2) { return arg1.Multiply(arg2); @@ -159,6 +164,7 @@ namespace Tizen.NUI /// The first value. /// The second value. /// The vector containing the result of the division. + /// 3 public static Vector2 operator /(Vector2 arg1, Vector2 arg2) { return arg1.Divide(arg2); @@ -170,6 +176,7 @@ namespace Tizen.NUI /// The first value. /// The float value to scale the vector by. /// The vector containing the result of the scaling. + /// 3 public static Vector2 operator /(Vector2 arg1, float arg2) { return arg1.Divide(arg2); @@ -180,6 +187,7 @@ namespace Tizen.NUI /// /// The subscript index. /// The float at the given index. + /// 3 public float this[uint index] { get @@ -198,6 +206,7 @@ namespace Tizen.NUI /// /// The default constructor initializes the vector to 0. /// + /// 3 public Vector2() : this(NDalicPINVOKE.new_Vector2__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -208,6 +217,7 @@ namespace Tizen.NUI /// /// The x or width component. /// The y or height component. + /// 3 public Vector2(float x, float y) : this(NDalicPINVOKE.new_Vector2__SWIG_1(x, y), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -217,6 +227,7 @@ namespace Tizen.NUI /// The conversion constructor from an array of two floats. /// /// The array of xy. + /// 3 public Vector2(float[] array) : this(NDalicPINVOKE.new_Vector2__SWIG_2(array), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -226,6 +237,7 @@ namespace Tizen.NUI /// The constructor. /// /// Vector3 to create this vector from. + /// 3 public Vector2(Vector3 vec3) : this(NDalicPINVOKE.new_Vector2__SWIG_3(Vector3.getCPtr(vec3)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -235,6 +247,7 @@ namespace Tizen.NUI /// The constructor. /// /// Vector4 to create this vector from. + /// 3 public Vector2(Vector4 vec4) : this(NDalicPINVOKE.new_Vector2__SWIG_4(Vector4.getCPtr(vec4)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -243,6 +256,7 @@ namespace Tizen.NUI /// /// (1.0f,1.0f). /// + /// 3 public static Vector2 One { get @@ -257,6 +271,7 @@ namespace Tizen.NUI /// /// The vector representing the x-axis. /// + /// 3 public static Vector2 XAxis { get @@ -271,6 +286,7 @@ namespace Tizen.NUI /// /// The vector representing the y-axis. /// + /// 3 public static Vector2 YAxis { get @@ -285,6 +301,7 @@ namespace Tizen.NUI /// /// The vector representing the negative x-axis. /// + /// 3 public static Vector2 NegativeXAxis { get @@ -299,6 +316,7 @@ namespace Tizen.NUI /// /// The vector representing the negative y-axis. /// + /// 3 public static Vector2 NegativeYAxis { get @@ -313,6 +331,7 @@ namespace Tizen.NUI /// /// (0.0f, 0.0f). /// + /// 3 public static Vector2 Zero { get @@ -440,6 +459,7 @@ namespace Tizen.NUI /// Returns the length of the vector. /// /// The length of the vector. + /// 3 public float Length() { float ret = NDalicPINVOKE.Vector2_Length(swigCPtr); @@ -453,6 +473,7 @@ namespace Tizen.NUI /// testing as it avoids the use of a square root.
/// /// The length of the vector squared + /// 3 public float LengthSquared() { float ret = NDalicPINVOKE.Vector2_LengthSquared(swigCPtr); @@ -463,6 +484,7 @@ namespace Tizen.NUI /// /// Sets the vector to be the unit length, whilst maintaining its direction. /// + /// 3 public void Normalize() { NDalicPINVOKE.Vector2_Normalize(swigCPtr); @@ -474,6 +496,7 @@ namespace Tizen.NUI /// /// The minimum vector. /// The maximum vector. + /// 3 public void Clamp(Vector2 min, Vector2 max) { NDalicPINVOKE.Vector2_Clamp(swigCPtr, Vector2.getCPtr(min), Vector2.getCPtr(max)); @@ -491,6 +514,7 @@ namespace Tizen.NUI /// /// The x component. /// + /// 3 public float X { set @@ -509,6 +533,7 @@ namespace Tizen.NUI /// /// The width. /// + /// 3 public float Width { set @@ -527,6 +552,7 @@ namespace Tizen.NUI /// /// The y component. /// + /// 3 public float Y { set @@ -545,6 +571,7 @@ namespace Tizen.NUI /// /// The height. /// + /// 3 public float Height { set @@ -562,4 +589,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Vector3.cs b/src/Tizen.NUI/src/public/Vector3.cs index 2c8fb24..ae78eee 100755 --- a/src/Tizen.NUI/src/public/Vector3.cs +++ b/src/Tizen.NUI/src/public/Vector3.cs @@ -105,6 +105,7 @@ namespace Tizen.NUI /// The first value. /// The second value. /// The vector containing the result of the addition. + /// 3 public static Vector3 operator +(Vector3 arg1, Vector3 arg2) { return arg1.Add(arg2); @@ -116,6 +117,7 @@ namespace Tizen.NUI /// The first value. /// The second value. /// The vector containing the result of the subtraction. + /// 3 public static Vector3 operator -(Vector3 arg1, Vector3 arg2) { return arg1.Subtract(arg2); @@ -126,6 +128,7 @@ namespace Tizen.NUI /// /// The target value. /// The vector containg the negation. + /// 3 public static Vector3 operator -(Vector3 arg1) { return arg1.Subtract(); @@ -137,6 +140,7 @@ namespace Tizen.NUI /// The first value. /// The second value. /// The vector containing the result of the multiplication. + /// 3 public static Vector3 operator *(Vector3 arg1, Vector3 arg2) { return arg1.Multiply(arg2); @@ -148,6 +152,7 @@ namespace Tizen.NUI /// The first value. /// The float value to scale the vector. /// The vector containing the result of the scaling. + /// 3 public static Vector3 operator *(Vector3 arg1, float arg2) { return arg1.Multiply(arg2); @@ -159,6 +164,7 @@ namespace Tizen.NUI /// The first value. /// The second value. /// The vector containing the result of the division. + /// 3 public static Vector3 operator /(Vector3 arg1, Vector3 arg2) { return arg1.Divide(arg2); @@ -170,6 +176,7 @@ namespace Tizen.NUI /// The first value. /// The float value to scale the vector by. /// The vector containing the result of the scaling. + /// 3 public static Vector3 operator /(Vector3 arg1, float arg2) { return arg1.Divide(arg2); @@ -180,6 +187,7 @@ namespace Tizen.NUI /// /// The subscript index. /// The float at the given index. + /// 3 public float this[uint index] { get @@ -198,6 +206,7 @@ namespace Tizen.NUI /// /// The constructor. /// + /// 3 public Vector3() : this(NDalicPINVOKE.new_Vector3__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -209,6 +218,7 @@ namespace Tizen.NUI /// The x (or width) component. /// The y (or height) component. /// The z (or depth) component. + /// 3 public Vector3(float x, float y, float z) : this(NDalicPINVOKE.new_Vector3__SWIG_1(x, y, z), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -218,6 +228,7 @@ namespace Tizen.NUI /// Conversion constructor from an array of three floats. /// /// An array of xyz. + /// 3 public Vector3(float[] array) : this(NDalicPINVOKE.new_Vector3__SWIG_2(array), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -227,6 +238,7 @@ namespace Tizen.NUI /// The constructor. /// /// Vector2 to create this vector from. + /// 3 public Vector3(Vector2 vec2) : this(NDalicPINVOKE.new_Vector3__SWIG_3(Vector2.getCPtr(vec2)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -236,6 +248,7 @@ namespace Tizen.NUI /// The constructor. /// /// Vector4 to create this vector from. + /// 3 public Vector3(Vector4 vec4) : this(NDalicPINVOKE.new_Vector3__SWIG_4(Vector4.getCPtr(vec4)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -244,6 +257,7 @@ namespace Tizen.NUI /// /// (1.0f,1.0f,1.0f). /// + /// 3 public static Vector3 One { get @@ -258,6 +272,7 @@ namespace Tizen.NUI /// /// The vector representing the x-axis. /// + /// 3 public static Vector3 XAxis { get @@ -272,6 +287,7 @@ namespace Tizen.NUI /// /// The vector representing the y-axis. /// + /// 3 public static Vector3 YAxis { get @@ -286,6 +302,7 @@ namespace Tizen.NUI /// /// The vector representing the z-axis. /// + /// 3 public static Vector3 ZAxis { get @@ -300,6 +317,7 @@ namespace Tizen.NUI /// /// The vector representing the negative x-axis. /// + /// 3 public static Vector3 NegativeXAxis { get @@ -314,6 +332,7 @@ namespace Tizen.NUI /// /// Th vector representing the negative y-axis. /// + /// 3 public static Vector3 NegativeYAxis { get @@ -328,6 +347,7 @@ namespace Tizen.NUI /// /// The vector representing the negative z-axis. /// + /// 3 public static Vector3 NegativeZAxis { get @@ -342,6 +362,7 @@ namespace Tizen.NUI /// /// (0.0f, 0.0f, 0.0f). /// + /// 3 public static Vector3 Zero { get @@ -490,6 +511,7 @@ namespace Tizen.NUI /// Returns the length of the vector. /// /// The length of the vector. + /// 3 public float Length() { float ret = NDalicPINVOKE.Vector3_Length(swigCPtr); @@ -503,6 +525,7 @@ namespace Tizen.NUI /// testing as it avoids the use of a square root.
/// /// The length of the vector squared. + /// 3 public float LengthSquared() { float ret = NDalicPINVOKE.Vector3_LengthSquared(swigCPtr); @@ -513,6 +536,7 @@ namespace Tizen.NUI /// /// Sets the vector to be unit length, whilst maintaining its direction. /// + /// 3 public void Normalize() { NDalicPINVOKE.Vector3_Normalize(swigCPtr); @@ -524,6 +548,7 @@ namespace Tizen.NUI /// /// The minimum vector. /// The maximum vector. + /// 3 public void Clamp(Vector3 min, Vector3 max) { NDalicPINVOKE.Vector3_Clamp(swigCPtr, Vector3.getCPtr(min), Vector3.getCPtr(max)); @@ -542,6 +567,7 @@ namespace Tizen.NUI /// Returns the x and y components (or width and height, or r and g) as a Vector2. /// /// The partial vector contents as Vector2 (x,y). + /// 3 public Vector2 GetVectorXY() { Vector2 ret = new Vector2(NDalicPINVOKE.Vector3_GetVectorXY__SWIG_0(swigCPtr), false); @@ -553,6 +579,7 @@ namespace Tizen.NUI /// Returns the y and z components (or height and depth, or g and b) as a Vector2. /// /// The partial vector contents as Vector2 (y,z). + /// 3 public Vector2 GetVectorYZ() { Vector2 ret = new Vector2(NDalicPINVOKE.Vector3_GetVectorYZ__SWIG_0(swigCPtr), false); @@ -563,6 +590,7 @@ namespace Tizen.NUI /// /// The x component. /// + /// 3 public float X { set @@ -581,6 +609,7 @@ namespace Tizen.NUI /// /// The width component. /// + /// 3 public float Width { set @@ -599,6 +628,7 @@ namespace Tizen.NUI /// /// The red component. /// + /// 3 public float R { set @@ -617,6 +647,7 @@ namespace Tizen.NUI /// /// The y component. /// + /// 3 public float Y { set @@ -635,6 +666,7 @@ namespace Tizen.NUI /// /// The height component. /// + /// 3 public float Height { set @@ -653,6 +685,7 @@ namespace Tizen.NUI /// /// The green component. /// + /// 3 public float G { set @@ -671,6 +704,7 @@ namespace Tizen.NUI /// /// The z component. /// + /// 3 public float Z { set @@ -689,6 +723,7 @@ namespace Tizen.NUI /// /// The depth component. /// + /// 3 public float Depth { set @@ -707,6 +742,7 @@ namespace Tizen.NUI /// /// The blue component. /// + /// 3 public float B { set @@ -724,4 +760,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Vector4.cs b/src/Tizen.NUI/src/public/Vector4.cs index 6e0ed18..861b8fe 100755 --- a/src/Tizen.NUI/src/public/Vector4.cs +++ b/src/Tizen.NUI/src/public/Vector4.cs @@ -105,6 +105,7 @@ namespace Tizen.NUI /// The first value. /// The second value. /// The vector containing the result of the addition. + /// 3 public static Vector4 operator +(Vector4 arg1, Vector4 arg2) { return arg1.Add(arg2); @@ -116,6 +117,7 @@ namespace Tizen.NUI /// The first value. /// The second value. /// The vector containing the result of the subtraction. + /// 3 public static Vector4 operator -(Vector4 arg1, Vector4 arg2) { return arg1.Subtract(arg2); @@ -126,6 +128,7 @@ namespace Tizen.NUI /// /// The target value. /// The vector containing the negation. + /// 3 public static Vector4 operator -(Vector4 arg1) { return arg1.Subtract(); @@ -137,6 +140,7 @@ namespace Tizen.NUI /// The first value. /// The second value. /// The vector containing the result of the multiplication. + /// 3 public static Vector4 operator *(Vector4 arg1, Vector4 arg2) { return arg1.Multiply(arg2); @@ -148,6 +152,7 @@ namespace Tizen.NUI /// The first value. /// The float value to scale the vector. /// The vector containing the result of scaling. + /// 3 public static Vector4 operator *(Vector4 arg1, float arg2) { return arg1.Multiply(arg2); @@ -159,6 +164,7 @@ namespace Tizen.NUI /// The first value. /// The second value. /// The vector containing the result of the division. + /// 3 public static Vector4 operator /(Vector4 arg1, Vector4 arg2) { return arg1.Divide(arg2); @@ -170,6 +176,7 @@ namespace Tizen.NUI /// The first value. /// The float value to scale the vector by. /// The vector containing the result of scaling. + /// 3 public static Vector4 operator /(Vector4 arg1, float arg2) { return arg1.Divide(arg2); @@ -180,6 +187,7 @@ namespace Tizen.NUI /// /// The subscript index. /// The float at the given index. + /// 3 public float this[uint index] { get @@ -198,6 +206,7 @@ namespace Tizen.NUI /// /// The default constructor initializes the vector to 0. /// + /// 3 public Vector4() : this(NDalicPINVOKE.new_Vector4__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -210,6 +219,7 @@ namespace Tizen.NUI /// The y (or g/t) component. /// The z (or b/p) component. /// The w (or a/q) component. + /// 3 public Vector4(float x, float y, float z, float w) : this(NDalicPINVOKE.new_Vector4__SWIG_1(x, y, z, w), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -219,6 +229,7 @@ namespace Tizen.NUI /// The conversion constructor from an array of four floats. /// /// The array of either xyzw/rgba/stpq. + /// 3 public Vector4(float[] array) : this(NDalicPINVOKE.new_Vector4__SWIG_2(array), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -228,6 +239,7 @@ namespace Tizen.NUI /// The conversion constructor from Vector2. /// /// Vector2 to copy from, z and w are initialized to 0. + /// 3 public Vector4(Vector2 vec2) : this(NDalicPINVOKE.new_Vector4__SWIG_3(Vector2.getCPtr(vec2)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -237,6 +249,7 @@ namespace Tizen.NUI /// The conversion constructor from Vector3. /// /// Vector3 to copy from, w is initialized to 0. + /// 3 public Vector4(Vector3 vec3) : this(NDalicPINVOKE.new_Vector4__SWIG_4(Vector3.getCPtr(vec3)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -245,6 +258,7 @@ namespace Tizen.NUI /// /// (1.0f,1.0f,1.0f,1.0f). /// + /// 3 public static Vector4 One { get @@ -259,6 +273,7 @@ namespace Tizen.NUI /// /// (1.0f,0.0f,0.0f,0.0f). /// + /// 3 public static Vector4 XAxis { get @@ -273,6 +288,7 @@ namespace Tizen.NUI /// /// (0.0f,1.0f,0.0f,0.0f). /// + /// 3 public static Vector4 YAxis { get @@ -287,6 +303,7 @@ namespace Tizen.NUI /// /// (0.0f,0.0f,1.0f,0.0f). /// + /// 3 public static Vector4 ZAxis { get @@ -301,6 +318,7 @@ namespace Tizen.NUI /// /// (0.0f, 0.0f, 0.0f, 0.0f). /// + /// 3 public static Vector4 Zero { get @@ -456,6 +474,7 @@ namespace Tizen.NUI /// Returns the length of the vector. /// /// The length. + /// 3 public float Length() { float ret = NDalicPINVOKE.Vector4_Length(swigCPtr); @@ -469,6 +488,7 @@ namespace Tizen.NUI /// threshold checks as it avoids use of the square root.
/// /// The length of the vector squared. + /// 3 public float LengthSquared() { float ret = NDalicPINVOKE.Vector4_LengthSquared(swigCPtr); @@ -480,6 +500,7 @@ namespace Tizen.NUI /// Normalizes the vector.
/// Sets the vector to unit length whilst maintaining its direction.
/// + /// 3 public void Normalize() { NDalicPINVOKE.Vector4_Normalize(swigCPtr); @@ -491,6 +512,7 @@ namespace Tizen.NUI /// /// The minimum vector. /// The maximum vector. + /// 3 public void Clamp(Vector4 min, Vector4 max) { NDalicPINVOKE.Vector4_Clamp(swigCPtr, Vector4.getCPtr(min), Vector4.getCPtr(max)); @@ -508,6 +530,7 @@ namespace Tizen.NUI /// /// The x component. /// + /// 3 public float X { set @@ -526,6 +549,7 @@ namespace Tizen.NUI /// /// The red component. /// + /// 3 public float R { set @@ -544,6 +568,7 @@ namespace Tizen.NUI /// /// The s component. /// + /// 3 public float S { set @@ -562,6 +587,7 @@ namespace Tizen.NUI /// /// The y component. /// + /// 3 public float Y { set @@ -580,6 +606,7 @@ namespace Tizen.NUI /// /// The green component. /// + /// 3 public float G { set @@ -598,6 +625,7 @@ namespace Tizen.NUI /// /// The t component. /// + /// 3 public float T { set @@ -616,6 +644,7 @@ namespace Tizen.NUI /// /// The z component. /// + /// 3 public float Z { set @@ -634,6 +663,7 @@ namespace Tizen.NUI /// /// The blue component. /// + /// 3 public float B { set @@ -652,6 +682,7 @@ namespace Tizen.NUI /// /// The p component. /// + /// 3 public float P { set @@ -670,6 +701,7 @@ namespace Tizen.NUI /// /// The w component. /// + /// 3 public float W { set @@ -688,6 +720,7 @@ namespace Tizen.NUI /// /// The alpha component. /// + /// 3 public float A { set @@ -706,6 +739,7 @@ namespace Tizen.NUI /// /// The q component. /// + /// 3 public float Q { set @@ -723,4 +757,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/ViewWrapper.cs b/src/Tizen.NUI/src/public/ViewWrapper.cs index f931357..0fbfb7d 100755 --- a/src/Tizen.NUI/src/public/ViewWrapper.cs +++ b/src/Tizen.NUI/src/public/ViewWrapper.cs @@ -73,4 +73,4 @@ namespace Tizen.NUI if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/VisualBase.cs b/src/Tizen.NUI/src/public/VisualBase.cs index c745c51..7824f69 100755 --- a/src/Tizen.NUI/src/public/VisualBase.cs +++ b/src/Tizen.NUI/src/public/VisualBase.cs @@ -73,6 +73,7 @@ namespace Tizen.NUI /// /// Creates an empty visual handle. /// + /// 3 public VisualBase() : this(NDalicPINVOKE.new_VisualBase__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -86,6 +87,7 @@ namespace Tizen.NUI /// /// The name of the visual. /// + /// 3 public string Name { set @@ -116,6 +118,7 @@ namespace Tizen.NUI /// /// A property map describing the transform. /// The size of the parent control for visuals that need to scale internally. + /// 3 public void SetTransformAndSize(PropertyMap transform, Vector2 controlSize) { NDalicPINVOKE.VisualBase_SetTransformAndSize(swigCPtr, PropertyMap.getCPtr(transform), Vector2.getCPtr(controlSize)); @@ -127,6 +130,7 @@ namespace Tizen.NUI /// /// The width to use. /// The height based on the width. + /// 3 public float GetHeightForWidth(float width) { float ret = NDalicPINVOKE.VisualBase_GetHeightForWidth(swigCPtr, width); @@ -139,6 +143,7 @@ namespace Tizen.NUI /// /// The height to use. /// The width based on the height. + /// 3 public float GetWidthForHeight(float height) { float ret = NDalicPINVOKE.VisualBase_GetWidthForHeight(swigCPtr, height); @@ -152,6 +157,7 @@ namespace Tizen.NUI /// A visual may not actually have a natural size until it has been placed on window and acquired all it's resources.
/// /// The visual's natural size. + /// 3 public void GetNaturalSize(Size2D naturalSize) { NDalicPINVOKE.VisualBase_GetNaturalSize(swigCPtr, Size2D.getCPtr(naturalSize)); @@ -161,6 +167,7 @@ namespace Tizen.NUI /// /// The depth index of this visual. /// + /// 3 public int DepthIndex { set @@ -216,4 +223,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/VisualFactory.cs b/src/Tizen.NUI/src/public/VisualFactory.cs index 2e819e2..7825ff6 100755 --- a/src/Tizen.NUI/src/public/VisualFactory.cs +++ b/src/Tizen.NUI/src/public/VisualFactory.cs @@ -88,6 +88,7 @@ namespace Tizen.NUI /// /// The map contains the properties required by the visual. The content of the map determines the type of visual that will be returned. /// The handle to the created visual. + /// 3 public VisualBase CreateVisual(PropertyMap propertyMap) { VisualBase ret = new VisualBase(NDalicPINVOKE.VisualFactory_CreateVisual__SWIG_0(swigCPtr, PropertyMap.getCPtr(propertyMap)), true); @@ -107,6 +108,7 @@ namespace Tizen.NUI /// /// Retrieves the VisualFactory singleton. /// + /// 3 public static VisualFactory Instance { get @@ -117,4 +119,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/VisualMaps.cs b/src/Tizen.NUI/src/public/VisualMaps.cs index a6f99f0..fde3f81 100755 --- a/src/Tizen.NUI/src/public/VisualMaps.cs +++ b/src/Tizen.NUI/src/public/VisualMaps.cs @@ -64,6 +64,7 @@ namespace Tizen.NUI /// or absolute (in world units).
/// Optional. /// + /// 3 public Size2D Size { get @@ -87,6 +88,7 @@ namespace Tizen.NUI /// or absolute (in world units).
/// Optional. /// + /// 3 public Vector2 Position { get @@ -109,6 +111,7 @@ namespace Tizen.NUI /// (percentage [0.0f to 1.0f] of the control).
/// Optional. /// + /// 3 public RelativeVector2 RelativeSize { get @@ -128,6 +131,7 @@ namespace Tizen.NUI /// (percentage [0.0f to 1.0f] of the control).
/// Optional. /// + /// 3 public RelativeVector2 RelativePosition { get @@ -148,6 +152,7 @@ namespace Tizen.NUI /// By default, both the x and the y offset are relative.
/// Optional. /// + /// 3 public VisualTransformPolicyType PositionPolicy { get @@ -183,6 +188,7 @@ namespace Tizen.NUI /// By default, the x offset is relative.
/// Optional. /// + /// 3 public VisualTransformPolicyType PositionPolicyX { get @@ -223,6 +229,7 @@ namespace Tizen.NUI /// By default, the y offset is relative.
/// Optional. /// + /// 3 public VisualTransformPolicyType PositionPolicyY { get @@ -262,6 +269,7 @@ namespace Tizen.NUI /// By default, offsets of both the width and the height are relative to the control's size.
/// Optional. /// + /// 3 public VisualTransformPolicyType SizePolicy { get @@ -297,6 +305,7 @@ namespace Tizen.NUI /// By default, the value of the width is relative to the control's width.
/// Optional. /// + /// 3 public VisualTransformPolicyType SizePolicyWidth { get @@ -336,6 +345,7 @@ namespace Tizen.NUI /// By default, the height value is relative to the control's height.
/// Optional. /// + /// 3 public VisualTransformPolicyType SizePolicyHeight { get @@ -374,6 +384,7 @@ namespace Tizen.NUI /// By default, the origin is center.
/// Optional. /// + /// 3 public Visual.AlignType Origin { get @@ -392,6 +403,7 @@ namespace Tizen.NUI /// By default, the anchor point is center.
/// Optional. /// + /// 3 public Visual.AlignType AnchorPoint { get @@ -410,6 +422,7 @@ namespace Tizen.NUI /// By default, the depth index is 0.
/// Optional. /// + /// 3 public int DepthIndex { get @@ -436,6 +449,7 @@ namespace Tizen.NUI /// /// Gets the transform map used by the visual. /// + /// 3 public PropertyMap OutputTransformMap { get @@ -453,6 +467,7 @@ namespace Tizen.NUI /// /// Gets the property map to create the visual. /// + /// 3 public PropertyMap OutputVisualMap { get @@ -485,6 +500,7 @@ namespace Tizen.NUI /// /// The shader to use in the visual. /// + /// 3 public PropertyMap Shader { get @@ -502,6 +518,7 @@ namespace Tizen.NUI /// Enables or disables the premultiplied alpha.
/// The premultiplied alpha is false by default unless this behavior is modified by the derived visual type. /// + /// 3 public bool PremultipliedAlpha { get @@ -518,6 +535,7 @@ namespace Tizen.NUI /// /// Mix color is a blend color for any visual. /// + /// 3 public Color MixColor { get @@ -534,6 +552,7 @@ namespace Tizen.NUI /// /// Opacity is the alpha component of the mix color discussed above. /// + /// 3 public float Opacity { get @@ -577,6 +596,7 @@ namespace Tizen.NUI /// Mandatory. /// + /// 3 public string URL { get @@ -595,6 +615,7 @@ namespace Tizen.NUI /// Gets or sets the URL of the alpha mask.
/// Optional. /// + /// 3 public string AlphaMaskURL { get @@ -614,6 +635,7 @@ namespace Tizen.NUI /// For normal quad images only.
/// Optional. /// + /// 3 public FittingModeType FittingMode { get @@ -633,6 +655,7 @@ namespace Tizen.NUI /// For normal quad images only.
/// Optional. /// + /// 3 public SamplingModeType SamplingMode { get @@ -652,6 +675,7 @@ namespace Tizen.NUI /// For normal quad images only.
/// Optional. /// + /// 3 public int DesiredWidth { get @@ -671,6 +695,7 @@ namespace Tizen.NUI /// For normal quad images only.
/// Optional. /// + /// 3 public int DesiredHeight { get @@ -690,6 +715,7 @@ namespace Tizen.NUI /// For normal quad images only.
/// Optional. /// + /// 3 public bool SynchronousLoading { get @@ -709,6 +735,7 @@ namespace Tizen.NUI /// For n-patch images only.
/// Optional. /// + /// 3 public bool BorderOnly { get @@ -730,6 +757,7 @@ namespace Tizen.NUI /// For normal quad images only.
/// Optional. /// + /// 3 public Vector4 PixelArea { get @@ -750,6 +778,7 @@ namespace Tizen.NUI /// For normal quad images only.
/// Optional. /// + /// 3 public WrapModeType WrapModeU { get @@ -771,6 +800,7 @@ namespace Tizen.NUI /// For normal quad images only. /// Optional. /// + /// 3 public WrapModeType WrapModeV { get @@ -784,6 +814,10 @@ namespace Tizen.NUI } } + /// + /// Gets or sets scale factor to apply to the content image before masking. + /// + /// 4 public float MaskContentScale { get @@ -797,6 +831,10 @@ namespace Tizen.NUI } } + /// + /// Whether to crop image to mask or scale mask to fit image. + /// + /// 4 public bool CropToMask { get @@ -860,6 +898,7 @@ namespace Tizen.NUI /// Gets or sets the text to display in the UTF-8 format.
/// Mandatory. /// + /// 3 public string Text { get @@ -877,6 +916,7 @@ namespace Tizen.NUI /// Gets or sets the requested font family to use.
/// Optional. /// + /// 3 public string FontFamily { get @@ -894,6 +934,7 @@ namespace Tizen.NUI /// Gets or sets the requested font style to use.
/// Optional. /// + /// 3 public PropertyMap FontStyle { get @@ -911,6 +952,7 @@ namespace Tizen.NUI /// Gets or sets the size of font in points.
/// Mandatory. /// + /// 3 public float PointSize { get @@ -929,6 +971,7 @@ namespace Tizen.NUI /// If not specified, the default is false.
/// Optional. /// + /// 3 public bool MultiLine { get @@ -947,6 +990,7 @@ namespace Tizen.NUI /// If not specified, the default is begin.
/// Optional. /// + /// 3 public HorizontalAlignment HorizontalAlignment { get @@ -997,6 +1041,7 @@ namespace Tizen.NUI /// If not specified, the default is top.
/// Optional. /// + /// 3 public VerticalAlignment VerticalAlignment { get @@ -1046,6 +1091,7 @@ namespace Tizen.NUI /// Gets or sets the color of the text.
/// Optional. /// + /// 3 public Color TextColor { get @@ -1063,6 +1109,7 @@ namespace Tizen.NUI /// Gets or sets whether the mark-up processing is enabled.
/// Optional. /// + /// 3 public bool EnableMarkup { get @@ -1116,6 +1163,7 @@ namespace Tizen.NUI /// Gets or sets the color of the border.
/// Mandatory. /// + /// 3 public Color Color { get @@ -1133,6 +1181,7 @@ namespace Tizen.NUI /// Gets or sets the width of the border (in pixels).
/// Mandatory. /// + /// 3 public float BorderSize { get @@ -1151,6 +1200,7 @@ namespace Tizen.NUI /// If not supplied, the default is false.
/// Optional. /// + /// 3 public bool AntiAliasing { get @@ -1196,6 +1246,7 @@ namespace Tizen.NUI /// Gets or sets the solid color required.
/// Mandatory. /// + /// 3 public Color Color { get @@ -1245,6 +1296,7 @@ namespace Tizen.NUI /// Gets or sets the start position of a linear gradient.
/// Mandatory for linear.
/// + /// 3 public Vector2 StartPosition { get @@ -1262,6 +1314,7 @@ namespace Tizen.NUI /// Gets or sets the end position of a linear gradient.
/// Mandatory for linear.
/// + /// 3 public Vector2 EndPosition { get @@ -1279,6 +1332,7 @@ namespace Tizen.NUI /// Gets or sets the center point of a radial gradient.
/// Mandatory for radial.
/// + /// 3 public Vector2 Center { get @@ -1296,6 +1350,7 @@ namespace Tizen.NUI /// Gets or sets the size of the radius of a radial gradient.
/// Mandatory for radial.
/// + /// 3 public float Radius { get @@ -1315,6 +1370,7 @@ namespace Tizen.NUI /// If not supplied, the default is 0.0f and 1.0f.
/// Optional. /// + /// 3 public PropertyArray StopOffset { get @@ -1334,6 +1390,7 @@ namespace Tizen.NUI /// At least 2 values are required to show a gradient.
/// Mandatory. /// + /// 3 public PropertyArray StopColor { get @@ -1352,6 +1409,7 @@ namespace Tizen.NUI /// If not supplied, the default is GradientVisualUnitsType.ObjectBoundingBox.
/// Optional. /// + /// 3 public GradientVisualUnitsType Units { get @@ -1370,6 +1428,7 @@ namespace Tizen.NUI /// If not supplied, the default is GradientVisualSpreadMethodType.Pad.
/// Optional. /// + /// 3 public GradientVisualSpreadMethodType SpreadMethod { get @@ -1426,6 +1485,7 @@ namespace Tizen.NUI /// Gets or sets the location of the ".obj" file.
/// Mandatory. /// + /// 3 public string ObjectURL { get @@ -1444,6 +1504,7 @@ namespace Tizen.NUI /// If not specified, then a textureless object is assumed.
/// Optional. /// + /// 3 public string MaterialtURL { get @@ -1461,6 +1522,7 @@ namespace Tizen.NUI /// Gets or sets the path to the directory the textures (including gloss and normal) are stored in.
/// Mandatory if using material.
/// + /// 3 public string TexturesPath { get @@ -1480,6 +1542,7 @@ namespace Tizen.NUI /// If not specified, it will use the best it can support (will try MeshVisualShadingModeValue.TexturedWithDetailedSpecularLighting first).
/// Optional. /// + /// 3 public MeshVisualShadingModeValue ShadingMode { get @@ -1498,6 +1561,7 @@ namespace Tizen.NUI /// If not specified, the default is true.
/// Optional. /// + /// 3 public bool UseMipmapping { get @@ -1516,6 +1580,7 @@ namespace Tizen.NUI /// If not specified, the default is true.
/// Optional. /// + /// 3 public bool UseSoftNormals { get @@ -1536,6 +1601,7 @@ namespace Tizen.NUI /// If not specified, the default is an offset outwards from the center of the screen.
/// Optional. /// + /// 3 public Vector3 LightPosition { get @@ -1596,6 +1662,7 @@ namespace Tizen.NUI /// If not specified, the default is PrimitiveVisualShapeType.Sphere.
/// Optional. /// + /// 3 public PrimitiveVisualShapeType Shape { get @@ -1615,6 +1682,7 @@ namespace Tizen.NUI /// Applies to all shapes.
/// Optional. /// + /// 3 public new Color MixColor { get @@ -1635,6 +1703,7 @@ namespace Tizen.NUI /// The range is from 1 to 255.
/// Optional. /// + /// 3 public int Slices { get @@ -1655,6 +1724,7 @@ namespace Tizen.NUI /// The range is from 1 to 255.
/// Optional. /// + /// 3 public int Stacks { get @@ -1675,6 +1745,7 @@ namespace Tizen.NUI /// Only values greater than or equal to 0.0f are accepted.
/// Optional. /// + /// 3 public float ScaleTopRadius { get @@ -1696,6 +1767,7 @@ namespace Tizen.NUI /// Only values greater than or equal to 0.0f are accepted.
/// Optional. /// + /// 3 public float ScaleBottomRadius { get @@ -1719,6 +1791,7 @@ namespace Tizen.NUI /// Only values greater than or equal to 0.0f are accepted.
/// Optional. /// + /// 3 public float ScaleHeight { get @@ -1740,6 +1813,7 @@ namespace Tizen.NUI /// Only values greater than or equal to 0.0f are accepted.
/// Optional. /// + /// 3 public float ScaleRadius { get @@ -1763,6 +1837,7 @@ namespace Tizen.NUI /// Each Vector3 parameter should be greater than or equal to 0.0f.
/// Optional. /// + /// 3 public Vector3 ScaleDimensions { get @@ -1785,6 +1860,7 @@ namespace Tizen.NUI /// The range is from 0.0f to 1.0f.
/// Optional. /// + /// 3 public float BevelPercentage { get @@ -1806,6 +1882,7 @@ namespace Tizen.NUI /// The range is from 0.0f to 1.0f.
/// Optional. /// + /// 3 public float BevelSmoothness { get @@ -1827,6 +1904,7 @@ namespace Tizen.NUI /// Applies to all shapes.
/// Optional. /// + /// 3 public Vector3 LightPosition { get @@ -1879,6 +1957,7 @@ namespace Tizen.NUI /// Gets or sets the URL of the image.
/// Mandatory. /// + /// 3 public string URL { get @@ -1898,6 +1977,7 @@ namespace Tizen.NUI /// For n-patch images only.
/// Optional. /// + /// 3 public bool BorderOnly { get @@ -1916,6 +1996,7 @@ namespace Tizen.NUI /// For n-patch images only.
/// Optional. /// + /// 3 public Rectangle Border { get @@ -1999,6 +2080,10 @@ namespace Tizen.NUI private int? _cacheSize = null; private float? _frameDelay = null; + /// + /// Gets and Sets the url in the AnimatedImageVisual. + /// + /// 4 public string URL { get @@ -2027,6 +2112,10 @@ namespace Tizen.NUI } } + /// + /// Gets and Sets the url list in the AnimatedImageVisual. + /// + /// 4 public List URLS { get @@ -2040,6 +2129,10 @@ namespace Tizen.NUI } } + /// + /// Gets and Sets the batch size for pre-loading images in the AnimatedImageVisual. + /// + /// 4 public int BatchSize { get @@ -2053,6 +2146,10 @@ namespace Tizen.NUI } } + /// + /// Gets and Sets the cache size for loading images in the AnimatedImageVisual. + /// + /// 4 public int CacheSize { get @@ -2065,6 +2162,11 @@ namespace Tizen.NUI UpdateVisual(); } } + + /// + /// Gets and Sets The number of milliseconds between each frame in the AnimatedImageVisual. + /// + /// 4 public float FrameDelay { get @@ -2109,10 +2211,16 @@ namespace Tizen.NUI } - //temporary fix for TCT + /// + /// A class encapsulating the property map of the transition data. + /// public class VisualAnimator : VisualMap { + /// + /// Create VisualAnimator object. + /// + /// 3 public VisualAnimator() : base() { } @@ -2124,6 +2232,10 @@ namespace Tizen.NUI private string _propertyIndex = null; private object _destinationValue = null; + /// + /// Sets and Gets the AlphaFunction of this transition. + /// + /// 3 public AlphaFunction.BuiltinFunctions AlphaFunction { get @@ -2238,6 +2350,10 @@ namespace Tizen.NUI } } + /// + /// Sets and Gets the StartTime of this transition. + /// + /// 3 public int StartTime { get @@ -2250,6 +2366,10 @@ namespace Tizen.NUI } } + /// + /// Sets and Gets the EndTime of this transition. + /// + /// 3 public int EndTime { get @@ -2262,6 +2382,10 @@ namespace Tizen.NUI } } + /// + /// Sets and Gets the Target of this transition. + /// + /// 3 public string Target { get @@ -2274,6 +2398,10 @@ namespace Tizen.NUI } } + /// + /// Sets and Gets the PropertyIndex of this transition. + /// + /// 3 public string PropertyIndex { get @@ -2286,6 +2414,10 @@ namespace Tizen.NUI } } + /// + /// Sets and Gets the DestinationValue of this transition. + /// + /// 3 public object DestinationValue { get @@ -2327,4 +2459,4 @@ namespace Tizen.NUI -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Wheel.cs b/src/Tizen.NUI/src/public/Wheel.cs index 286580a..6b319ac 100755 --- a/src/Tizen.NUI/src/public/Wheel.cs +++ b/src/Tizen.NUI/src/public/Wheel.cs @@ -113,6 +113,7 @@ namespace Tizen.NUI /// /// The type of the wheel event. /// + /// 3 public Wheel.WheelType Type { get @@ -124,6 +125,7 @@ namespace Tizen.NUI /// /// The direction of wheel rolling (0 = default vertical wheel, 1 = horizontal wheel). /// + /// 3 public int Direction { get @@ -135,6 +137,7 @@ namespace Tizen.NUI /// /// Modifier keys pressed during the event (such as Shift, Alt, and Ctrl). /// + /// 3 public uint Modifiers { get @@ -146,6 +149,7 @@ namespace Tizen.NUI /// /// The coordinates of the cursor relative to the top-left of the screen. /// + /// 3 public Vector2 Point { get @@ -157,6 +161,7 @@ namespace Tizen.NUI /// /// The offset of rolling (positive value means roll down or clockwise, and negative value means roll up or counter-clockwise). /// + /// 3 public int Z { get @@ -168,6 +173,7 @@ namespace Tizen.NUI /// /// The time the wheel is being rolled. /// + /// 3 public uint TimeStamp { get @@ -179,6 +185,7 @@ namespace Tizen.NUI /// /// The default constructor. /// + /// 3 public Wheel() : this(NDalicPINVOKE.new_Wheel__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -193,6 +200,7 @@ namespace Tizen.NUI /// The coordinates of the cursor relative to the top-left of the screen. /// The offset of rolling (positive value means roll down or clockwise, and negative value means roll up or counter-clockwise). /// The time the wheel is being rolled. + /// 3 public Wheel(Wheel.WheelType type, int direction, uint modifiers, Vector2 point, int z, uint timeStamp) : this(NDalicPINVOKE.new_Wheel__SWIG_1((int)type, direction, modifiers, Vector2.getCPtr(point), z, timeStamp), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -202,6 +210,7 @@ namespace Tizen.NUI /// Checks to see if the Shift key modifier has been supplied. /// /// True if Shift modifier. + /// 3 public bool IsShiftModifier() { bool ret = NDalicPINVOKE.Wheel_IsShiftModifier(swigCPtr); @@ -213,6 +222,7 @@ namespace Tizen.NUI /// Checks to see if Ctrl (control) key modifier has been supplied. /// /// True if Ctrl modifier. + /// 3 public bool IsCtrlModifier() { bool ret = NDalicPINVOKE.Wheel_IsCtrlModifier(swigCPtr); @@ -224,6 +234,7 @@ namespace Tizen.NUI /// Checks to see if Alt key modifier has been supplied. /// /// True if Alt modifier. + /// 3 public bool IsAltModifier() { bool ret = NDalicPINVOKE.Wheel_IsAltModifier(swigCPtr); @@ -325,6 +336,7 @@ namespace Tizen.NUI /// /// The type of the wheel event. /// + /// 3 public enum WheelType { MouseWheel, @@ -333,4 +345,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Widget.cs b/src/Tizen.NUI/src/public/Widget.cs index 098e5ab..5d3beb9 100755 --- a/src/Tizen.NUI/src/public/Widget.cs +++ b/src/Tizen.NUI/src/public/Widget.cs @@ -74,6 +74,7 @@ namespace Tizen.NUI /// This is the constructor for Widget. /// /// for widget instance + /// 4 public Widget(string id) : this(NDalicManualPINVOKE.Widget_New(id), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -99,6 +100,7 @@ namespace Tizen.NUI /// /// widget data. /// + /// 4 public WidgetData WidgetData { get; @@ -108,6 +110,7 @@ namespace Tizen.NUI /// /// a bundle. /// + /// 4 public SWIGTYPE_p_bundle Bundle { get; @@ -117,6 +120,7 @@ namespace Tizen.NUI /// /// window size. /// + /// 4 public Size2D WindowSize { get; @@ -132,6 +136,7 @@ namespace Tizen.NUI /// /// Create event. /// + /// 4 public event EventHandler Create { add @@ -192,6 +197,7 @@ namespace Tizen.NUI /// /// widget data. /// + /// 4 public WidgetData WidgetData { get; @@ -201,6 +207,7 @@ namespace Tizen.NUI /// /// a bundle. /// + /// 4 public SWIGTYPE_p_bundle Bundle { get; @@ -210,6 +217,7 @@ namespace Tizen.NUI /// /// widget terminate type. /// + /// 4 public WidgetTerminateType WidgetTerminateType { get; @@ -225,6 +233,7 @@ namespace Tizen.NUI /// /// Terminate event. /// + /// 4 public event EventHandler Terminate { add @@ -280,6 +289,7 @@ namespace Tizen.NUI /// /// widget data. /// + /// 4 public WidgetData WidgetData { get; @@ -295,6 +305,7 @@ namespace Tizen.NUI /// /// Pause event. /// + /// 4 public event EventHandler Pause { add @@ -345,6 +356,7 @@ namespace Tizen.NUI /// /// widget data. /// + /// 4 public WidgetData WidgetData { get; @@ -360,6 +372,7 @@ namespace Tizen.NUI /// /// Resume event. /// + /// 4 public event EventHandler Resume { add @@ -410,6 +423,7 @@ namespace Tizen.NUI /// /// widget data. /// + /// 4 public WidgetData WidgetData { get; @@ -419,6 +433,7 @@ namespace Tizen.NUI /// /// window size. /// + /// 4 public Size2D WindowSize { get; @@ -434,6 +449,7 @@ namespace Tizen.NUI /// /// Resize event. /// + /// 4 public event EventHandler Resize { add @@ -490,6 +506,7 @@ namespace Tizen.NUI /// /// widget data. /// + /// 4 public WidgetData WidgetData { get; @@ -499,6 +516,7 @@ namespace Tizen.NUI /// /// A bundle. /// + /// 4 public SWIGTYPE_p_bundle Bundle { get; @@ -513,6 +531,7 @@ namespace Tizen.NUI /// 1 -> force but do someting /// 2 -> force /// + /// 4 public int Force { get; @@ -528,6 +547,7 @@ namespace Tizen.NUI /// /// Update event. /// + /// 4 public event EventHandler Update { add @@ -578,6 +598,7 @@ namespace Tizen.NUI /// /// Enumeration for terminate type of widget instance. /// + /// 4 public enum WidgetTerminateType { /// @@ -593,6 +614,7 @@ namespace Tizen.NUI /// /// Enumeration for lifecycle event type of widget instance. /// + /// 4 public enum WidgetLifecycleEventType { /// @@ -617,4 +639,4 @@ namespace Tizen.NUI Resume = 4 } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/WidgetData.cs b/src/Tizen.NUI/src/public/WidgetData.cs index 7053846..accee1d 100755 --- a/src/Tizen.NUI/src/public/WidgetData.cs +++ b/src/Tizen.NUI/src/public/WidgetData.cs @@ -95,6 +95,7 @@ namespace Tizen.NUI /// Get widget instance id. /// /// Id of widget instance. + /// 4 public string GetInstanceId() { string ret = NDalicManualPINVOKE.WidgetData_GetInstanceId(swigCPtr); @@ -114,6 +115,7 @@ namespace Tizen.NUI /// Get widget instance content. /// /// Content of widget instance. + /// 4 public string GetContent() { string ret = NDalicManualPINVOKE.WidgetData_GetContent(swigCPtr); @@ -125,6 +127,7 @@ namespace Tizen.NUI /// Get widget instance Window. /// /// Window of widget instance + /// 4 public Window GetWindow() { Window ret = new Window(NDalicManualPINVOKE.WidgetData_GetWindow(swigCPtr), false); @@ -142,6 +145,7 @@ namespace Tizen.NUI /// Set widget instance arguments. /// /// Content of widget instance + /// 4 public void SetContent(string content) { NDalicManualPINVOKE.WidgetData_SetContent(swigCPtr, content); @@ -152,10 +156,11 @@ namespace Tizen.NUI /// Set widget instance arguments. /// /// Window of widget instance. + /// 4 public void SetWindow(Window window) { NDalicManualPINVOKE.WidgetData_SetWindow(swigCPtr, Window.getCPtr(window)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/WidgetView.cs b/src/Tizen.NUI/src/public/WidgetView.cs index 26c716f..47180a5 100755 --- a/src/Tizen.NUI/src/public/WidgetView.cs +++ b/src/Tizen.NUI/src/public/WidgetView.cs @@ -97,6 +97,7 @@ namespace Tizen.NUI /// /// Creates a new WidgetView. /// + /// 4 public WidgetView(string widgetId, string contentInfo, int width, int height, float updatePeriod) : this(NDalicManualPINVOKE.WidgetView_New(widgetId, contentInfo, width, height, updatePeriod), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -139,6 +140,7 @@ namespace Tizen.NUI /// /// The widet view. /// + /// 4 public WidgetView WidgetView { get @@ -162,6 +164,7 @@ namespace Tizen.NUI /// This signal is emitted after all resources required by a control are loaded and ready.
/// Most resources are only loaded when the control is placed on the stage.
/// + /// 3 public event EventHandler WidgetAdded { add @@ -211,6 +214,7 @@ namespace Tizen.NUI /// This signal is emitted after all resources required by a control are loaded and ready.
/// Most resources are only loaded when the control is placed on the stage.
/// + /// 4 public event EventHandler WidgetDeleted { add @@ -260,6 +264,7 @@ namespace Tizen.NUI /// This signal is emitted after all resources required by a control are loaded and ready.
/// Most resources are only loaded when the control is placed on the stage.
/// + /// 4 public event EventHandler WidgetCreationAborted { add @@ -309,6 +314,7 @@ namespace Tizen.NUI /// This signal is emitted after all resources required by a control are loaded and ready.
/// Most resources are only loaded when the control is placed on the stage.
/// + /// 4 public event EventHandler WidgetContentUpdated { add @@ -358,6 +364,7 @@ namespace Tizen.NUI /// This signal is emitted after all resources required by a control are loaded and ready.
/// Most resources are only loaded when the control is placed on the stage.
/// + /// 4 public event EventHandler WidgetUpdatePeriodChanged { add @@ -407,6 +414,7 @@ namespace Tizen.NUI /// This signal is emitted after all resources required by a control are loaded and ready.
/// Most resources are only loaded when the control is placed on the stage.
/// + /// 4 public event EventHandler WidgetFaulted { add @@ -450,6 +458,7 @@ namespace Tizen.NUI /// Pauses a given widget. /// /// True on success, false otherwise. + /// 4 public bool PauseWidget() { bool ret = NDalicManualPINVOKE.WidgetView_PauseWidget(swigCPtr); @@ -461,6 +470,7 @@ namespace Tizen.NUI /// Resumes a given widget. /// /// True on success, false otherwise. + /// 4 public bool ResumeWidget() { bool ret = NDalicManualPINVOKE.WidgetView_ResumeWidget(swigCPtr); @@ -474,6 +484,7 @@ namespace Tizen.NUI /// If a widget gets ON_HOLD event, it will not do anything even if you feed touch up event. /// /// True on success, false otherwise. + /// 4 public bool CancelTouchEvent() { bool ret = NDalicManualPINVOKE.WidgetView_CancelTouchEvent(swigCPtr); @@ -485,6 +496,7 @@ namespace Tizen.NUI /// Activates a widget in the faulted state. /// A widget in faulted state must be activated before adding the widget. /// + /// 4 public void ActivateFaultedWidget() { NDalicManualPINVOKE.WidgetView_ActivateFaultedWidget(swigCPtr); @@ -536,6 +548,7 @@ namespace Tizen.NUI /// /// Gets the ID of the widget. /// + /// 4 public string WidgetID { get @@ -549,6 +562,7 @@ namespace Tizen.NUI /// /// Gets the ID of the instance. /// + /// 4 public string InstanceID { get @@ -562,6 +576,7 @@ namespace Tizen.NUI /// /// Gets the content info. /// + /// 4 public string ContentInfo { get @@ -575,6 +590,7 @@ namespace Tizen.NUI /// /// Gets the title. /// + /// 4 public string Title { get @@ -588,6 +604,7 @@ namespace Tizen.NUI /// /// Gets the update peroid. /// + /// 4 public float UpdatePeriod { get @@ -601,6 +618,7 @@ namespace Tizen.NUI /// /// Gets or sets the preview. /// + /// 4 public bool Preview { get @@ -618,6 +636,7 @@ namespace Tizen.NUI /// /// Gets or sets the loading text. /// + /// 4 public bool LoadingText { get @@ -635,6 +654,7 @@ namespace Tizen.NUI /// /// Gets or sets whether the widget state is faulted or not. /// + /// 4 public bool WidgetStateFaulted { get @@ -652,6 +672,7 @@ namespace Tizen.NUI /// /// Gets or sets whether the widget is to delete permanently or not. /// + /// 4 public bool PermanentDelete { get @@ -668,4 +689,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/WidgetViewManager.cs b/src/Tizen.NUI/src/public/WidgetViewManager.cs index 5391a78..62b67de 100755 --- a/src/Tizen.NUI/src/public/WidgetViewManager.cs +++ b/src/Tizen.NUI/src/public/WidgetViewManager.cs @@ -77,6 +77,10 @@ namespace Tizen.NUI base.Dispose(type); } + /// + /// Creates a new widgetView manager object. + /// + /// 4 public WidgetViewManager(NUIApplication nuiApplication, string appId) : this(NDalicManualPINVOKE.WidgetViewManager_New(Application.getCPtr(nuiApplication.ApplicationHandle), appId), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -110,6 +114,7 @@ namespace Tizen.NUI /// The widget height. /// The period of updating contents of the widget. /// A handle to WidgetView. + /// 4 public WidgetView AddWidget(string widgetId, string contentInfo, int width, int height, float updatePeriod) { WidgetView ret = new WidgetView(NDalicManualPINVOKE.WidgetViewManager_AddWidget(swigCPtr, widgetId, contentInfo, width, height, updatePeriod), true); @@ -119,4 +124,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/Window.cs b/src/Tizen.NUI/src/public/Window.cs index 2e76f74..a7e7271 100755 --- a/src/Tizen.NUI/src/public/Window.cs +++ b/src/Tizen.NUI/src/public/Window.cs @@ -150,6 +150,7 @@ namespace Tizen.NUI /// Sets whether the window accepts a focus or not. /// /// If a focus is accepted or not. The default is true. + /// 3 public void SetAcceptFocus(bool accept) { NDalicPINVOKE.SetAcceptFocus(swigCPtr, accept); @@ -160,6 +161,7 @@ namespace Tizen.NUI /// Returns whether the window accepts a focus or not. /// /// True if the window accepts a focus, false otherwise. + /// 3 public bool IsFocusAcceptable() { bool ret = NDalicPINVOKE.IsFocusAcceptable(swigCPtr); @@ -171,6 +173,7 @@ namespace Tizen.NUI /// /// Shows the window if it is hidden. /// + /// 3 public void Show() { NDalicPINVOKE.Show(swigCPtr); @@ -180,6 +183,7 @@ namespace Tizen.NUI /// /// Hides the window if it is showing. /// + /// 3 public void Hide() { NDalicPINVOKE.Hide(swigCPtr); @@ -190,6 +194,7 @@ namespace Tizen.NUI /// Retrieves whether the window is visible or not. /// /// True if the window is visible. + /// 3 public bool IsVisible() { bool temp = NDalicPINVOKE.IsVisible(swigCPtr); @@ -201,6 +206,7 @@ namespace Tizen.NUI /// Gets the count of supported auxiliary hints of the window. /// /// The number of supported auxiliary hints. + /// 3 public uint GetSupportedAuxiliaryHintCount() { uint ret = NDalicPINVOKE.GetSupportedAuxiliaryHintCount(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -212,6 +218,7 @@ namespace Tizen.NUI /// /// The index of the supported auxiliary hint lists. /// The auxiliary hint string of the index. + /// 3 public string GetSupportedAuxiliaryHint(uint index) { string ret = NDalicPINVOKE.GetSupportedAuxiliaryHint(swigCPtr, index); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -224,6 +231,7 @@ namespace Tizen.NUI /// The auxiliary hint string. /// The value string. /// The ID of created auxiliary hint, or 0 on failure. + /// 3 public uint AddAuxiliaryHint(string hint, string value) { uint ret = NDalicPINVOKE.AddAuxiliaryHint(swigCPtr, hint, value); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -235,6 +243,7 @@ namespace Tizen.NUI /// /// The ID of the auxiliary hint. /// True if no error occurred, false otherwise. + /// 3 public bool RemoveAuxiliaryHint(uint id) { bool ret = NDalicPINVOKE.RemoveAuxiliaryHint(swigCPtr, id); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -247,6 +256,7 @@ namespace Tizen.NUI /// The auxiliary hint ID. /// The value string to be set. /// True if no error occurred, false otherwise. + /// 3 public bool SetAuxiliaryHintValue(uint id, string value) { bool ret = NDalicPINVOKE.SetAuxiliaryHintValue(swigCPtr, id, value); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -258,6 +268,7 @@ namespace Tizen.NUI /// /// The auxiliary hint ID. /// The string value of the auxiliary hint ID, or an empty string if none exists. + /// 3 public string GetAuxiliaryHintValue(uint id) { string ret = NDalicPINVOKE.GetAuxiliaryHintValue(swigCPtr, id); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -269,6 +280,7 @@ namespace Tizen.NUI /// /// The auxiliary hint string. /// The ID of auxiliary hint string, or 0 on failure. + /// 3 public uint GetAuxiliaryHintId(string hint) { uint ret = NDalicPINVOKE.GetAuxiliaryHintId(swigCPtr, hint); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -279,6 +291,7 @@ namespace Tizen.NUI /// Sets a region to accept input events. /// /// The region to accept input events. + /// 3 public void SetInputRegion(Rectangle inputRegion) { NDalicPINVOKE.SetInputRegion(swigCPtr, Rectangle.getCPtr(inputRegion)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -287,6 +300,7 @@ namespace Tizen.NUI /// /// Gets or sets a window type. /// + /// 3 public WindowType Type { get @@ -307,6 +321,7 @@ namespace Tizen.NUI /// /// The notification window level. /// True if no error occurred, false otherwise. + /// 3 public bool SetNotificationLevel(NotificationLevel level) { bool ret = NDalicPINVOKE.SetNotificationLevel(swigCPtr, (int)level); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -317,6 +332,7 @@ namespace Tizen.NUI /// Gets a priority level for the specified notification window. /// /// The notification window level. + /// 3 public NotificationLevel GetNotificationLevel() { NotificationLevel ret = (NotificationLevel)NDalicPINVOKE.GetNotificationLevel(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -327,6 +343,7 @@ namespace Tizen.NUI /// Sets a transparent window's visual state to opaque. /// /// Whether the window's visual state is opaque. + /// 3 public void SetOpaqueState(bool opaque) { NDalicPINVOKE.SetOpaqueState(swigCPtr, opaque); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -336,6 +353,7 @@ namespace Tizen.NUI /// Returns whether a transparent window's visual state is opaque or not. /// /// True if the window's visual state is opaque, false otherwise. + /// 3 public bool IsOpaqueState() { bool ret = NDalicPINVOKE.IsOpaqueState(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -347,6 +365,7 @@ namespace Tizen.NUI /// /// The screen mode. /// True if no error occurred, false otherwise. + /// 3 public bool SetScreenMode(ScreenMode screenMode) { bool ret = NDalicPINVOKE.SetScreenMode(swigCPtr, (int)screenMode); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -357,6 +376,7 @@ namespace Tizen.NUI /// Gets the screen mode of the window. /// /// The screen mode. + /// 3 public ScreenMode GetScreenMode() { ScreenMode ret = (ScreenMode)NDalicPINVOKE.GetScreenMode(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -368,6 +388,7 @@ namespace Tizen.NUI /// /// The preferred brightness (0 to 100). /// True if no error occurred, false otherwise. + /// 3 public bool SetBrightness(int brightness) { bool ret = NDalicPINVOKE.SetBrightness(swigCPtr, brightness); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -378,6 +399,7 @@ namespace Tizen.NUI /// Gets the preferred brightness of the window. /// /// The preferred brightness. + /// 3 public int GetBrightness() { int ret = NDalicPINVOKE.GetBrightness(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -398,6 +420,10 @@ namespace Tizen.NUI private delegate void WindowFocusChangedEventCallbackType(bool focusGained); private event EventHandler _windowFocusChangedEventHandler; + /// + /// FocusChanged event. + /// + /// 4 public event EventHandler FocusChanged { add @@ -436,6 +462,7 @@ namespace Tizen.NUI /// /// Gets/Sets a window title. /// + /// 4 public string Title { get @@ -499,6 +526,7 @@ namespace Tizen.NUI /// /// The name of the window. /// The class of the window. + /// 4 public void SetClass(string name, string klass) { NDalicPINVOKE.Window_SetClass(swigCPtr, name, klass); @@ -508,6 +536,7 @@ namespace Tizen.NUI /// /// Raises the window to the top of the window stack. /// + /// 3 public void Raise() { NDalicPINVOKE.Window_Raise(swigCPtr); @@ -517,6 +546,7 @@ namespace Tizen.NUI /// /// Lowers the window to the bottom of the window stack. /// + /// 3 public void Lower() { NDalicPINVOKE.Window_Lower(swigCPtr); @@ -526,6 +556,7 @@ namespace Tizen.NUI /// /// Activates the window to the top of the window stack even it is iconified. /// + /// 3 public void Activate() { NDalicPINVOKE.Window_Activate(swigCPtr); @@ -582,6 +613,7 @@ namespace Tizen.NUI /// Gets the default ( root ) layer. /// /// The root layer. + /// 3 public Layer GetDefaultLayer() { return this.GetRootLayer(); @@ -637,6 +669,7 @@ namespace Tizen.NUI return ret; } + /// 3 public Layer GetLayer(uint depth) { IntPtr cPtr = NDalicPINVOKE.Stage_GetLayer(stageCPtr, depth); @@ -687,6 +720,7 @@ namespace Tizen.NUI /// Keep rendering for at least the given amount of time. /// /// Time to keep rendering, 0 means render at least one more frame. + /// 3 public void KeepRendering(float durationSeconds) { NDalicPINVOKE.Stage_KeepRendering(stageCPtr, durationSeconds); @@ -777,6 +811,7 @@ namespace Tizen.NUI /// The stage instance property (read-only).
/// Gets the current window.
/// + /// 3 public static Window Instance { get @@ -792,6 +827,7 @@ namespace Tizen.NUI /// /// The key code to grab. /// True if the grab succeeds. + /// 3 public bool GrabKeyTopmost(int DaliKey) { bool ret = NDalicManualPINVOKE.GrabKeyTopmost(HandleRef.ToIntPtr(this.swigCPtr), DaliKey); @@ -805,6 +841,7 @@ namespace Tizen.NUI /// /// The key code to ungrab. /// True if the ungrab succeeds. + /// 3 public bool UngrabKeyTopmost(int DaliKey) { bool ret = NDalicManualPINVOKE.UngrabKeyTopmost(HandleRef.ToIntPtr(this.swigCPtr), DaliKey); @@ -822,6 +859,7 @@ namespace Tizen.NUI /// The key code to grab. /// The grab mode for the key. /// True if the grab succeeds. + /// 3 public bool GrabKey(int DaliKey, KeyGrabMode GrabMode) { bool ret = NDalicManualPINVOKE.GrabKey(HandleRef.ToIntPtr(this.swigCPtr), DaliKey, (int)GrabMode); @@ -835,6 +873,7 @@ namespace Tizen.NUI /// /// The key code to ungrab. /// True if the ungrab succeeds. + /// 3 public bool UngrabKey(int DaliKey) { bool ret = NDalicManualPINVOKE.UngrabKey(HandleRef.ToIntPtr(this.swigCPtr), DaliKey); @@ -852,6 +891,7 @@ namespace Tizen.NUI /// /// Enumeration for orientation of the window is the way in which a rectangular page is oriented for normal viewing. /// + /// 3 public enum WindowOrientation { Portrait = 0, @@ -863,6 +903,7 @@ namespace Tizen.NUI /// /// Enumeration for the key grab mode for platform-level APIs. /// + /// 3 public enum KeyGrabMode { /// @@ -913,6 +954,7 @@ namespace Tizen.NUI /// /// Touch. /// + /// 3 public Touch Touch { get @@ -935,6 +977,7 @@ namespace Tizen.NUI /// then when the last finger is lifted.
/// An interrupted event will also be emitted (if it occurs).
///
+ /// 4 public event EventHandler TouchEvent { add @@ -984,6 +1027,7 @@ namespace Tizen.NUI /// /// Wheel. /// + /// 3 public Wheel Wheel { get @@ -1003,6 +1047,7 @@ namespace Tizen.NUI /// /// This event is emitted when the wheel event is received. /// + /// 4 public event EventHandler WheelEvent { add @@ -1049,6 +1094,7 @@ namespace Tizen.NUI /// /// Key. /// + /// 3 public Key Key { get @@ -1068,6 +1114,7 @@ namespace Tizen.NUI /// /// This event is emitted when the key event is received. /// + /// 4 public event EventHandler KeyEvent { add @@ -1265,6 +1312,10 @@ namespace Tizen.NUI private delegate void WindowResizedEventCallbackType(IntPtr windowSize); private event EventHandler _windowResizedEventHandler; + /// + /// This event is emitted when the window resized. + /// + /// 4 public event EventHandler Resized { add @@ -1338,6 +1389,7 @@ namespace Tizen.NUI /// /// The window size property (read-only). /// + /// 3 public Size2D Size { get @@ -1350,6 +1402,7 @@ namespace Tizen.NUI /// /// The background color property. /// + /// 3 public Color BackgroundColor { set @@ -1367,6 +1420,7 @@ namespace Tizen.NUI /// The DPI property (read-only).
/// Retrieves the DPI of the display device to which the Window is connected.
/// + /// 3 public Vector2 Dpi { get @@ -1379,6 +1433,7 @@ namespace Tizen.NUI /// The layer count property (read-only).
/// Queries the number of on-Window layers.
/// + /// 3 public uint LayerCount { get @@ -1392,6 +1447,7 @@ namespace Tizen.NUI /// Adds a layer to the stage. /// /// Layer to add. + /// 3 public void AddLayer(Layer layer) { NDalicPINVOKE.Stage_Add(stageCPtr, Layer.getCPtr(layer)); @@ -1402,6 +1458,7 @@ namespace Tizen.NUI /// Removes a layer from the stage. /// /// Layer to remove. + /// 4 public void RemoveLayer(Layer layer) { NDalicPINVOKE.Stage_Remove(stageCPtr, Layer.getCPtr(layer)); @@ -1463,6 +1520,7 @@ namespace Tizen.NUI /// /// Gets or sets a size of the window. /// + /// 4 public Size2D WindowSize { get @@ -1478,6 +1536,7 @@ namespace Tizen.NUI /// /// Gets or sets a position of the window. /// + /// 4 public Position2D WindowPosition { get @@ -1493,6 +1552,7 @@ namespace Tizen.NUI /// /// Feed a key-event into the window. /// + /// 4 public static void FeedKeyEvent(Key keyEvent) { NDalicManualPINVOKE.Window_FeedKeyEvent(Key.getCPtr(keyEvent)); @@ -1503,6 +1563,7 @@ namespace Tizen.NUI /// Allows at least one more render, even when paused. /// The window should be shown, not minimised. /// + /// 4 public void RenderOnce() { NDalicManualPINVOKE.Window_RenderOnce(swigCPtr); @@ -1510,4 +1571,4 @@ namespace Tizen.NUI } } -} +} \ No newline at end of file