com.stimulsoft.report.dialogs
Class StiGridColumn

java.lang.Object
  extended by com.stimulsoft.report.dialogs.StiGridColumn
All Implemented Interfaces:
IStiSerializable, java.lang.Cloneable

public class StiGridColumn
extends java.lang.Object
implements IStiSerializable, java.lang.Cloneable

Describes a grid column.


Constructor Summary
StiGridColumn()
          Creates a new object of the type StiGridColumn.
StiGridColumn(java.lang.String dataTextField, boolean visible, int width, java.lang.String headerText, java.lang.String nullText)
          Creates a new object of the type StiGridColumn.
 
Method Summary
 java.lang.String getDataTextField()
          Gets or sets name of data column to be shown.
 StiGridColumnsCollection getGridColumnCollection()
           
 java.lang.String getHeaderText()
          Gets or sets header text of column.
 java.lang.String getNullText()
          Gets or sets text which will be shown instead null values.
 boolean getVisible()
          Gets or sets visiblity of column.
 int getWidth()
          Gets or sets width of column.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setDataTextField(java.lang.String value)
           
 void setGridColumnCollection(StiGridColumnsCollection value)
           
 void setHeaderText(java.lang.String value)
           
 void setNullText(java.lang.String value)
           
 void setVisible(boolean value)
           
 void setWidth(int value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StiGridColumn

public StiGridColumn()
Creates a new object of the type StiGridColumn.


StiGridColumn

public StiGridColumn(java.lang.String dataTextField,
                     boolean visible,
                     int width,
                     java.lang.String headerText,
                     java.lang.String nullText)
Creates a new object of the type StiGridColumn.

Parameters:
dataTextField -
visible - Visibility of column in grid.
Method Detail

getDataTextField

public final java.lang.String getDataTextField()
Gets or sets name of data column to be shown.


setDataTextField

public final void setDataTextField(java.lang.String value)

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

public final java.lang.String getHeaderText()
Gets or sets header text of column.


setHeaderText

public final void setHeaderText(java.lang.String value)

getNullText

public final java.lang.String getNullText()
Gets or sets text which will be shown instead null values.


setNullText

public final void setNullText(java.lang.String value)

getGridColumnCollection

public final StiGridColumnsCollection getGridColumnCollection()

setGridColumnCollection

public final void setGridColumnCollection(StiGridColumnsCollection value)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Throws:
JSONException