X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FElmSharp%2FElmSharp%2FGenListItem.cs;h=7cfd23fdc9f6cc3ba43cd469bc35bf9e7f1ee29e;hb=58283d6a09a7f531af61ae7b27b574603ef244df;hp=d1f7a854b56443cc1e5527a3eb0ff564d9cf8e52;hpb=a7e94579483795b6b3344551876cf226266557af;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/src/ElmSharp/ElmSharp/GenListItem.cs b/src/ElmSharp/ElmSharp/GenListItem.cs index d1f7a85..7cfd23f 100644 --- a/src/ElmSharp/ElmSharp/GenListItem.cs +++ b/src/ElmSharp/ElmSharp/GenListItem.cs @@ -20,8 +20,10 @@ using System.ComponentModel; namespace ElmSharp { /// - /// The type of item's part type. + /// The type of the item's part types. /// + /// preview + [Obsolete("This has been deprecated in API12")] [Flags] public enum GenListItemFieldType { @@ -31,7 +33,7 @@ namespace ElmSharp All = 0, /// - /// The text part type. + /// The Text part type. /// Text = (1 << 0), @@ -41,7 +43,7 @@ namespace ElmSharp Content = (1 << 1), /// - /// The state of part. + /// The State part type. /// State = (1 << 2), @@ -53,18 +55,26 @@ namespace ElmSharp /// /// It inherits . - /// 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. /// + /// preview + [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) + { + } + /// /// Gets or sets whether a given genlist item is selected. /// + /// preview + [Obsolete("This has been deprecated in API12")] public override bool IsSelected { get @@ -80,6 +90,8 @@ namespace ElmSharp /// /// Gets or sets whether a given genlist item is expanded. /// + /// preview + [Obsolete("This has been deprecated in API12")] public bool IsExpanded { get @@ -94,11 +106,13 @@ namespace ElmSharp /// /// Updates the content of an item. - /// This updates an item by calling all the again to get the content, text, and states. + /// This updates an item by calling all 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 . + /// To update the already realized items, use . /// /// + /// preview + [Obsolete("This has been deprecated in API12")] public override void Update() { Interop.Elementary.elm_genlist_item_update(Handle); @@ -106,22 +120,25 @@ namespace ElmSharp /// /// 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 . /// - /// 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. - /// The type of item's part type. + /// 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. + /// The type of the item's part type. /// + /// preview + [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); } /// - /// Demote an item to the end of the list. + /// Demotes an item to the end of the list. /// - /// The genlistitem object + /// preview + [Obsolete("This has been deprecated in API12")] public void DemoteItem() { Interop.Elementary.elm_genlist_item_demote(Handle); @@ -130,6 +147,8 @@ namespace ElmSharp /// /// Gets or sets the genlist item's select mode. /// + /// preview + [Obsolete("This has been deprecated in API12")] public override GenItemSelectionMode SelectionMode { get @@ -146,6 +165,8 @@ namespace ElmSharp /// Gets the next item in a genlist widget's internal list of items. /// /// + /// preview + [Obsolete("This has been deprecated in API12")] public GenListItem Next { get @@ -159,9 +180,11 @@ namespace ElmSharp } /// - /// 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. /// /// + /// preview + [Obsolete("This has been deprecated in API12")] public GenListItem Previous { get @@ -174,6 +197,11 @@ namespace ElmSharp } } + /// + /// Sets or gets the content to be shown in the tooltip item. + /// + /// preview + [Obsolete("This has been deprecated in API12")] [EditorBrowsable(EditorBrowsableState.Never)] public override string Cursor { @@ -194,6 +222,11 @@ namespace ElmSharp } } + /// + /// Sets or gets the style for this item cursor. + /// + /// preview + [Obsolete("This has been deprecated in API12")] [EditorBrowsable(EditorBrowsableState.Never)] public override string CursorStyle { @@ -207,6 +240,11 @@ namespace ElmSharp } } + /// + /// Sets or gets the cursor engine only usage for this item cursor. + /// + /// preview + [Obsolete("This has been deprecated in API12")] [EditorBrowsable(EditorBrowsableState.Never)] public override bool IsUseEngineCursor { @@ -220,19 +258,32 @@ namespace ElmSharp } } + /// + /// Sets the text to be shown in the genlist item. + /// + /// The text to set in the content. + /// preview + [Obsolete("This has been deprecated in API12")] public override void SetTooltipText(string tooltip) { Interop.Elementary.elm_genlist_item_tooltip_text_set(Handle, tooltip); } + /// + /// Unsets the tooltip from the item. + /// + /// preview + [Obsolete("This has been deprecated in API12")] public override void UnsetTooltip() { Interop.Elementary.elm_genlist_item_tooltip_unset(Handle); } /// - /// Gets or sets the style of given genlist item's tooltip. + /// Gets or sets the style of the given genlist item's tooltip. /// + /// preview + [Obsolete("This has been deprecated in API12")] public override string TooltipStyle { get @@ -246,8 +297,10 @@ namespace ElmSharp } /// - /// Gets or sets whether disable size restrictions on an object's tooltip. + /// Gets or sets the disable size restrictions on an object's tooltip. /// + /// preview + [Obsolete("This has been deprecated in API12")] public bool IsTooltipWindowMode { get @@ -261,8 +314,10 @@ namespace ElmSharp } /// - /// Gets the index of the item. It is only valid once displayed. + /// Gets the index of the item. It is only valid, once displayed. /// + /// preview + [Obsolete("This has been deprecated in API12")] public int Index { get @@ -272,8 +327,10 @@ namespace ElmSharp } /// - /// Gets the depth of expanded item. + /// Gets the depth of the expanded item. /// + /// preview + [Obsolete("This has been deprecated in API12")] public int ExpandedItemDepth { get @@ -283,22 +340,26 @@ namespace ElmSharp } /// - /// Remove all sub-items (children) of the given item. + /// Remove all the subitems (children) of the given item. /// - /// - /// This removes all items that are children (and their descendants) of the given item it. - /// + /// + /// This removes the items that are the children (and their descendants) of the given item. + /// + /// preview + [Obsolete("This has been deprecated in API12")] public void ClearSubitems() { Interop.Elementary.elm_genlist_item_subitems_clear(Handle); } /// - /// 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, is called on the item. /// /// The item class for the item. /// The data for the item. + /// preview + [Obsolete("This has been deprecated in API12")] public void UpdateItemClass(GenItemClass itemClass, object data) { Data = data; @@ -306,6 +367,11 @@ namespace ElmSharp Interop.Elementary.elm_genlist_item_item_class_update((IntPtr)Handle, itemClass.UnmanagedPtr); } + /// + /// Sets the content to be shown in the tooltip item. + /// + /// preview + [Obsolete("This has been deprecated in API12")] protected override void UpdateTooltipDelegate() { Interop.Elementary.elm_genlist_item_tooltip_content_cb_set(Handle, @@ -314,4 +380,4 @@ namespace ElmSharp null); } } -} +} \ No newline at end of file