Package com.stimulsoft.report.dialogs
Class StiGridColumn
java.lang.Object
com.stimulsoft.report.dialogs.StiGridColumn
- All Implemented Interfaces:
IStiSerializable,Cloneable
Describes a grid column.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new object of the type StiGridColumn.StiGridColumn(String dataTextField, boolean visible, int width, String headerText, String nullText) Creates a new object of the type StiGridColumn. -
Method Summary
Modifier and TypeMethodDescriptionfinal StringGets or sets name of data column to be shown.final StiGridColumnsCollectionfinal StringGets or sets header text of column.final StringGets or sets text which will be shown instead null values.final booleanGets or sets visiblity of column.final intgetWidth()Gets or sets width of column.voidLoadFromJsonObject(JSONObject jObject) final voidsetDataTextField(String value) final voidfinal voidsetHeaderText(String value) final voidsetNullText(String value) final voidsetVisible(boolean value) final voidsetWidth(int value) toString()
-
Constructor Details
-
StiGridColumn
public StiGridColumn()Creates a new object of the type StiGridColumn. -
StiGridColumn
public StiGridColumn(String dataTextField, boolean visible, int width, String headerText, String nullText) Creates a new object of the type StiGridColumn.- Parameters:
dataTextField-visible- Visibility of column in grid.
-
-
Method Details
-
getDataTextField
Gets or sets name of data column to be shown. -
setDataTextField
-
getVisible
public final boolean getVisible()Gets or sets visiblity of column. -
setVisible
public final void setVisible(boolean value) -
getWidth
public final int getWidth()Gets or sets width of column. -
setWidth
public final void setWidth(int value) -
getHeaderText
Gets or sets header text of column. -
setHeaderText
-
getNullText
Gets or sets text which will be shown instead null values. -
setNullText
-
getGridColumnCollection
-
setGridColumnCollection
-
toString
-
SaveToJsonObject
- Throws:
JSONException
-
LoadFromJsonObject
- Throws:
JSONException
-