X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FElmSharp.Wearable%2FElmSharp.Wearable%2FRotarySelectorItem.cs;h=ae2c4ccd6c7515608f6e7f22c519286c97fcfc0d;hb=58283d6a09a7f531af61ae7b27b574603ef244df;hp=d6abba87e17dcb03cb4d0ab2c45aefb3619a63e2;hpb=372e037065577e8436406c8304cea992b94ebb12;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git
diff --git a/src/ElmSharp.Wearable/ElmSharp.Wearable/RotarySelectorItem.cs b/src/ElmSharp.Wearable/ElmSharp.Wearable/RotarySelectorItem.cs
index d6abba8..ae2c4cc 100644
--- a/src/ElmSharp.Wearable/ElmSharp.Wearable/RotarySelectorItem.cs
+++ b/src/ElmSharp.Wearable/ElmSharp.Wearable/RotarySelectorItem.cs
@@ -1,9 +1,30 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
using System;
using System.Collections.Generic;
using System.Text;
namespace ElmSharp.Wearable
{
+ ///
+ /// An instance to the Rotary Selector item is added. An item can be selected by the Rotary event or user item click.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public class RotarySelectorItem
{
const string MainTextPartName = "selector,main_text";
@@ -37,6 +58,11 @@ namespace ElmSharp.Wearable
IntPtr _handle;
+ ///
+ /// Sets or gets the handle of a rotary selector item object.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public IntPtr Handle
{
set
@@ -128,28 +154,123 @@ namespace ElmSharp.Wearable
}
}
+ ///
+ /// Sets or gets the main text of a rotary selector item object.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public string MainText { set => setPart(ref _mainText, MainTextPartName, value); get => _mainText; }
+
+ ///
+ /// Sets or gets the subtext of a rotary selector item object.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public string SubText { set => setPart(ref _subText, SubTextPartName, value); get => _subText; }
+ ///
+ /// Sets or gets the subtext color of a rotary selector item object.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public Color MainTextColor { set => setPart(ref _mainTextColor, MainTextPartName, ItemState.Normal, value); get => _mainTextColor; }
- public Color SubextColor { set => setPart(ref _subTextColor, SubTextPartName, ItemState.Normal, value); get => _subTextColor; }
+ ///
+ /// Sets or gets the subtext color of a rotary selector item object.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
+ public Color SubTextColor { set => setPart(ref _subTextColor, SubTextPartName, ItemState.Normal, value); get => _subTextColor; }
+
+ ///
+ /// Sets or gets the normal icon image of a rotary selector item object.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public Image NormalIconImage { set => setPart(ref _normalIconImage, IconPartName, ItemState.Normal, value); get => _normalIconImage; }
+
+ ///
+ /// Sets or gets the pressed icon image of a rotary selector item object.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public Image PressedIconImage { set => setPart(ref _pressedIconImage, IconPartName, ItemState.Pressed, value); get => _pressedIconImage; }
+
+ ///
+ /// Sets or gets the disabled icon image of a rotary selector item object.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public Image DisabledIconImage { set => setPart(ref _disabledIconImage, IconPartName, ItemState.Disabled, value); get => _disabledIconImage; }
- public Image SelectedIconImage { set => setPart(ref _selectedIconImage, IconPartName, ItemState.Selected, value); get => _selectedIconImage; }
+ ///
+ /// Sets or gets the selected icon image of a rotary selector item object.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
+ public Image SelectedIconImage { set => setPart(ref _selectedIconImage, IconPartName, ItemState.Selected, value); get => _selectedIconImage; }
+ ///
+ /// Sets or gets the normal background image of a rotary selector item object.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public Image NormalBackgroundImage { set => setPart(ref _normalBgImage, BgPartName, ItemState.Normal, value); get => _normalBgImage; }
+
+ ///
+ /// Sets or gets the pressed background image of a rotary selector item object.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public Image PressedBackgroundImage { set => setPart(ref _pressedBgImage, BgPartName, ItemState.Pressed, value); get => _pressedBgImage; }
+
+ ///
+ /// Sets or gets the disabled background image of a rotary selector item object.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public Image DisabledBackgroundImage { set => setPart(ref _disabledBgImage, BgPartName, ItemState.Disabled, value); get => _disabledBgImage; }
+
+ ///
+ /// Sets or gets the selected background image of a rotary selector item object.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public Image SelectedBackgroundImage { set => setPart(ref _selectedBgImage, BgPartName, ItemState.Selected, value); get => _selectedBgImage; }
+ ///
+ /// Sets or gets the normal background color of a rotary selector item object.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public Color NormalBackgroundColor { set => setPart(ref _normalBgColor, BgPartName, ItemState.Normal, value); get => _normalBgColor; }
+
+ ///
+ /// Sets or gets the pressed background color of a rotary selector item object.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public Color PressedBackgroundColor { set => setPart(ref _pressedBgColor, BgPartName, ItemState.Pressed, value); get => _pressedBgColor; }
+
+ ///
+ /// Sets or gets the disabled background color of a rotary selector item object.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public Color DisabledBackgroundColor { set => setPart(ref _disabledBgColor, BgPartName, ItemState.Disabled, value); get => _disabledBgColor; }
+
+ ///
+ /// Sets or gets the selected background color of a rotary selector item object.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public Color SelectedBackgroundColor { set => setPart(ref _selectedBgColor, BgPartName, ItemState.Selected, value); get => _selectedBgColor; }
+ ///
+ /// Sets or gets the selector icon image of a rotary selector item object.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public Image SelectorIconImage { set => setPart(ref _selectorIconImage, SelectorIconPartName, ItemState.Normal, value); get => _selectorIconImage; }
internal enum ItemState