namespace ElmSharp
{
/// <summary>
- /// The type of item's part type.
+ /// The type of the item's part types.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[Flags]
public enum GenListItemFieldType
{
All = 0,
/// <summary>
- /// The text part type.
+ /// The Text part type.
/// </summary>
Text = (1 << 0),
Content = (1 << 1),
/// <summary>
- /// The state of part.
+ /// The State part type.
/// </summary>
State = (1 << 2),
/// <summary>
/// It inherits <see cref="GenItem"/>.
- /// A instance to the genlist item added.
- /// It contains Update() method to update a genlist item which is given.
+ /// A instance to the genlist item is added.
+ /// It contains the Update() method to update a genlist item which is given.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class GenListItem : GenItem
{
internal GenListItem(object data, GenItemClass itemClass) : base(data, itemClass)
{
}
+ internal GenListItem(object data, GenItemClass itemClass, EvasObject parent) : base(data, itemClass, parent)
+ {
+ }
+
/// <summary>
/// Gets or sets whether a given genlist item is selected.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override bool IsSelected
{
get
/// <summary>
/// Gets or sets whether a given genlist item is expanded.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsExpanded
{
get
/// <summary>
/// Updates the content of an item.
- /// This updates an item by calling all the <see cref="GenItemClass"/> again to get the content, text, and states.
+ /// This updates an item by calling all <see cref="GenItemClass"/> again to get the content, text, and states.
/// Use this when the original item data has changed and the changes are desired to reflect.
- /// To update already realized items, use <see cref="GenList.UpdateRealizedItems"/>.
+ /// To update the already realized items, use <see cref="GenList.UpdateRealizedItems"/>.
/// </summary>
/// <seealso cref="GenList.UpdateRealizedItems"/>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override void Update()
{
Interop.Elementary.elm_genlist_item_update(Handle);
/// <summary>
/// Updates the part of an item.
- /// This updates an item's part by calling item's fetching functions again to get the contents, texts and states.
+ /// This updates an item's part by calling the item's fetching functions again to get the contents, texts, and states.
/// Use this when the original item data has changed and the changes are desired to be reflected.
/// To update an item's all property, use <see cref="GenList.UpdateRealizedItems"/>.
/// </summary>
- /// <param name="part">The part could be "elm.text", "elm.swalllow.icon", "elm.swallow.end", "elm.swallow.content" and so on. It is also used for globbing to match '*', '?', and '.'. It can be used at updating multi fields.</param>
- /// <param name="type">The type of item's part type.</param>
+ /// <param name="part">The part could be "elm.text", "elm.swalllow.icon", "elm.swallow.end", "elm.swallow.content", and so on. It is also used for globbing to match '*', '?', and '.'. It can be used for updating multi-fields.</param>
+ /// <param name="type">The type of the item's part type.</param>
/// <seealso cref="GenList.UpdateRealizedItems"/>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void UpdateField(string part, GenListItemFieldType type)
{
Interop.Elementary.elm_genlist_item_fields_update(Handle, part, (uint)type);
}
/// <summary>
- /// Demote an item to the end of the list.
+ /// Demotes an item to the end of the list.
/// </summary>
- /// <param name="item">The genlistitem object</param>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void DemoteItem()
{
Interop.Elementary.elm_genlist_item_demote(Handle);
/// <summary>
/// Gets or sets the genlist item's select mode.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override GenItemSelectionMode SelectionMode
{
get
/// Gets the next item in a genlist widget's internal list of items.
/// </summary>
/// <seealso cref="Previous"/>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem Next
{
get
}
/// <summary>
- /// Get the previous item in a genlist widget's internal list of items.
+ /// Gets the previous item in a genlist widget's internal list of items.
/// </summary>
/// <seealso cref="Next"/>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem Previous
{
get
}
}
+ /// <summary>
+ /// Sets or gets the content to be shown in the tooltip item.
+ /// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override string Cursor
{
}
}
+ /// <summary>
+ /// Sets or gets the style for this item cursor.
+ /// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override string CursorStyle
{
}
}
+ /// <summary>
+ /// Sets or gets the cursor engine only usage for this item cursor.
+ /// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override bool IsUseEngineCursor
{
}
}
+ /// <summary>
+ /// Sets the text to be shown in the genlist item.
+ /// </summary>
+ /// <param name="tooltip">The text to set in the content.</param>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override void SetTooltipText(string tooltip)
{
Interop.Elementary.elm_genlist_item_tooltip_text_set(Handle, tooltip);
}
+ /// <summary>
+ /// Unsets the tooltip from the item.
+ /// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override void UnsetTooltip()
{
Interop.Elementary.elm_genlist_item_tooltip_unset(Handle);
}
/// <summary>
- /// Gets or sets the style of given genlist item's tooltip.
+ /// Gets or sets the style of the given genlist item's tooltip.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override string TooltipStyle
{
get
}
/// <summary>
- /// Gets or sets whether disable size restrictions on an object's tooltip.
+ /// Gets or sets the disable size restrictions on an object's tooltip.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsTooltipWindowMode
{
get
}
/// <summary>
- /// Gets the index of the item. It is only valid once displayed.
+ /// Gets the index of the item. It is only valid, once displayed.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Index
{
get
}
/// <summary>
- /// Gets the depth of expanded item.
+ /// Gets the depth of the expanded item.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int ExpandedItemDepth
{
get
}
/// <summary>
- /// Remove all sub-items (children) of the given item.
+ /// Remove all the subitems (children) of the given item.
/// </summary>
- /// <remark>
- /// This removes all items that are children (and their descendants) of the given item it.
- /// </remark>
+ /// <remarks>
+ /// This removes the items that are the children (and their descendants) of the given item.
+ /// </remarks>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void ClearSubitems()
{
Interop.Elementary.elm_genlist_item_subitems_clear(Handle);
}
/// <summary>
- /// Update the item class of an item.
+ /// Updates the item class of the item.
/// This sets another class of the item, changing the way that it is displayed. After changing the item class, <see cref="Update"/> is called on the item.
/// </summary>
/// <param name="itemClass">The item class for the item.</param>
/// <param name="data">The data for the item.</param>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void UpdateItemClass(GenItemClass itemClass, object data)
{
Data = data;
Interop.Elementary.elm_genlist_item_item_class_update((IntPtr)Handle, itemClass.UnmanagedPtr);
}
+ /// <summary>
+ /// Sets the content to be shown in the tooltip item.
+ /// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override void UpdateTooltipDelegate()
{
Interop.Elementary.elm_genlist_item_tooltip_content_cb_set(Handle,
null);
}
}
-}
+}
\ No newline at end of file