Package com.stimulsoft.report.styles
Class StiDialogStyle
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.report.styles.StiBaseStyle
com.stimulsoft.report.styles.StiDialogStyle
- All Implemented Interfaces:
IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiName,Cloneable
Describes the class that contains a style for dialog controls.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stimulsoft.report.styles.StiBaseStyle
StiBaseStyle.StiStyleSaver -
Field Summary
Fields inherited from class com.stimulsoft.report.styles.StiBaseStyle
reportFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new object of the type StiStyle.StiDialogStyle(String name) Creates a new object of the type StiStyle.StiDialogStyle(String name, String description) Creates a new object of the type StiStyle.StiDialogStyle(String name, String description, StiReport report) Creates a new object of the type StiStyle. -
Method Summary
Modifier and TypeMethodDescriptionclone()final booleanGets or sets a value which indicates whether a report engine can use BackColor for dialog controls.final booleanGets or sets a value which indicates whether a report engine can use Font for dialog controls.final booleanGets or sets a value which indicates whether a report engine can use ForeColor for dialog controls.final StiColorGets or sets a background color for drawing this style.final StiFontgetFont()Gets or sets the font for drawing this style.final StiColorGets or sets a foreground color for drawing this style.voidGetStyleFromComponent(StiComponent component, StiStyleElements styleElements) Gets a style from the component.voidLoadFromJsonObject(JSONObject jObject) final voidsetAllowUseBackColor(boolean value) final voidsetAllowUseFont(boolean value) final voidsetAllowUseForeColor(boolean value) final voidsetBackColor(StiColor value) final voidfinal voidsetForeColor(StiColor value) voidSetStyleToComponent(StiComponent component) Sets style to a component.Methods inherited from class com.stimulsoft.report.styles.StiBaseStyle
equals, getCollectionName, getConditions, getDescription, getName, getStyle, getStyle, getStyle, getStyle, GetStyleFromComponents, loadStyleFromString, saveToString, setCollectionName, setConditions, setDescription, setName, toStringMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
-
Constructor Details
-
StiDialogStyle
Creates a new object of the type StiStyle.- Parameters:
name- Style name.description- Style description.
-
StiDialogStyle
Creates a new object of the type StiStyle.- Parameters:
name- Style name.description- Style description.
-
StiDialogStyle
Creates a new object of the type StiStyle.- Parameters:
name- Style name.
-
StiDialogStyle
public StiDialogStyle()Creates a new object of the type StiStyle.
-
-
Method Details
-
clone
- Overrides:
clonein classStiBaseStyle
-
getFont
Gets or sets the font for drawing this style. -
setFont
-
getForeColor
Gets or sets a foreground color for drawing this style. -
setForeColor
-
getBackColor
Gets or sets a background color for drawing this style. -
setBackColor
-
getAllowUseFont
public final boolean getAllowUseFont()Gets or sets a value which indicates whether a report engine can use Font for dialog controls. -
setAllowUseFont
public final void setAllowUseFont(boolean value) -
getAllowUseBackColor
public final boolean getAllowUseBackColor()Gets or sets a value which indicates whether a report engine can use BackColor for dialog controls. -
setAllowUseBackColor
public final void setAllowUseBackColor(boolean value) -
getAllowUseForeColor
public final boolean getAllowUseForeColor()Gets or sets a value which indicates whether a report engine can use ForeColor for dialog controls. -
setAllowUseForeColor
public final void setAllowUseForeColor(boolean value) -
GetStyleFromComponent
Description copied from class:StiBaseStyleGets a style from the component.- Specified by:
GetStyleFromComponentin classStiBaseStyle- Parameters:
component- Component.
-
SetStyleToComponent
Sets style to a component.- Specified by:
SetStyleToComponentin classStiBaseStyle- Parameters:
component- Component.
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiBaseStyle- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiBaseStyle- Throws:
JSONException
-