|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.StiBase
com.stimulsoft.report.components.StiComponent
com.stimulsoft.report.components.complexcomponents.StiContainer
com.stimulsoft.report.dialogs.StiReportControl
com.stimulsoft.report.dialogs.StiGridControl
public class StiGridControl
Displays datasource in a scrollable grid.
Field Summary | |
---|---|
boolean |
isBofValue
|
boolean |
isEofValue
|
Fields inherited from class com.stimulsoft.report.components.complexcomponents.StiContainer |
---|
border, brush, collapsingIndex, components, ParentComponentIsBand, ParentComponentIsCrossBand |
Fields inherited from class com.stimulsoft.report.components.StiComponent |
---|
canGrow, canShrink, componentPlacement, conditions, currentPointer, expressions, interaction, isRendered, page, parent, parentBookmark, parentPointer, top, width |
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef |
---|
REFERENCE_EMPTY, REFERENCE_REPORT |
Constructor Summary | |
---|---|
StiGridControl()
Creates a new StiGridControl. |
|
StiGridControl(StiRectangle rect)
Creates a new StiGridControl. |
Method Summary | |
---|---|
void |
First()
Moves to first row. |
StiColor |
getAlternatingBackColor()
Gets or sets the background color of alternating rows for a ledger appearance. |
StiColor |
getBackColor()
Gets or sets the background color of the grid. |
StiColor |
getBackgroundColor()
Gets or sets the color of the non-row area of the grid. |
boolean |
getColumnHeadersVisible()
Gets or sets a value indicating whether the column headers a table are visible. |
StiGridColumnsCollection |
getColumns()
Gets or sets the column collection. |
int |
getCount()
Gets count of elements. |
StiDataSource |
getDataSource()
Gets data source. |
java.lang.String |
getDataSourceName()
Gets or sets name of data source. |
StiRectangle |
getDefaultClientRectangle()
Gets or sets the default client area of a component. |
java.lang.String |
getFilter()
Gets or sets filter string. |
StiColor |
getForeColor()
Gets or sets the foreground color (typically the color of the text) property. |
StiColor |
getGridLineColor()
Gets or sets the color of the grid lines. |
StiDataGridLineStyle |
getGridLineStyle()
Gets or sets the line style of the grid. |
StiColor |
getHeaderBackColor()
Gets or sets the background color of all row and column headers. |
StiFont |
getHeaderFont()
Gets or sets the font used for column headers. |
StiColor |
getHeaderForeColor()
Gets or sets the foreground color of headers. |
boolean |
getIsBof()
Gets value indicates that position points to begin data. |
boolean |
getIsDataSourceEmpty()
|
boolean |
getIsEmpty()
Gets value indicates that no data. |
boolean |
getIsEof()
Gets value indicates that position points to end data. |
java.lang.String |
getLocalizedName()
Gets a localized component name. |
int |
getPosition()
Gets the current position. |
StiPositionChangedEvent |
getPositionChangedEvent()
Gets or sets a script of the event PositionChanged. |
int |
getPreferredColumnWidth()
Gets or sets the default width of the grid columns in pixels. |
int |
getPreferredRowHeight()
Gets or sets the preferred row height. |
boolean |
getRowHeadersVisible()
Gets or sets a value that specifies whether row headers are visible. |
int |
getRowHeaderWidth()
Gets or sets the width of row headers. |
StiColor |
getSelectionBackColor()
Gets or sets the background color of selected rows. |
StiColor |
getSelectionForeColor()
Gets or set the foreground color of selected rows. |
int |
getToolboxPosition()
Gets value to sort a position in the toolbox. |
boolean |
isDataSourceEmpty()
Returns true if DataSource property is not assigned. |
void |
Last()
Moves to last row. |
void |
LoadFromJsonObject(JSONObject jObject)
|
void |
MoveNext()
Moves to the next row. |
void |
Next()
Moves to next row. |
void |
Prior()
Moves to prior row. |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode)
|
void |
setAlternatingBackColor(StiColor value)
|
void |
setBackColor(StiColor value)
|
void |
setBackgroundColor(StiColor value)
|
void |
setColumnHeadersVisible(boolean value)
|
void |
setColumns(StiGridColumnsCollection value)
|
void |
setDataSourceName(java.lang.String value)
|
void |
setFilter(java.lang.String value)
|
void |
setForeColor(StiColor value)
|
void |
setGridLineColor(StiColor value)
|
void |
setGridLineStyle(StiDataGridLineStyle value)
|
void |
setHeaderBackColor(StiColor value)
|
void |
setHeaderFont(StiFont value)
|
void |
setHeaderForeColor(StiColor value)
|
void |
setIsBof(boolean value)
|
void |
setIsEof(boolean value)
|
void |
setPosition(int value)
|
void |
setPositionChangedEvent(StiPositionChangedEvent value)
|
void |
setPreferredColumnWidth(int value)
|
void |
setPreferredRowHeight(int value)
|
void |
setRowHeadersVisible(boolean value)
|
void |
setRowHeaderWidth(int value)
|
void |
setSelectionBackColor(StiColor value)
|
void |
setSelectionForeColor(StiColor value)
|
Methods inherited from class com.stimulsoft.report.StiBase |
---|
getServiceName |
Methods inherited from class com.stimulsoft.base.services.StiService |
---|
getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, properties, setProperties, setServiceEnabled |
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject |
---|
cleanReference, getReference, setReference |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef |
---|
getReference, setReference |
Field Detail |
---|
public boolean isEofValue
public boolean isBofValue
Constructor Detail |
---|
public StiGridControl()
public StiGridControl(StiRectangle rect)
rect
- The rectangle describes sizes and position of the control.Method Detail |
---|
public int getToolboxPosition()
getToolboxPosition
in class StiReportControl
public java.lang.String getLocalizedName()
getLocalizedName
in class StiReportControl
public StiColor getForeColor()
getForeColor
in class StiReportControl
public void setForeColor(StiColor value)
setForeColor
in class StiReportControl
public StiColor getBackColor()
getBackColor
in class StiReportControl
public void setBackColor(StiColor value)
setBackColor
in class StiReportControl
public StiColor getAlternatingBackColor()
public void setAlternatingBackColor(StiColor value)
public StiColor getBackgroundColor()
public void setBackgroundColor(StiColor value)
public StiColor getGridLineColor()
public void setGridLineColor(StiColor value)
public StiColor getHeaderBackColor()
public void setHeaderBackColor(StiColor value)
public StiColor getHeaderForeColor()
public void setHeaderForeColor(StiColor value)
public StiColor getSelectionBackColor()
public void setSelectionBackColor(StiColor value)
public StiColor getSelectionForeColor()
public void setSelectionForeColor(StiColor value)
public java.lang.String getFilter()
public void setFilter(java.lang.String value)
public StiFont getHeaderFont()
public void setHeaderFont(StiFont value)
public boolean getColumnHeadersVisible()
public void setColumnHeadersVisible(boolean value)
public boolean getRowHeadersVisible()
public void setRowHeadersVisible(boolean value)
public StiDataGridLineStyle getGridLineStyle()
public void setGridLineStyle(StiDataGridLineStyle value)
public int getPreferredColumnWidth()
public void setPreferredColumnWidth(int value)
public int getPreferredRowHeight()
public void setPreferredRowHeight(int value)
public int getRowHeaderWidth()
public void setRowHeaderWidth(int value)
public StiGridColumnsCollection getColumns()
public void setColumns(StiGridColumnsCollection value)
public void MoveNext()
public void First()
First
in interface IStiEnumerator
public void Prior()
Prior
in interface IStiEnumerator
public void Next()
Next
in interface IStiEnumerator
public void Last()
Last
in interface IStiEnumerator
public boolean getIsEof()
getIsEof
in interface IStiEnumerator
public void setIsEof(boolean value)
setIsEof
in interface IStiEnumerator
public boolean getIsBof()
getIsBof
in interface IStiEnumerator
public void setIsBof(boolean value)
setIsBof
in interface IStiEnumerator
public boolean getIsEmpty()
getIsEmpty
in interface IStiEnumerator
public StiDataSource getDataSource()
getDataSource
in interface IStiDataSource
public final java.lang.String getDataSourceName()
getDataSourceName
in interface IStiDataSource
public final void setDataSourceName(java.lang.String value)
setDataSourceName
in interface IStiDataSource
public final boolean getIsDataSourceEmpty()
public StiPositionChangedEvent getPositionChangedEvent()
public void setPositionChangedEvent(StiPositionChangedEvent value)
public StiRectangle getDefaultClientRectangle()
getDefaultClientRectangle
in class StiReportControl
public int getPosition()
IStiEnumerator
getPosition
in interface IStiEnumerator
public void setPosition(int value)
setPosition
in interface IStiEnumerator
public int getCount()
IStiEnumerator
getCount
in interface IStiEnumerator
public boolean isDataSourceEmpty()
IStiDataSource
isDataSourceEmpty
in interface IStiDataSource
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject
in interface IStiJsonReportObject
SaveToJsonObject
in class StiReportControl
JSONException
public void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject
in interface IStiJsonReportObject
LoadFromJsonObject
in class StiReportControl
JSONException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |