/// Enumeration for the focus direction.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum FocusDirection
{
/// <summary>
/// Inherits from <see cref="EvasObject"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public abstract class Widget : AccessibleObject
{
Dictionary<string, EvasObject> _partContents = new Dictionary<string, EvasObject>();
/// Creates and initializes a new instance of the Widget class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected Widget()
{
}
/// </summary>
/// <param name="parent">The parent of the new Widget instance.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected Widget(EvasObject parent) : base(parent)
{
}
/// <param name="content">The content which is put into the part.</param>
/// <param name="part">The updated part.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected void UpdatePartContents(EvasObject content, string part = "__default__")
{
_partContents[part] = content;
/// Focused will be triggered when the widget is focused.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Focused;
/// <summary>
/// Unfocused will be triggered when the widget is unfocused.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Unfocused;
/// <summary>
/// Sets or gets the state of the widget, which might be enabled or disabled.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual bool IsEnabled
{
get
/// Sets or gets the style of the widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Style
{
get
/// Gets whether this widget is focused.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsFocused
{
get
/// </summary>
/// <remarks>Widgets which are meant to be interacted with by input events, are created able to be focused by default.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsFocusAllowed
{
get
/// </summary>
/// <remarks>It could be overridden by special child class.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual string Text
{
get
/// </summary>
/// <remarks>It could be overridden by special child class.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual Color BackgroundColor
{
get
/// </summary>
/// <remarks>It could be overridden by special child class.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual int Opacity
{
get
/// Sets or gets whether a widget and its children are focusable or not.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool AllowTreeFocus
{
get
/// Sets or gets the widget's mirrored mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsMirroredMode
{
get
/// When widget is set to automatic mode(true), it follows the system mirrored mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsAutoMirroredMode
{
get
/// </summary>
/// <param name="isFocus">Whether be focused.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetFocus(bool isFocus)
{
if (isFocus)
/// </summary>
/// <param name="isAllowFocus">true if the object can be focused, false if not(and on errors).</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void AllowFocus(bool isAllowFocus)
{
Interop.Elementary.elm_object_focus_allow_set(RealHandle, isAllowFocus);
/// </summary>
/// <param name="direction">Direction to move the focus.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void FocusNext(FocusDirection direction)
{
Interop.Elementary.elm_object_focus_next(RealHandle, (int)direction);
/// <param name="next">Focus next widget.</param>
/// <param name="direction">Focus direction.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetNextFocusObject(EvasObject next, FocusDirection direction)
{
Interop.Elementary.elm_object_focus_next_object_set(RealHandle, next?.RealHandle ?? IntPtr.Zero, (int)direction);
}
/// <summary>
- /// Sets content to the particular part of the widget, and the preserve old content will not be unset.
+ /// Sets content to the particular part of the widget, and the preserve old content will be deleted.
/// </summary>
/// <param name="part">The name of the particular part.</param>
/// <param name="content">The content.</param>
/// <seealso cref="SetPartContent(string, EvasObject, bool)"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual bool SetPartContent(string part, EvasObject content)
{
return SetPartContent(part, content, false);
/// </summary>
/// <param name="part">The name of the particular part.</param>
/// <param name="content">The content.</param>
- /// <param name="preserveOldContent">true, preserve old content will be unset. false, preserve old content will not be unset.</param>
+ /// <param name="preserveOldContent">true, preserve old content will be unset and not be deleted. false, preserve old content will be deleted.</param>
/// <seealso cref="SetPartContent(string, EvasObject)"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual bool SetPartContent(string part, EvasObject content, bool preserveOldContent)
{
if (preserveOldContent)
}
/// <summary>
- /// Sets content to the widget, and the preserve old content will not be unset.
+ /// Sets content to the widget, and the preserve old content will be deleted.
/// </summary>
/// <param name="content">The content.</param>
/// <seealso cref="SetContent(EvasObject, bool)"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetContent(EvasObject content)
{
SetContent(content, false);
/// Sets content to the widget.
/// </summary>
/// <param name="content">The content.</param>
- /// <param name="preserveOldContent">true, preserve old content will be unset. false, preserve old content will not be unset.</param>
+ /// <param name="preserveOldContent">true, preserve old content will be unset and not be deleted. false, preserve old content will be deleted.</param>
/// <seealso cref="SetContent(EvasObject)"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetContent(EvasObject content, bool preserveOldContent)
{
if (preserveOldContent)
/// <param name="part">The name of the particular part.</param>
/// <param name="text">The text.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual bool SetPartText(string part, string text)
{
Interop.Elementary.elm_object_part_text_set(RealHandle, part, text);
/// <param name="part">The name of the particular part.</param>
/// <returns>Text of the particular part of the widget.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual string GetPartText(string part)
{
return Interop.Elementary.elm_object_part_text_get(RealHandle, part);
/// <param name="color">The color to be set to the widget.</param>
/// <remarks>This method is a virtual method, it could be overridden by special child class.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual void SetPartColor(string part, Color color)
{
Interop.Elementary.elm_object_color_class_color_set(RealHandle, part, color.R * color.A / 255,
/// <returns>The color of the particular part.</returns>
/// <remarks>This method is a virtual method, it could be overridden by special child class.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual Color GetPartColor(string part)
{
int r, g, b, a;
/// <param name="part">The name of the particular part.</param>
/// <param name="opacity">The opacity of the particular part.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetPartOpacity(string part, int opacity)
{
Interop.Elementary.elm_object_color_class_color_set(Handle, part, 255, 255, 255, opacity);
/// <param name="part">The name of the particular part.</param>
/// <returns>Opacity value of the particular part.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int GetPartOpacity(string part)
{
int r, g, b, a;
return a;
}
- /// <summary>
+ /// <summary>
/// Sends a signal to the edje object of the widget.
/// </summary>
/// <param name="emission">The signal's name.</param>
/// <param name="source">The signal's source.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SignalEmit(string emission, string source)
{
Interop.Elementary.elm_object_signal_emit(Handle, emission, source);
/// The callback of the Realized event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override void OnRealized()
{
base.OnRealized();
return Interop.Elementary.elm_object_part_content_get(RealHandle, part);
}
}
-}
\ No newline at end of file
+}