X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FTizen.NUI%2Fsrc%2Fpublic%2FBaseComponents%2FTableView.cs;h=76cf07463270ad3434fb9527b8a2ad1fd615ab1d;hb=refs%2Ftags%2Fsubmit%2Ftizen%2F20170929.150026;hp=0766f75d2651c185d6b6b1c1a43e56cd503e6b01;hpb=dfd553881d3f1b220b726f868ce3f7f873efdcc2;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/src/Tizen.NUI/src/public/BaseComponents/TableView.cs b/src/Tizen.NUI/src/public/BaseComponents/TableView.cs index 0766f75..76cf074 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TableView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TableView.cs @@ -178,6 +178,7 @@ namespace Tizen.NUI.BaseComponents /// The column index initialized. /// The row span initialized. /// The column span initialized. + /// 3 public CellPosition(uint rowIndex, uint columnIndex, uint rowSpan, uint columnSpan) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_0(rowIndex, columnIndex, rowSpan, columnSpan), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -189,6 +190,7 @@ namespace Tizen.NUI.BaseComponents /// The row index initialized. /// The column index initialized. /// The row span initialized. + /// 3 public CellPosition(uint rowIndex, uint columnIndex, uint rowSpan) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_1(rowIndex, columnIndex, rowSpan), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -199,6 +201,7 @@ namespace Tizen.NUI.BaseComponents /// /// The row index initialized. /// The column index initialized. + /// 3 public CellPosition(uint rowIndex, uint columnIndex) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_2(rowIndex, columnIndex), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -208,6 +211,7 @@ namespace Tizen.NUI.BaseComponents /// The constructor to initialize values to default for convenience. /// /// The row index initialized. + /// 3 public CellPosition(uint rowIndex) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_3(rowIndex), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -216,6 +220,7 @@ namespace Tizen.NUI.BaseComponents /// /// The default constructor. /// + /// 3 public CellPosition() : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_4(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -224,6 +229,7 @@ namespace Tizen.NUI.BaseComponents /// /// The index of a row. /// + /// 3 public uint rowIndex { set @@ -242,6 +248,7 @@ namespace Tizen.NUI.BaseComponents /// /// The index of a column. /// + /// 3 public uint columnIndex { set @@ -260,6 +267,7 @@ namespace Tizen.NUI.BaseComponents /// /// The span of a row. /// + /// 3 public uint rowSpan { set @@ -278,6 +286,7 @@ namespace Tizen.NUI.BaseComponents /// /// The span of a column. /// + /// 3 public uint columnSpan { set @@ -300,6 +309,7 @@ namespace Tizen.NUI.BaseComponents /// /// Initial rows for the table. /// Initial columns for the table. + /// 3 public TableView(uint initialRows, uint initialColumns) : this(NDalicPINVOKE.TableView_New(initialRows, initialColumns), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -310,6 +320,7 @@ namespace Tizen.NUI.BaseComponents /// The Copy constructor. Creates another handle that points to the same real object. /// /// Handle to copy from. + /// 3 public TableView(TableView handle) : this(NDalicPINVOKE.new_TableView__SWIG_1(TableView.getCPtr(handle)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -330,6 +341,7 @@ namespace Tizen.NUI.BaseComponents /// The child to add. /// The position for the child. /// True if the addition succeeded, and false if the cell is already occupied. + /// 3 public bool AddChild(View child, TableView.CellPosition position) { bool ret = NDalicPINVOKE.TableView_AddChild(swigCPtr, View.getCPtr(child), TableView.CellPosition.getCPtr(position)); @@ -342,6 +354,7 @@ namespace Tizen.NUI.BaseComponents /// /// The position in the table. /// Child that was in the cell or an uninitialized handle. + /// 3 public View GetChildAt(TableView.CellPosition position) { IntPtr cPtr = NDalicPINVOKE.TableView_GetChildAt(swigCPtr, TableView.CellPosition.getCPtr(position)); @@ -356,6 +369,7 @@ namespace Tizen.NUI.BaseComponents /// /// The position for the child to remove. /// Child that was removed or an uninitialized handle. + /// 3 public View RemoveChildAt(TableView.CellPosition position) { IntPtr cPtr = NDalicPINVOKE.TableView_RemoveChildAt(swigCPtr, TableView.CellPosition.getCPtr(position)); @@ -371,6 +385,7 @@ namespace Tizen.NUI.BaseComponents /// The child to search for. /// The position for the child. /// True if the child was included in this TableView. + /// 3 public bool FindChildPosition(View child, TableView.CellPosition position) { bool ret = NDalicPINVOKE.TableView_FindChildPosition(swigCPtr, View.getCPtr(child), TableView.CellPosition.getCPtr(position)); @@ -382,6 +397,7 @@ namespace Tizen.NUI.BaseComponents /// Inserts a new row to the given index. /// /// The rowIndex of the new row. + /// 3 public void InsertRow(uint rowIndex) { NDalicPINVOKE.TableView_InsertRow(swigCPtr, rowIndex); @@ -393,6 +409,7 @@ namespace Tizen.NUI.BaseComponents /// Removed elements are deleted.
/// /// The rowIndex of the row to delete. + /// 3 public void DeleteRow(uint rowIndex) { NDalicPINVOKE.TableView_DeleteRow__SWIG_0(swigCPtr, rowIndex); @@ -403,6 +420,7 @@ namespace Tizen.NUI.BaseComponents /// Inserts a new column to the given index. /// /// The columnIndex of the new column. + /// 3 public void InsertColumn(uint columnIndex) { NDalicPINVOKE.TableView_InsertColumn(swigCPtr, columnIndex); @@ -414,6 +432,7 @@ namespace Tizen.NUI.BaseComponents /// Removed elements are deleted.
/// /// The columnIndex of the column to delete. + /// 3 public void DeleteColumn(uint columnIndex) { NDalicPINVOKE.TableView_DeleteColumn__SWIG_0(swigCPtr, columnIndex); @@ -425,6 +444,7 @@ namespace Tizen.NUI.BaseComponents /// /// The rows for the table. /// The columns for the table. + /// 3 public void Resize(uint rows, uint columns) { NDalicPINVOKE.TableView_Resize__SWIG_0(swigCPtr, rows, columns); @@ -435,6 +455,7 @@ namespace Tizen.NUI.BaseComponents /// Sets the horizontal and the vertical padding between cells. /// /// Width and height. + /// 3 public void SetCellPadding(Size2D padding) { NDalicPINVOKE.TableView_SetCellPadding(swigCPtr, Size2D.getCPtr(padding)); @@ -445,6 +466,7 @@ namespace Tizen.NUI.BaseComponents /// Gets the current padding as width and height. /// /// The current padding as width and height. + /// 3 public Vector2 GetCellPadding() { Vector2 ret = new Vector2(NDalicPINVOKE.TableView_GetCellPadding(swigCPtr), true); @@ -456,6 +478,7 @@ namespace Tizen.NUI.BaseComponents /// Specifies this row as fitting its height to its children. /// /// The row to set. + /// 3 public void SetFitHeight(uint rowIndex) { NDalicPINVOKE.TableView_SetFitHeight(swigCPtr, rowIndex); @@ -467,6 +490,7 @@ namespace Tizen.NUI.BaseComponents /// /// The row to check. /// True if the row is fit. + /// 3 public bool IsFitHeight(uint rowIndex) { bool ret = NDalicPINVOKE.TableView_IsFitHeight(swigCPtr, rowIndex); @@ -478,6 +502,7 @@ namespace Tizen.NUI.BaseComponents /// Specifies this column as fitting its width to its children. /// /// The column to set. + /// 3 public void SetFitWidth(uint columnIndex) { NDalicPINVOKE.TableView_SetFitWidth(swigCPtr, columnIndex); @@ -489,6 +514,7 @@ namespace Tizen.NUI.BaseComponents /// /// The column to check. /// True if the column is fit. + /// 3 public bool IsFitWidth(uint columnIndex) { bool ret = NDalicPINVOKE.TableView_IsFitWidth(swigCPtr, columnIndex); @@ -502,6 +528,7 @@ namespace Tizen.NUI.BaseComponents /// /// The rowIndex for row with a fixed height. /// The height in world coordinate units. + /// 3 public void SetFixedHeight(uint rowIndex, float height) { NDalicPINVOKE.TableView_SetFixedHeight(swigCPtr, rowIndex, height); @@ -513,6 +540,7 @@ namespace Tizen.NUI.BaseComponents /// /// The row index with a fixed height. /// height The height in world coordinate units. + /// 3 public float GetFixedHeight(uint rowIndex) { float ret = NDalicPINVOKE.TableView_GetFixedHeight(swigCPtr, rowIndex); @@ -527,6 +555,7 @@ namespace Tizen.NUI.BaseComponents /// /// The rowIndex for row with a relative height. /// The height percentage between 0.0f and 1.0f. + /// 3 public void SetRelativeHeight(uint rowIndex, float heightPercentage) { NDalicPINVOKE.TableView_SetRelativeHeight(swigCPtr, rowIndex, heightPercentage); @@ -538,6 +567,7 @@ namespace Tizen.NUI.BaseComponents /// /// The row index with a relative height. /// Height in percentage units, between 0.0f and 1.0f. + /// 3 public float GetRelativeHeight(uint rowIndex) { float ret = NDalicPINVOKE.TableView_GetRelativeHeight(swigCPtr, rowIndex); @@ -551,6 +581,7 @@ namespace Tizen.NUI.BaseComponents /// /// The columnIndex for column with a fixed width. /// The width in world coordinate units. + /// 3 public void SetFixedWidth(uint columnIndex, float width) { NDalicPINVOKE.TableView_SetFixedWidth(swigCPtr, columnIndex, width); @@ -562,6 +593,7 @@ namespace Tizen.NUI.BaseComponents /// /// The column index with a fixed width. /// Width in world coordinate units. + /// 3 public float GetFixedWidth(uint columnIndex) { float ret = NDalicPINVOKE.TableView_GetFixedWidth(swigCPtr, columnIndex); @@ -576,6 +608,7 @@ namespace Tizen.NUI.BaseComponents /// /// The columnIndex for column with a fixed width. /// The widthPercentage between 0.0f and 1.0f. + /// 3 public void SetRelativeWidth(uint columnIndex, float widthPercentage) { NDalicPINVOKE.TableView_SetRelativeWidth(swigCPtr, columnIndex, widthPercentage); @@ -587,6 +620,7 @@ namespace Tizen.NUI.BaseComponents /// /// The column index with a relative width. /// Width in percentage units, between 0.0f and 1.0f. + /// 3 public float GetRelativeWidth(uint columnIndex) { float ret = NDalicPINVOKE.TableView_GetRelativeWidth(swigCPtr, columnIndex); @@ -601,6 +635,7 @@ namespace Tizen.NUI.BaseComponents /// The cell to set alignment on. /// The horizontal alignment. /// The vertical alignment. + /// 3 public void SetCellAlignment(TableView.CellPosition position, HorizontalAlignmentType horizontal, VerticalAlignmentType vertical) { NDalicPINVOKE.TableView_SetCellAlignment(swigCPtr, TableView.CellPosition.getCPtr(position), (int)horizontal, (int)vertical); @@ -610,6 +645,7 @@ namespace Tizen.NUI.BaseComponents /// /// Enumeration for describing how the size of a row or column has been set. /// + /// 3 public enum LayoutPolicy { Fixed, @@ -621,6 +657,7 @@ namespace Tizen.NUI.BaseComponents /// /// The amount of rows in the table. /// + /// 3 public int Rows { get @@ -637,6 +674,7 @@ namespace Tizen.NUI.BaseComponents /// /// The amount of columns in the table. /// + /// 3 public int Columns { get @@ -653,6 +691,7 @@ namespace Tizen.NUI.BaseComponents /// /// Padding between cells. /// + /// 3 public Vector2 CellPadding { get @@ -670,6 +709,7 @@ namespace Tizen.NUI.BaseComponents /// /// The number of layout rows. /// + /// 3 public PropertyMap LayoutRows { get @@ -687,6 +727,7 @@ namespace Tizen.NUI.BaseComponents /// /// The number of layout columns. /// + /// 3 public PropertyMap LayoutColumns { get @@ -702,4 +743,4 @@ namespace Tizen.NUI.BaseComponents } } -} +} \ No newline at end of file