X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FElmSharp.Wearable%2FElmSharp.Wearable%2FMoreOption.cs;h=75ace70ca1b6d1f4a85dfacb3981fd60d466d5d6;hb=58283d6a09a7f531af61ae7b27b574603ef244df;hp=002a7a6ffd2440fccb7aaa0bb4127aedce5a6bcf;hpb=00f532f710cd42ad89b6a5e99f9257407e979ccc;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git
diff --git a/src/ElmSharp.Wearable/ElmSharp.Wearable/MoreOption.cs b/src/ElmSharp.Wearable/ElmSharp.Wearable/MoreOption.cs
index 002a7a6..75ace70 100644
--- a/src/ElmSharp.Wearable/ElmSharp.Wearable/MoreOption.cs
+++ b/src/ElmSharp.Wearable/ElmSharp.Wearable/MoreOption.cs
@@ -1,3 +1,18 @@
+/*
+ * 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;
@@ -6,31 +21,43 @@ using System.Linq;
namespace ElmSharp.Wearable
{
///
- /// The MoreOption is a widget composed of the toggle(cue button) and more option view, and MoreOption can change a visibility through the toggle.
+ /// The MoreOption is a widget composed of the toggle (cue button) and more option view that can change a visibility through the toggle.
/// Inherits Layout
///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public class MoreOption : Layout
{
///
- /// Sets or gets the list of more option item
+ /// Sets or gets the list of the more option item.
///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public IList Items { get; private set; }
///
/// Selected will be triggered when the user selects an item.
///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Selected;
///
/// Clicked will be triggered when the user selects the already selected item again or selects a selector.
///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Clicked;
///
- /// Opened will be triggered when more option view is shown.
+ /// Opened will be triggered when the more option view is shown.
///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Opened;
///
- /// Closed will be triggered when more option view is hidden.
+ /// Closed will be triggered when the more option view is hidden.
///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Closed;
SmartEvent _selectedEvent;
@@ -39,9 +66,11 @@ namespace ElmSharp.Wearable
SmartEvent _closedEvent;
///
- /// Creates and initializes a new instance of MoreOption class.
+ /// Creates and initializes a new instance of the MoreOption class.
///
- /// The parent is a given container which will be attached by MoreOption as a child. It's type.
+ /// The parent is a given container, which will be attached by the MoreOption as a child. It's type.
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public MoreOption(EvasObject parent) : base(parent)
{
Items = new MoreOptionList(this);
@@ -68,6 +97,13 @@ namespace ElmSharp.Wearable
}
+ ///
+ /// Creates a widget handle.
+ ///
+ /// Parent EvasObject.
+ /// Handle IntPtr.
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
protected override IntPtr CreateHandle(EvasObject parent)
{
return Interop.Eext.eext_more_option_add(parent);
@@ -76,6 +112,8 @@ namespace ElmSharp.Wearable
///
/// Sets or gets the direction of more option.
///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public MoreOptionDirection Direction
{
get
@@ -91,8 +129,10 @@ namespace ElmSharp.Wearable
}
///
- /// Sets or gets the visibility of more option view.
+ /// Sets or gets the visibility of the more option view.
///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public bool IsOpened
{
get
@@ -108,13 +148,27 @@ namespace ElmSharp.Wearable
}
///
- /// Enumeration for More Option Direction type.
+ /// Enumeration for the more option direction types.
///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public enum MoreOptionDirection
{
+ ///
+ /// Top direction.
+ ///
Top,
+ ///
+ /// Bottom direction.
+ ///
Bottom,
+ ///
+ /// Left direction.
+ ///
Left,
+ ///
+ /// Right direction.
+ ///
Right
}
}