|
||||||||||
| 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.StiButtonControl
public class StiButtonControl
Represents a Windows button control.
| Field Summary |
|---|
| 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 | |
|---|---|
StiButtonControl()
Creates a new StiButtonControl. |
|
StiButtonControl(StiRectangle rect)
Creates a new StiButtonControl. |
|
| Method Summary | |
|---|---|
StiColor |
getBackColor()
Gets or sets the background color for the control. |
boolean |
getCancel()
Gets or sets the value which indicates which button is clicked when the user presses the ESCAPE key. |
boolean |
getDefault()
Gets or sets the value which indicates which button is clicked when the user presses the ENTER key. |
StiDialogResult |
getDialogResult()
Gets or sets a value that is returned to the parent form when the button is clicked. |
java.lang.String |
getImage()
Gets or sets the image that is displayed on a button control. |
StiContentAlignment |
getImageAlign()
Gets or sets the alignment of the image on the button control. |
java.lang.String |
getLocalizedName()
Gets a localized component name. |
java.lang.String |
getText()
Gets or sets the text associated with this control. |
StiContentAlignment |
getTextAlign()
Gets or sets the alignment of the text on the button control. |
int |
getToolboxPosition()
Gets value to sort a position in the toolbox. |
void |
LoadFromJsonObject(JSONObject jObject)
|
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode)
|
void |
setBackColor(StiColor value)
|
void |
setCancel(boolean value)
|
void |
setDefault(boolean value)
|
void |
setDialogResult(StiDialogResult value)
|
void |
setImage(java.lang.String value)
|
void |
setImageAlign(StiContentAlignment value)
|
void |
setText(java.lang.String value)
|
void |
setTextAlign(StiContentAlignment 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 |
| Constructor Detail |
|---|
public StiButtonControl()
public StiButtonControl(StiRectangle rect)
rect - The rectangle describes sizes and position of the control.| Method Detail |
|---|
public int getToolboxPosition()
getToolboxPosition in class StiReportControlpublic java.lang.String getLocalizedName()
getLocalizedName in class StiReportControlpublic StiColor getBackColor()
StiReportControl
getBackColor in class StiReportControlpublic void setBackColor(StiColor value)
setBackColor in class StiReportControlpublic final java.lang.String getImage()
public final void setImage(java.lang.String value)
public final boolean getDefault()
public final void setDefault(boolean value)
public final StiDialogResult getDialogResult()
public final void setDialogResult(StiDialogResult value)
public final boolean getCancel()
public final void setCancel(boolean value)
public final StiContentAlignment getImageAlign()
public final void setImageAlign(StiContentAlignment value)
public final StiContentAlignment getTextAlign()
public final void setTextAlign(StiContentAlignment value)
public final java.lang.String getText()
public final void setText(java.lang.String value)
public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiReportControlJSONException
public void LoadFromJsonObject(JSONObject jObject)
throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiReportControlJSONException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||