X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FElmSharp%2FElmSharp%2FContainer.cs;h=5693ed018be335663b1fc88b078871760b3e1414;hb=58283d6a09a7f531af61ae7b27b574603ef244df;hp=b7e0e33b2c1632dfdd621987d3433805de787a3f;hpb=392021237cf4919991030e433f41545416d052b5;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/src/ElmSharp/ElmSharp/Container.cs b/src/ElmSharp/ElmSharp/Container.cs old mode 100755 new mode 100644 index b7e0e33..5693ed0 --- a/src/ElmSharp/ElmSharp/Container.cs +++ b/src/ElmSharp/ElmSharp/Container.cs @@ -21,33 +21,41 @@ namespace ElmSharp { /// /// It inherits . - /// The Container is a abstract class. - /// Other class inherits it to Elementary is about displaying + /// The Container is an abstract class. + /// The other class inherits it to elementary, which is about displaying /// its widgets in a nice layout. /// + /// preview + [Obsolete("This has been deprecated in API12")] public abstract class Container : Widget { HashSet _children = new HashSet(); /// - /// Creates and initializes a new instance of class which inherit from Container. + /// Creates and initializes a new instance of the class, which inherit from the Container. /// - /// The parent is a given object which will be attached by Container - /// as a child.It's type. - public Container(EvasObject parent) : base(parent) + /// The parent is a given object, which will be attached by the Container + /// as a child. It's type. + /// preview + [Obsolete("This has been deprecated in API12")] + protected Container(EvasObject parent) : base(parent) { } /// - /// Creates and initializes a new instance of Container class. + /// Creates and initializes a new instance of the Container class. /// - protected Container() : base() + /// preview + [Obsolete("This has been deprecated in API12")] + protected Container() { } /// /// Sets the background color of a given Container. /// + /// preview + [Obsolete("This has been deprecated in API12")] public override Color BackgroundColor { set @@ -65,14 +73,18 @@ namespace ElmSharp } /// - /// Gets the collection of child EvasObject of the Container. + /// Gets the collection of a child EvasObject of the Container. /// + /// preview + [Obsolete("This has been deprecated in API12")] protected IEnumerable Children => _children; /// - /// Add an EvasObject object as a child of Container. + /// Add the EvasObject object as a child of the Container. /// - /// The EvasObject object to be added + /// The EvasObject object to be added. + /// preview + [Obsolete("This has been deprecated in API12")] protected void AddChild(EvasObject obj) { _children.Add(obj); @@ -80,26 +92,30 @@ namespace ElmSharp } /// - /// Remove an EvasObject object as a child of Container. + /// Removes the EvasObject object as a child of the Container. /// - /// The EvasObject object to be removed + /// The EvasObject object to be removed. + /// preview + [Obsolete("This has been deprecated in API12")] protected void RemoveChild(EvasObject obj) { _children.Remove(obj); } /// - /// Clear all children of the Container. + /// Clears all the children of the Container. /// + /// preview + [Obsolete("This has been deprecated in API12")] protected void ClearChildren() { _children.Clear(); } /// - /// The Container Callback that is invoked when a child is removed. + /// The Container callback that is invoked when a child is removed. /// - /// The called Container + /// The called Container. /// void OnChildDeleted(object sender, EventArgs a) {