X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FTizen.NUI%2Fsrc%2Fpublic%2FRelayoutContainer.cs;h=ecdd30b2b7a70b1aed41da3557f42505f6aa5172;hb=067e823e47c9d3a61947a4ac4066916714e68189;hp=dae6cc8a7ed90b38ea0a29fd716e98f984d0bbc7;hpb=881b0ab7c0d2f048ba3c5897ac050fe83f80444b;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/src/Tizen.NUI/src/public/RelayoutContainer.cs b/src/Tizen.NUI/src/public/RelayoutContainer.cs index dae6cc8..ecdd30b 100755 --- a/src/Tizen.NUI/src/public/RelayoutContainer.cs +++ b/src/Tizen.NUI/src/public/RelayoutContainer.cs @@ -1,31 +1,35 @@ -// Copyright (c) 2017 Samsung Electronics Co., Ltd. -// -// 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. -// -// -// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts -// Some have been manually changed +/* + * Copyright(c) 2017 Samsung Electronics Co., Ltd. + * + * 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. + * + */ namespace Tizen.NUI { using Tizen.NUI.BaseComponents; /// - /// Interface to encapsulate information required for relayout. + /// An interface to encapsulate the information required for relayout. /// + /// 3 public class RelayoutContainer : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; + /// + /// swigCMemOwn + /// + /// 3 protected bool swigCMemOwn; internal RelayoutContainer(global::System.IntPtr cPtr, bool cMemoryOwn) @@ -41,9 +45,16 @@ namespace Tizen.NUI //A Flag to check who called Dispose(). (By User or DisposeQueue) private bool isDisposeQueued = false; - //A Flat to check if it is already disposed. + /// + /// A Flat to check if it is already disposed. + /// + /// 3 protected bool disposed = false; + /// + /// Dispose. + /// + /// 3 ~RelayoutContainer() { if(!isDisposeQueued) @@ -54,8 +65,9 @@ namespace Tizen.NUI } /// - /// To make RelayoutContainer instance be disposed. + /// To make the RelayoutContainer instance be disposed. /// + /// 3 public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -75,6 +87,10 @@ namespace Tizen.NUI } } + /// + /// Dispose. + /// + /// 3 protected virtual void Dispose(DisposeTypes type) { if (disposed) @@ -108,8 +124,9 @@ namespace Tizen.NUI /// /// Adds relayout information to the container if it doesn't already exist. /// - /// The view to relayout - /// The size to relayout + /// The view to relayout. + /// The size to relayout. + /// 3 public virtual void Add(View view, Size2D size) { NDalicPINVOKE.RelayoutContainer_Add(swigCPtr, View.getCPtr(view), Size2D.getCPtr(size)); @@ -118,4 +135,4 @@ namespace Tizen.NUI } -} +} \ No newline at end of file