Remove Actor class and move Actor APIs into View
[platform/core/uifw/dali-toolkit.git] / plugins / dali-sharp / sharp / internal / TableView.cs
1 /** Copyright (c) 2017 Samsung Electronics Co., Ltd.
2 *
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 *
15 */
16 // This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
17 //------------------------------------------------------------------------------
18 // <auto-generated />
19 //
20 // This file was automatically generated by SWIG (http://www.swig.org).
21 // Version 3.0.10
22 //
23 // Do not make changes to this file unless you know what you are doing--modify
24 // the SWIG interface file instead.
25 //------------------------------------------------------------------------------
26
27 namespace Dali {
28
29 public class TableView : View {
30   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
31
32   internal TableView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TableView_SWIGUpcast(cPtr), cMemoryOwn) {
33     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
34   }
35
36   internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TableView obj) {
37     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
38   }
39
40   ~TableView() {
41     DisposeQueue.Instance.Add(this);
42   }
43
44   public override void Dispose() {
45     if (!Stage.IsInstalled()) {
46       DisposeQueue.Instance.Add(this);
47       return;
48     }
49
50     lock(this) {
51       if (swigCPtr.Handle != global::System.IntPtr.Zero) {
52         if (swigCMemOwn) {
53           swigCMemOwn = false;
54           NDalicPINVOKE.delete_TableView(swigCPtr);
55         }
56         swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
57       }
58       global::System.GC.SuppressFinalize(this);
59       base.Dispose();
60     }
61   }
62
63
64   public class Property : global::System.IDisposable {
65     private global::System.Runtime.InteropServices.HandleRef swigCPtr;
66     protected bool swigCMemOwn;
67   
68     internal Property(global::System.IntPtr cPtr, bool cMemoryOwn) {
69       swigCMemOwn = cMemoryOwn;
70       swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
71     }
72   
73     internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj) {
74       return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
75     }
76   
77     ~Property() {
78       Dispose();
79     }
80   
81     public virtual void Dispose() {
82       lock(this) {
83         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
84           if (swigCMemOwn) {
85             swigCMemOwn = false;
86             NDalicPINVOKE.delete_TableView_Property(swigCPtr);
87           }
88           swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
89         }
90         global::System.GC.SuppressFinalize(this);
91       }
92     }
93   
94     public Property() : this(NDalicPINVOKE.new_TableView_Property(), true) {
95       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
96     }
97   
98     public static readonly int ROWS = NDalicPINVOKE.TableView_Property_ROWS_get();
99     public static readonly int COLUMNS = NDalicPINVOKE.TableView_Property_COLUMNS_get();
100     public static readonly int CELL_PADDING = NDalicPINVOKE.TableView_Property_CELL_PADDING_get();
101     public static readonly int LAYOUT_ROWS = NDalicPINVOKE.TableView_Property_LAYOUT_ROWS_get();
102     public static readonly int LAYOUT_COLUMNS = NDalicPINVOKE.TableView_Property_LAYOUT_COLUMNS_get();
103   
104   }
105
106   public class ChildProperty : global::System.IDisposable {
107     private global::System.Runtime.InteropServices.HandleRef swigCPtr;
108     protected bool swigCMemOwn;
109   
110     internal ChildProperty(global::System.IntPtr cPtr, bool cMemoryOwn) {
111       swigCMemOwn = cMemoryOwn;
112       swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
113     }
114   
115     internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ChildProperty obj) {
116       return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
117     }
118   
119     ~ChildProperty() {
120       Dispose();
121     }
122   
123     public virtual void Dispose() {
124       lock(this) {
125         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
126           if (swigCMemOwn) {
127             swigCMemOwn = false;
128             NDalicPINVOKE.delete_TableView_ChildProperty(swigCPtr);
129           }
130           swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
131         }
132         global::System.GC.SuppressFinalize(this);
133       }
134     }
135   
136     public ChildProperty() : this(NDalicPINVOKE.new_TableView_ChildProperty(), true) {
137       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
138     }
139   
140     public static readonly int CELL_INDEX = NDalicPINVOKE.TableView_ChildProperty_CELL_INDEX_get();
141     public static readonly int ROW_SPAN = NDalicPINVOKE.TableView_ChildProperty_ROW_SPAN_get();
142     public static readonly int COLUMN_SPAN = NDalicPINVOKE.TableView_ChildProperty_COLUMN_SPAN_get();
143     public static readonly int CELL_HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TableView_ChildProperty_CELL_HORIZONTAL_ALIGNMENT_get();
144     public static readonly int CELL_VERTICAL_ALIGNMENT = NDalicPINVOKE.TableView_ChildProperty_CELL_VERTICAL_ALIGNMENT_get();
145   
146   }
147
148   public class CellPosition : global::System.IDisposable {
149     private global::System.Runtime.InteropServices.HandleRef swigCPtr;
150     protected bool swigCMemOwn;
151   
152     internal CellPosition(global::System.IntPtr cPtr, bool cMemoryOwn) {
153       swigCMemOwn = cMemoryOwn;
154       swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
155     }
156   
157     internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CellPosition obj) {
158       return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
159     }
160   
161     ~CellPosition() {
162       Dispose();
163     }
164   
165     public virtual void Dispose() {
166       lock(this) {
167         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
168           if (swigCMemOwn) {
169             swigCMemOwn = false;
170             NDalicPINVOKE.delete_TableView_CellPosition(swigCPtr);
171           }
172           swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
173         }
174         global::System.GC.SuppressFinalize(this);
175       }
176     }
177   
178     public CellPosition(uint rowIndex, uint columnIndex, uint rowSpan, uint columnSpan) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_0(rowIndex, columnIndex, rowSpan, columnSpan), true) {
179       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
180     }
181   
182     public CellPosition(uint rowIndex, uint columnIndex, uint rowSpan) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_1(rowIndex, columnIndex, rowSpan), true) {
183       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
184     }
185   
186     public CellPosition(uint rowIndex, uint columnIndex) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_2(rowIndex, columnIndex), true) {
187       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
188     }
189   
190     public CellPosition(uint rowIndex) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_3(rowIndex), true) {
191       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
192     }
193   
194     public CellPosition() : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_4(), true) {
195       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
196     }
197   
198     public uint rowIndex {
199       set {
200         NDalicPINVOKE.TableView_CellPosition_rowIndex_set(swigCPtr, value);
201         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
202       } 
203       get {
204         uint ret = NDalicPINVOKE.TableView_CellPosition_rowIndex_get(swigCPtr);
205         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
206         return ret;
207       } 
208     }
209   
210     public uint columnIndex {
211       set {
212         NDalicPINVOKE.TableView_CellPosition_columnIndex_set(swigCPtr, value);
213         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
214       } 
215       get {
216         uint ret = NDalicPINVOKE.TableView_CellPosition_columnIndex_get(swigCPtr);
217         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
218         return ret;
219       } 
220     }
221   
222     public uint rowSpan {
223       set {
224         NDalicPINVOKE.TableView_CellPosition_rowSpan_set(swigCPtr, value);
225         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
226       } 
227       get {
228         uint ret = NDalicPINVOKE.TableView_CellPosition_rowSpan_get(swigCPtr);
229         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
230         return ret;
231       } 
232     }
233   
234     public uint columnSpan {
235       set {
236         NDalicPINVOKE.TableView_CellPosition_columnSpan_set(swigCPtr, value);
237         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
238       } 
239       get {
240         uint ret = NDalicPINVOKE.TableView_CellPosition_columnSpan_get(swigCPtr);
241         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
242         return ret;
243       } 
244     }
245   
246   }
247
248   public TableView (uint initialRows, uint initialColumns) : this (NDalicPINVOKE.TableView_New(initialRows, initialColumns), true) {
249       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
250
251   }
252   public TableView(TableView handle) : this(NDalicPINVOKE.new_TableView__SWIG_1(TableView.getCPtr(handle)), true) {
253     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
254   }
255
256   public TableView Assign(TableView handle) {
257     TableView ret = new TableView(NDalicPINVOKE.TableView_Assign(swigCPtr, TableView.getCPtr(handle)), false);
258     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
259     return ret;
260   }
261
262   public new static TableView DownCast(BaseHandle handle) {
263     TableView ret = new TableView(NDalicPINVOKE.TableView_DownCast(BaseHandle.getCPtr(handle)), true);
264     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
265     return ret;
266   }
267
268   public bool AddChild(View child, TableView.CellPosition position) {
269     bool ret = NDalicPINVOKE.TableView_AddChild(swigCPtr, View.getCPtr(child), TableView.CellPosition.getCPtr(position));
270     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
271     return ret;
272   }
273
274   public View GetChildAt(TableView.CellPosition position) {
275     View ret = new View(NDalicPINVOKE.TableView_GetChildAt(swigCPtr, TableView.CellPosition.getCPtr(position)), true);
276     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
277     return ret;
278   }
279
280   public View RemoveChildAt(TableView.CellPosition position) {
281     View ret = new View(NDalicPINVOKE.TableView_RemoveChildAt(swigCPtr, TableView.CellPosition.getCPtr(position)), true);
282     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
283     return ret;
284   }
285
286   public bool FindChildPosition(View child, TableView.CellPosition position) {
287     bool ret = NDalicPINVOKE.TableView_FindChildPosition(swigCPtr, View.getCPtr(child), TableView.CellPosition.getCPtr(position));
288     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
289     return ret;
290   }
291
292   public void InsertRow(uint rowIndex) {
293     NDalicPINVOKE.TableView_InsertRow(swigCPtr, rowIndex);
294     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
295   }
296
297   public void DeleteRow(uint rowIndex) {
298     NDalicPINVOKE.TableView_DeleteRow__SWIG_0(swigCPtr, rowIndex);
299     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
300   }
301
302   public void DeleteRow(uint rowIndex, ViewContainer removed) {
303     NDalicPINVOKE.TableView_DeleteRow__SWIG_1(swigCPtr, rowIndex, ViewContainer.getCPtr(removed));
304     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
305   }
306
307   public void InsertColumn(uint columnIndex) {
308     NDalicPINVOKE.TableView_InsertColumn(swigCPtr, columnIndex);
309     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
310   }
311
312   public void DeleteColumn(uint columnIndex) {
313     NDalicPINVOKE.TableView_DeleteColumn__SWIG_0(swigCPtr, columnIndex);
314     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
315   }
316
317   public void DeleteColumn(uint columnIndex, ViewContainer removed) {
318     NDalicPINVOKE.TableView_DeleteColumn__SWIG_1(swigCPtr, columnIndex, ViewContainer.getCPtr(removed));
319     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
320   }
321
322   public void Resize(uint rows, uint columns) {
323     NDalicPINVOKE.TableView_Resize__SWIG_0(swigCPtr, rows, columns);
324     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
325   }
326
327   public void Resize(uint rows, uint columns, ViewContainer removed) {
328     NDalicPINVOKE.TableView_Resize__SWIG_1(swigCPtr, rows, columns, ViewContainer.getCPtr(removed));
329     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
330   }
331
332   public void SetCellPadding(Vector2 padding) {
333     NDalicPINVOKE.TableView_SetCellPadding(swigCPtr, Vector2.getCPtr(padding));
334     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
335   }
336
337   public Vector2 GetCellPadding() {
338     Vector2 ret = new Vector2(NDalicPINVOKE.TableView_GetCellPadding(swigCPtr), true);
339     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
340     return ret;
341   }
342
343   public void SetFitHeight(uint rowIndex) {
344     NDalicPINVOKE.TableView_SetFitHeight(swigCPtr, rowIndex);
345     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
346   }
347
348   public bool IsFitHeight(uint rowIndex) {
349     bool ret = NDalicPINVOKE.TableView_IsFitHeight(swigCPtr, rowIndex);
350     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
351     return ret;
352   }
353
354   public void SetFitWidth(uint columnIndex) {
355     NDalicPINVOKE.TableView_SetFitWidth(swigCPtr, columnIndex);
356     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
357   }
358
359   public bool IsFitWidth(uint columnIndex) {
360     bool ret = NDalicPINVOKE.TableView_IsFitWidth(swigCPtr, columnIndex);
361     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
362     return ret;
363   }
364
365   public void SetFixedHeight(uint rowIndex, float height) {
366     NDalicPINVOKE.TableView_SetFixedHeight(swigCPtr, rowIndex, height);
367     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
368   }
369
370   public float GetFixedHeight(uint rowIndex) {
371     float ret = NDalicPINVOKE.TableView_GetFixedHeight(swigCPtr, rowIndex);
372     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
373     return ret;
374   }
375
376   public void SetRelativeHeight(uint rowIndex, float heightPercentage) {
377     NDalicPINVOKE.TableView_SetRelativeHeight(swigCPtr, rowIndex, heightPercentage);
378     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
379   }
380
381   public float GetRelativeHeight(uint rowIndex) {
382     float ret = NDalicPINVOKE.TableView_GetRelativeHeight(swigCPtr, rowIndex);
383     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
384     return ret;
385   }
386
387   public void SetFixedWidth(uint columnIndex, float width) {
388     NDalicPINVOKE.TableView_SetFixedWidth(swigCPtr, columnIndex, width);
389     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
390   }
391
392   public float GetFixedWidth(uint columnIndex) {
393     float ret = NDalicPINVOKE.TableView_GetFixedWidth(swigCPtr, columnIndex);
394     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
395     return ret;
396   }
397
398   public void SetRelativeWidth(uint columnIndex, float widthPercentage) {
399     NDalicPINVOKE.TableView_SetRelativeWidth(swigCPtr, columnIndex, widthPercentage);
400     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
401   }
402
403   public float GetRelativeWidth(uint columnIndex) {
404     float ret = NDalicPINVOKE.TableView_GetRelativeWidth(swigCPtr, columnIndex);
405     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
406     return ret;
407   }
408
409   public uint GetRows() {
410     uint ret = NDalicPINVOKE.TableView_GetRows(swigCPtr);
411     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
412     return ret;
413   }
414
415   public uint GetColumns() {
416     uint ret = NDalicPINVOKE.TableView_GetColumns(swigCPtr);
417     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
418     return ret;
419   }
420
421   public void SetCellAlignment(TableView.CellPosition position, HorizontalAlignmentType horizontal, VerticalAlignmentType vertical) {
422     NDalicPINVOKE.TableView_SetCellAlignment(swigCPtr, TableView.CellPosition.getCPtr(position), (int)horizontal, (int)vertical);
423     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
424   }
425
426   public enum PropertyRange {
427     PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
428     PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX+1000,
429     CHILD_PROPERTY_START_INDEX = PropertyRanges.CHILD_PROPERTY_REGISTRATION_START_INDEX,
430     CHILD_PROPERTY_END_INDEX = PropertyRanges.CHILD_PROPERTY_REGISTRATION_START_INDEX+1000
431   }
432
433   public enum LayoutPolicy {
434     FIXED,
435     RELATIVE,
436     FILL,
437     FIT
438   }
439
440   public int Rows
441   {
442     get
443     {
444       int temp = 0;
445       GetProperty( TableView.Property.ROWS).Get( ref temp );
446       return temp;
447     }
448     set
449     {
450       SetProperty( TableView.Property.ROWS, new Dali.Property.Value( value ) );
451     }
452   }
453   public int Columns
454   {
455     get
456     {
457       int temp = 0;
458       GetProperty( TableView.Property.COLUMNS).Get( ref temp );
459       return temp;
460     }
461     set
462     {
463       SetProperty( TableView.Property.COLUMNS, new Dali.Property.Value( value ) );
464     }
465   }
466   public Vector2 CellPadding
467   {
468     get
469     {
470       Vector2 temp = new Vector2(0.0f,0.0f);
471       GetProperty( TableView.Property.CELL_PADDING).Get(  temp );
472       return temp;
473     }
474     set
475     {
476       SetProperty( TableView.Property.CELL_PADDING, new Dali.Property.Value( value ) );
477     }
478   }
479   public Dali.Property.Map LayoutRows
480   {
481     get
482     {
483       Dali.Property.Map temp = new Dali.Property.Map();
484       GetProperty( TableView.Property.LAYOUT_ROWS).Get(  temp );
485       return temp;
486     }
487     set
488     {
489       SetProperty( TableView.Property.LAYOUT_ROWS, new Dali.Property.Value( value ) );
490     }
491   }
492   public Dali.Property.Map LayoutColumns
493   {
494     get
495     {
496       Dali.Property.Map temp = new Dali.Property.Map();
497       GetProperty( TableView.Property.LAYOUT_COLUMNS).Get(  temp );
498       return temp;
499     }
500     set
501     {
502       SetProperty( TableView.Property.LAYOUT_COLUMNS, new Dali.Property.Value( value ) );
503     }
504   }
505
506 }
507
508 }