Class StiGridColumn

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

public class StiGridColumn extends Object implements IStiSerializable, Cloneable
Describes a grid column.
  • 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

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

      public final void setDataTextField(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 String getHeaderText()
      Gets or sets header text of column.
    • setHeaderText

      public final void setHeaderText(String value)
    • getNullText

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

      public final void setNullText(String value)
    • getGridColumnCollection

      public final StiGridColumnsCollection getGridColumnCollection()
    • setGridColumnCollection

      public final void setGridColumnCollection(StiGridColumnsCollection value)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • SaveToJsonObject

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

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