+/*
+ * 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;
namespace ElmSharp.Wearable
{
/// <summary>
- /// 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
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class MoreOption : Layout
{
/// <summary>
- /// Sets or gets the list of more option item
+ /// Sets or gets the list of the more option item.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IList<MoreOptionItem> Items { get; private set; }
/// <summary>
/// Selected will be triggered when the user selects an item.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<MoreOptionItemEventArgs> Selected;
/// <summary>
/// Clicked will be triggered when the user selects the already selected item again or selects a selector.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<MoreOptionItemEventArgs> Clicked;
/// <summary>
- /// Opened will be triggered when more option view is shown.
+ /// Opened will be triggered when the more option view is shown.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Opened;
/// <summary>
- /// Closed will be triggered when more option view is hidden.
+ /// Closed will be triggered when the more option view is hidden.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Closed;
SmartEvent<PointerEventArgs> _selectedEvent;
SmartEvent _closedEvent;
/// <summary>
- /// Creates and initializes a new instance of MoreOption class.
+ /// Creates and initializes a new instance of the MoreOption class.
/// </summary>
- /// <param name="parent">The parent is a given container which will be attached by MoreOption as a child. It's <see cref="EvasObject"/> type.</param>
+ /// <param name="parent">The parent is a given container, which will be attached by the MoreOption as a child. It's <see cref="EvasObject"/> type.</param>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public MoreOption(EvasObject parent) : base(parent)
{
Items = new MoreOptionList(this);
}
+ /// <summary>
+ /// Creates a widget handle.
+ /// </summary>
+ /// <param name="parent">Parent EvasObject.</param>
+ /// <returns>Handle IntPtr.</returns>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override IntPtr CreateHandle(EvasObject parent)
{
return Interop.Eext.eext_more_option_add(parent);
/// <summary>
/// Sets or gets the direction of more option.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public MoreOptionDirection Direction
{
get
}
/// <summary>
- /// Sets or gets the visibility of more option view.
+ /// Sets or gets the visibility of the more option view.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsOpened
{
get
}
/// <summary>
- /// Enumeration for More Option Direction type.
+ /// Enumeration for the more option direction types.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum MoreOptionDirection
{
+ /// <summary>
+ /// Top direction.
+ /// </summary>
Top,
+ /// <summary>
+ /// Bottom direction.
+ /// </summary>
Bottom,
+ /// <summary>
+ /// Left direction.
+ /// </summary>
Left,
+ /// <summary>
+ /// Right direction.
+ /// </summary>
Right
}
}