|
||||||||||
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.simplecomponents.StiCheckBox
public class StiCheckBox
Class describes the component - Check Box.
Field Summary |
---|
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 | |
---|---|
StiCheckBox()
Creates a new component of the type StiCheckBox. |
|
StiCheckBox(StiRectangle rect)
Creates a new component of the type StiCheckBox. |
Method Summary | |
---|---|
boolean |
Break(StiComponent dividedComponent,
double devideFactor,
StiRefObject<java.lang.Double> divideLine)
Divides content of components in two parts. |
java.lang.Object |
clone(boolean cloneProperties)
Creates a new object that is a copy of the current instance. |
void |
convert(StiUnit oldUnit,
StiUnit newUnit)
Convertes component from one unit into another. |
StiBorder |
getBorder()
Gets or sets border of the component. |
StiBrush |
getBrush()
Gets or sets a brush to fill a component. |
boolean |
getCanBreak()
Gets or sets value which indicates whether the component can or cannot break its contents on several pages. |
boolean |
getCanGrow()
gets or sets a value which indicates that this object can grow. |
boolean |
getCanShrink()
gets or sets value which indicates that this object can shrink. |
StiCheckedExpression |
getChecked()
Gets or sets an expression which used to calculate check state. |
java.lang.Object |
getCheckedValue()
Gets or sets checked value. |
StiCheckStyle |
getCheckStyle()
Deprecated. |
StiCheckStyle |
getCheckStyleForFalse()
Gets or sets check style for false value. |
StiCheckStyle |
getCheckStyleForTrue()
Gets or sets check style for true value. |
StiColor |
getContourColor()
Gets or sets a contour color. |
boolean |
getEditable()
Gets or sets value indicates that a component can be edited in the window of viewer. |
StiEventsCollection |
getEvents()
Return events collection of this component. |
java.lang.String |
getExcelDataValue()
Gets or sets excel data value. |
StiExcelValueExpression |
getExcelValue()
Gets or sets an expression used for export data to Excel. |
StiGetCheckedEvent |
getGetCheckedEvent()
Occurs when state is being checked. |
StiGetExcelValueEvent |
getGetExcelValueEvent()
Occurs when the ExcelValue is calculated. |
java.lang.String |
getLocalizedCategory()
Gets a localized name of the component category. |
java.lang.String |
getLocalizedName()
Gets a localized component name. |
double |
getSize()
Gets or sets a contour size. |
StiBrush |
getTextBrush()
Gets or sets a brush to draw text. |
int |
getToolboxPosition()
Gets value to sort a position in the toolbox. |
java.lang.String |
getValues()
Gets or sets string which describes true and false values. |
void |
invokeEvents()
Invokes all events for this components. |
void |
InvokeGetChecked(StiComponent sender,
StiValueEventArgs e)
Raises the GetChecked event. |
boolean |
isChecked()
|
boolean |
isExportAsImage(StiExportFormat format)
|
boolean |
isUnchecked()
|
void |
LoadFromJsonObject(JSONObject jObject)
|
java.lang.String |
SaveState()
Saves state of editable value. |
void |
saveState(java.lang.String stateName)
Saves the current state of an object. |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode)
|
void |
setBorder(StiBorder value)
|
void |
setBrush(StiBrush value)
|
void |
setCanBreak(boolean value)
|
void |
setCanGrow(boolean value)
|
void |
setCanShrink(boolean value)
|
void |
setChecked(StiCheckedExpression value)
|
void |
setCheckedValue(java.lang.Object value)
|
void |
setCheckStyle(StiCheckStyle value)
Deprecated. |
void |
setCheckStyleForFalse(StiCheckStyle value)
|
void |
setCheckStyleForTrue(StiCheckStyle value)
|
void |
setContourColor(StiColor value)
|
void |
setEditable(boolean value)
|
void |
setExcelDataValue(java.lang.String value)
|
void |
setExcelValue(StiExcelValueExpression value)
|
void |
setGetCheckedEvent(StiGetCheckedEvent value)
|
void |
setGetExcelValueEvent(StiGetExcelValueEvent value)
|
void |
setSize(double value)
|
void |
setTextBrush(StiBrush value)
|
void |
setValues(java.lang.String value)
|
Methods inherited from class com.stimulsoft.report.StiBase |
---|
getName, 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.report.components.interfaces.IStiEditable |
---|
RestoreState |
Methods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImageExtended |
---|
getImage |
Methods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImage |
---|
getImage |
Constructor Detail |
---|
public StiCheckBox()
public StiCheckBox(StiRectangle rect)
rect
- The rectangle describes size and position of the component.Method Detail |
---|
public java.lang.String SaveState()
IStiEditable
SaveState
in interface IStiEditable
public boolean getCanShrink()
StiComponent
getCanShrink
in interface IStiCanShrink
getCanShrink
in class StiComponent
public void setCanShrink(boolean value)
setCanShrink
in interface IStiCanShrink
setCanShrink
in class StiComponent
public boolean getCanGrow()
StiComponent
getCanGrow
in interface IStiCanGrow
getCanGrow
in class StiComponent
public void setCanGrow(boolean value)
setCanGrow
in interface IStiCanGrow
setCanGrow
in class StiComponent
public final StiBrush getBrush()
getBrush
in interface IStiBrush
public final void setBrush(StiBrush value)
setBrush
in interface IStiBrush
public final StiBorder getBorder()
getBorder
in interface IStiBorder
public final void setBorder(StiBorder value)
setBorder
in interface IStiBorder
public final StiBrush getTextBrush()
getTextBrush
in interface IStiTextBrush
public final void setTextBrush(StiBrush value)
setTextBrush
in interface IStiTextBrush
public boolean getEditable()
getEditable
in interface IStiEditable
public void setEditable(boolean value)
setEditable
in interface IStiEditable
public java.lang.Object clone(boolean cloneProperties)
clone
in class StiComponent
public boolean getCanBreak()
IStiBreakable
getCanBreak
in interface IStiBreakable
public void setCanBreak(boolean value)
setCanBreak
in interface IStiBreakable
public final boolean Break(StiComponent dividedComponent, double devideFactor, StiRefObject<java.lang.Double> divideLine)
Break
in interface IStiBreakable
dividedComponent
- Component for store part of content.
public StiEventsCollection getEvents()
getEvents
in class StiComponent
public int getToolboxPosition()
getToolboxPosition
in class StiComponent
public java.lang.String getLocalizedCategory()
getLocalizedCategory
in class StiBase
public java.lang.String getLocalizedName()
getLocalizedName
in class StiBase
public void invokeEvents()
invokeEvents
in class StiComponent
public final void InvokeGetChecked(StiComponent sender, StiValueEventArgs e)
public final StiGetCheckedEvent getGetCheckedEvent()
public final void setGetCheckedEvent(StiGetCheckedEvent value)
public final StiGetExcelValueEvent getGetExcelValueEvent()
public final void setGetExcelValueEvent(StiGetExcelValueEvent value)
public final java.lang.Object getCheckedValue()
public final void setCheckedValue(java.lang.Object value)
public final StiCheckedExpression getChecked()
public final void setChecked(StiCheckedExpression value)
public final java.lang.String getExcelDataValue()
public final void setExcelDataValue(java.lang.String value)
public StiExcelValueExpression getExcelValue()
public void setExcelValue(StiExcelValueExpression value)
public final boolean isChecked()
public final boolean isUnchecked()
public final StiColor getContourColor()
public final void setContourColor(StiColor value)
public final double getSize()
public final void setSize(double value)
@Deprecated public final StiCheckStyle getCheckStyle()
@Deprecated public final void setCheckStyle(StiCheckStyle value)
public final java.lang.String getValues()
public final void setValues(java.lang.String value)
public final StiCheckStyle getCheckStyleForTrue()
public final void setCheckStyleForTrue(StiCheckStyle value)
public final StiCheckStyle getCheckStyleForFalse()
public final void setCheckStyleForFalse(StiCheckStyle value)
public void convert(StiUnit oldUnit, StiUnit newUnit)
IStiUnitConvert
convert
in interface IStiUnitConvert
convert
in class StiComponent
oldUnit
- Old units.newUnit
- New units.public void saveState(java.lang.String stateName)
StiComponent
saveState
in interface IStiStateSaveRestore
saveState
in class StiComponent
stateName
- A name of the state being saved.public boolean isExportAsImage(StiExportFormat format)
isExportAsImage
in interface IStiExportImageExtended
isExportAsImage
in class StiComponent
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject
in interface IStiJsonReportObject
SaveToJsonObject
in class StiComponent
JSONException
public void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject
in interface IStiJsonReportObject
LoadFromJsonObject
in class StiComponent
JSONException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |