X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FElmSharp.Wearable%2FElmSharp.Wearable%2FMoreOption.cs;h=75ace70ca1b6d1f4a85dfacb3981fd60d466d5d6;hb=58283d6a09a7f531af61ae7b27b574603ef244df;hp=7f75cc10ec4cdb212a96fe22136a5578072e9032;hpb=7bc5821bec66fe9b43401fa3483ffe2a76d29898;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 7f75cc1..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;
@@ -5,14 +20,44 @@ using System.Linq;
namespace ElmSharp.Wearable
{
+ ///
+ /// 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 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 the more option view is shown.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Opened;
+ ///
+ /// 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;
@@ -20,6 +65,12 @@ namespace ElmSharp.Wearable
SmartEvent _openedEvent;
SmartEvent _closedEvent;
+ ///
+ /// Creates and initializes a new instance of the MoreOption class.
+ ///
+ /// 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);
@@ -46,11 +97,23 @@ 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);
}
+ ///
+ /// Sets or gets the direction of more option.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public MoreOptionDirection Direction
{
get
@@ -65,6 +128,11 @@ namespace ElmSharp.Wearable
}
}
+ ///
+ /// Sets or gets the visibility of the more option view.
+ ///
+ /// preview
+ [Obsolete("This has been deprecated in API12")]
public bool IsOpened
{
get
@@ -79,11 +147,28 @@ namespace ElmSharp.Wearable
}
}
+ ///
+ /// 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
}
}