* limitations under the License.
*
*/
-
+using System;
using System.ComponentModel;
using Tizen.NUI.BaseComponents;
return ret;
}
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use FieldOfView property instead!")]
public void SetFieldOfView(float fieldOfView)
{
Interop.CameraActor.SetFieldOfView(SwigCPtr, fieldOfView);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use FieldOfView property instead!")]
public float GetFieldOfView()
{
float ret = Interop.CameraActor.GetFieldOfView(SwigCPtr);
return ret;
}
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use AspectRatio property instead!")]
public void SetAspectRatio(float aspectRatio)
{
Interop.CameraActor.SetAspectRatio(SwigCPtr, aspectRatio);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use AspectRatio property instead!")]
public float GetAspectRatio()
{
float ret = Interop.CameraActor.GetAspectRatio(SwigCPtr);
return ret;
}
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use TargetPosition property instead!")]
public void SetTargetPosition(Vector3 targetPosition)
{
Interop.CameraActor.SetTargetPosition(SwigCPtr, Vector3.getCPtr(targetPosition));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use TargetPosition property instead!")]
public Vector3 GetTargetPosition()
{
Vector3 ret = new Vector3(Interop.CameraActor.GetTargetPosition(SwigCPtr), true);
return ret;
}
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use InvertYAxis property instead!")]
public void SetInvertYAxis(bool invertYAxis)
{
Interop.CameraActor.SetInvertYAxis(SwigCPtr, invertYAxis);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use InvertYAxis property instead!")]
public bool GetInvertYAxis()
{
bool ret = Interop.CameraActor.GetInvertYAxis(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ // The type of GetType() and SetType() is different from Type property.
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1721: Property names should not match get methods")]
public string Type
{
get
setValue.Dispose();
}
}
+
+ // The type of GetProjectionMode() and SetProjectionMode() is different from Projection Property.
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1721: Property names should not match get methods")]
public string ProjectionMode
{
get
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
- [EditorBrowsable(EditorBrowsableState.Never)]
- public new uint GetChildCount()
- {
- uint ret = Interop.ActorInternal.GetChildCount(SwigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
/// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public new View GetChildAt(uint index)
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
- [EditorBrowsable(EditorBrowsableState.Never)]
- public void SetMinimumSwipeSpeed(float speed)
- {
- Interop.ItemView.SetMinimumSwipeSpeed(SwigCPtr, speed);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
- [EditorBrowsable(EditorBrowsableState.Never)]
- public float GetMinimumSwipeSpeed()
- {
- float ret = Interop.ItemView.GetMinimumSwipeSpeed(SwigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
- [EditorBrowsable(EditorBrowsableState.Never)]
- public void SetMinimumSwipeDistance(float distance)
- {
- Interop.ItemView.SetMinimumSwipeDistance(SwigCPtr, distance);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
- [EditorBrowsable(EditorBrowsableState.Never)]
- public float GetMinimumSwipeDistance()
- {
- float ret = Interop.ItemView.GetMinimumSwipeDistance(SwigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
- [EditorBrowsable(EditorBrowsableState.Never)]
- public void SetWheelScrollDistanceStep(float step)
- {
- Interop.ItemView.SetWheelScrollDistanceStep(SwigCPtr, step);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
- [EditorBrowsable(EditorBrowsableState.Never)]
- public float GetWheelScrollDistanceStep()
- {
- float ret = Interop.ItemView.GetWheelScrollDistanceStep(SwigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
/// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public void SetAnchoring(bool enabled)
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
- [EditorBrowsable(EditorBrowsableState.Never)]
- public void SetRefreshInterval(float intervalLayoutPositions)
- {
- Interop.ItemView.SetRefreshInterval(SwigCPtr, intervalLayoutPositions);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
- [EditorBrowsable(EditorBrowsableState.Never)]
- public float GetRefreshInterval()
- {
- float ret = Interop.ItemView.GetRefreshInterval(SwigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
/// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public void Refresh()
return ret;
}
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use ClearColor property instead!")]
public void SetClearColor(Vector4 color)
{
Interop.RenderTask.SetClearColor(SwigCPtr, Vector4.getCPtr(color));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use ClearColor property instead!")]
public Vector4 GetClearColor()
{
Vector4 ret = new Vector4(Interop.RenderTask.GetClearColor(SwigCPtr), true);
/// </summary>
/// <returns>The view's natural size</returns>
/// <since_tizen> 3 </since_tizen>
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1721: Property names should not match get methods")]
public new virtual Size2D GetNaturalSize()
{
return (Size2D)GetValue(Size2DProperty);
/// <param name="width">Width to use</param>
/// <returns>The height based on the width</returns>
/// <since_tizen> 3 </since_tizen>
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use HeightForWidth property instead!")]
public new virtual float GetHeightForWidth(float width)
{
return viewWrapperImpl.GetHeightForWidthBase(width);
/// <param name="height">Height to use</param>
/// <returns>The width based on the width</returns>
/// <since_tizen> 3 </since_tizen>
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use WidthForHeight property instead!")]
public new virtual float GetWidthForHeight(float height)
{
return viewWrapperImpl.GetWidthForHeightBase(height);
/// <summary>
/// Get attribues, it is abstract function and must be override.
/// </summary>
- /// <since_tizen> 6 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- protected override ViewStyle GetViewStyle()
+ protected override ViewStyle CreateViewStyle()
{
return new ImageViewStyle();
}
/// </summary>
/// <param name="padding">Width and height.</param>
/// <since_tizen> 3 </since_tizen>
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use CellPadding property instead!")]
public void SetCellPadding(Size2D padding)
{
Interop.TableView.SetCellPadding(SwigCPtr, Size2D.getCPtr(padding));
/// </summary>
/// <returns>The current padding as width and height.</returns>
/// <since_tizen> 3 </since_tizen>
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use CellPadding property instead!")]
public Vector2 GetCellPadding()
{
Vector2 ret = new Vector2(Interop.TableView.GetCellPadding(SwigCPtr), true);
/// <summary>
/// Get attribues, it is abstract function and must be override.
/// </summary>
- /// <since_tizen> 6 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- protected override ViewStyle GetViewStyle()
+ protected override ViewStyle CreateViewStyle()
{
return new TextFieldStyle();
}
/// <summary>
/// Get attribues, it is abstract function and must be override.
/// </summary>
- /// <since_tizen> 6 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- protected override ViewStyle GetViewStyle()
+ protected override ViewStyle CreateViewStyle()
{
return new TextLabelStyle();
}
{
if (null == viewStyle)
{
- ApplyStyle(GetViewStyle());
+ ApplyStyle(CreateViewStyle());
}
return viewStyle;
{
get
{
- return GetChildCount();
+ return Convert.ToUInt32(Children.Count);
}
}
set => SetValue(ThemeChangeSensitiveProperty, value);
}
- /// <summary>
- /// Get Style, it is abstract function and must be override.
- /// </summary>
- /// <since_tizen> 6 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
- // TODO: It should be deprecated. please use CreateViewStyle instead.
- [EditorBrowsable(EditorBrowsableState.Never)]
- protected virtual ViewStyle GetViewStyle()
- {
- return CreateViewStyle();
- }
-
/// <summary>
/// Create Style, it is abstract function and must be override.
/// </summary>
/// </summary>
/// <seealso cref="Container.GetChildCount" />
/// <since_tizen> 4 </since_tizen>
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use ChildCount property instead!")]
public override uint GetChildCount()
{
return Convert.ToUInt32(Children.Count);
/// </summary>
/// <param name="styleName">A string matching a style described in a stylesheet.</param>
/// <since_tizen> 3 </since_tizen>
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use StyleName property instead!")]
public void SetStyleName(string styleName)
{
Interop.View.SetStyleName(SwigCPtr, styleName);
/// </summary>
/// <returns>A string matching a style, or an empty string.</returns>
/// <since_tizen> 3 </since_tizen>
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use StyleName property instead!")]
public string GetStyleName()
{
string ret = Interop.View.GetStyleName(SwigCPtr);
/// <param name="width">The width to use.</param>
/// <returns>The height based on the width.</returns>
/// <since_tizen> 3 </since_tizen>
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use HeightForWidth property instead!")]
public float GetHeightForWidth(float width)
{
float ret = Interop.Actor.GetHeightForWidth(SwigCPtr, width);
/// <param name="height">The height to use.</param>
/// <returns>The width based on the height.</returns>
/// <since_tizen> 3 </since_tizen>
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use WidthForHeight property instead!")]
public float GetWidthForHeight(float height)
{
float ret = Interop.Actor.GetWidthForHeight(SwigCPtr, height);
/// </summary>
/// <param name="padding">Padding for the view.</param>
/// <since_tizen> 3 </since_tizen>
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use Padding property instead!")]
public void SetPadding(PaddingType padding)
{
Interop.Actor.SetPadding(SwigCPtr, PaddingType.getCPtr(padding));
/// </summary>
/// <param name="paddingOut">the value of padding for the view</param>
/// <since_tizen> 3 </since_tizen>
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use Padding property instead!")]
public void GetPadding(PaddingType paddingOut)
{
Interop.Actor.GetPadding(SwigCPtr, PaddingType.getCPtr(paddingOut));
/// <pre>The child container has been initialized.</pre>
/// <returns>The parent container.</returns>
/// <since_tizen> 4 </since_tizen>
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1721: Property names should not match get methods")]
public new Container Parent
{
get
{
get
{
- return GetChildCount();
+ return Convert.ToUInt32(Children.Count);
}
}
/// <pre>The child container has been initialized.</pre>
/// <returns>The parent container.</returns>
/// <since_tizen> 4 </since_tizen>
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1721: Property names should not match get methods")]
public abstract Container GetParent();
/// <summary>
/// <pre>The container has been initialized.</pre>
/// <returns>The number of children.</returns>
/// <since_tizen> 4 </since_tizen>
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use ChildCount property instead!")]
public abstract UInt32 GetChildCount();
internal abstract View FindCurrentChildById(uint id);
/// </summary>
/// <since_tizen> 3 </since_tizen>
[ScriptableProperty()]
+ // GetValue() is in BindableObject. It's different from this Value.
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1721: Property names should not match get methods")]
public int Value
{
get
/// </summary>
/// <returns>The child count of the layer.</returns>
/// <since_tizen> 4 </since_tizen>
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use ChildCount property instead!")]
public override uint GetChildCount()
{
return Convert.ToUInt32(Children.Count);
/// <since_tizen> 6 </since_tizen>
/// <feature> http://tizen.org/feature/opengles.surfaceless_context </feature>
/// <exception cref="NotSupportedException">The required feature is not supported.</exception>
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1721: Property names should not match get methods")]
public Window GetParent()
{
if (IsSupportedMultiWindow() == false)
/// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use GetValue() instead!")]
public object Value
{
get { return ((BindingCondition)Condition).Value; }
/// <since_tizen> 6 </since_tizen>
/// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
+ // [Obsolete("Deprecated in API9, will be removed in API11. Please use GetValue() instead!")]
public object Value
{
get { return ((XamlPropertyCondition)Condition).Value; }