|
||||||||||
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.report.styles.StiBaseStyle
com.stimulsoft.report.styles.StiStyle
public class StiStyle
Describes the class that contains a style for components.
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 |
---|
report |
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef |
---|
REFERENCE_EMPTY, REFERENCE_REPORT |
Constructor Summary | |
---|---|
StiStyle()
Creates a new object of the type StiStyle. |
|
StiStyle(java.lang.String name)
Creates a new object of the type StiStyle. |
|
StiStyle(java.lang.String name,
java.lang.String description)
Creates a new object of the type StiStyle. |
|
StiStyle(java.lang.String name,
java.lang.String description,
StiReport report)
Creates a new object of the type StiStyle. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
boolean |
getAllowUseBorderFormatting()
Gets or sets a value which indicates whether a report engine can use Border formatting or not. |
boolean |
getAllowUseBorderSides()
Gets or sets a value which indicates whether a report engine can use Border Sides or not. |
boolean |
getAllowUseborderSidesFromLocation()
|
boolean |
getAllowUseBrush()
Gets or sets a value which indicates whether a report engine can use Brush formatting or not. |
boolean |
getAllowUseFont()
Gets or sets a value which indicates whether a report engine can use Font formatting or not. |
boolean |
getAllowUseHorAlignment()
Gets or sets a value which indicates whether a report engine can use HorAlignment formatting or not. |
boolean |
getAllowUseImage()
Gets or sets a value which indicates whether a report engine can use Image formatting or not. |
boolean |
getAllowUseTextBrush()
Gets or sets a value which indicates whether a report engine can use TextBrush formatting or not. |
boolean |
getAllowUseTextOptions()
Gets or sets a value which indicates whether a report engine can use TextOptions formatting or not. |
boolean |
getAllowUseVertAlignment()
Gets or sets a value which indicates whether a report engine can use VertAlignment formatting or not. |
StiBorder |
getBorder()
Gets or sets frame of the component. |
StiBrush |
getBrush()
Gets or sets a brush to fill a style. |
StiFont |
getFont()
Gets or sets font of style. |
StiTextHorAlignment |
getHorAlignment()
Gets or sets the style horizontal alignment. |
StiImage |
getImage()
Gets or sets the image to fill Image property of Image component. |
StiStyleCode |
getStyleCode()
Gets or sets a value which indicates on which band in a report this style can be apply when applying style automatically. |
void |
GetStyleFromComponent(StiComponent component,
StiStyleElements styleElements)
Gets a style from the component. |
void |
GetStyleFromComponent(StiComponent component,
StiStyleElements styleElements,
StiBaseStyle componentStyle)
Gets a style from the component. |
StiBrush |
getTextBrush()
Gets or sets a brush to draw text. |
StiTextOptions |
getTextOptions()
Do not use this property. |
StiVertAlignment |
getVertAlignment()
Gets or sets the vertical alignment of an style. |
void |
LoadFromJsonObject(JSONObject jObject)
|
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode)
|
void |
setAllowUseBorderFormatting(boolean value)
|
void |
setAllowUseBorderSides(boolean value)
|
void |
setAllowUseborderSidesFromLocation(boolean allowUseborderSidesFromLocation)
|
void |
setAllowUseBrush(boolean value)
|
void |
setAllowUseFont(boolean value)
|
void |
setAllowUseHorAlignment(boolean value)
|
void |
setAllowUseImage(boolean value)
|
void |
setAllowUseTextBrush(boolean value)
|
void |
setAllowUseTextOptions(boolean value)
|
void |
setAllowUseVertAlignment(boolean value)
|
void |
setBorder(StiBorder value)
|
void |
setBrush(StiBrush value)
|
void |
setFont(StiFont value)
|
void |
setHorAlignment(StiTextHorAlignment value)
|
void |
setImage(StiImage value)
|
void |
setStyleCode(StiStyleCode value)
|
void |
SetStyleToComponent(StiComponent component)
Sets style to a component. |
void |
setTextBrush(StiBrush value)
|
void |
setTextOptions(StiTextOptions value)
|
void |
setVertAlignment(StiVertAlignment value)
|
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, toString |
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 |
Constructor Detail |
---|
public StiStyle(java.lang.String name, java.lang.String description, StiReport report)
name
- Style name.description
- Style description.public StiStyle(java.lang.String name, java.lang.String description)
name
- Style name.description
- Style description.public StiStyle(java.lang.String name)
name
- Style name.public StiStyle()
Method Detail |
---|
public java.lang.Object clone()
clone
in class StiBaseStyle
public StiTextHorAlignment getHorAlignment()
public void setHorAlignment(StiTextHorAlignment value)
public StiVertAlignment getVertAlignment()
public void setVertAlignment(StiVertAlignment value)
public final StiFont getFont()
public final void setFont(StiFont value)
public final StiBorder getBorder()
public final void setBorder(StiBorder value)
public final StiBrush getBrush()
public final void setBrush(StiBrush value)
public final StiBrush getTextBrush()
public final void setTextBrush(StiBrush value)
public final StiTextOptions getTextOptions()
public final void setTextOptions(StiTextOptions value)
public final boolean getAllowUseHorAlignment()
public final void setAllowUseHorAlignment(boolean value)
public final boolean getAllowUseVertAlignment()
public final void setAllowUseVertAlignment(boolean value)
public final boolean getAllowUseImage()
public final void setAllowUseImage(boolean value)
public final boolean getAllowUseFont()
public final void setAllowUseFont(boolean value)
public final boolean getAllowUseBorderFormatting()
public final void setAllowUseBorderFormatting(boolean value)
public void setAllowUseborderSidesFromLocation(boolean allowUseborderSidesFromLocation)
public boolean getAllowUseborderSidesFromLocation()
public final boolean getAllowUseBorderSides()
public final void setAllowUseBorderSides(boolean value)
public final boolean getAllowUseBrush()
public final void setAllowUseBrush(boolean value)
public final boolean getAllowUseTextBrush()
public final void setAllowUseTextBrush(boolean value)
public final boolean getAllowUseTextOptions()
public final void setAllowUseTextOptions(boolean value)
public void GetStyleFromComponent(StiComponent component, StiStyleElements styleElements)
GetStyleFromComponent
in class StiBaseStyle
component
- Component.public final void GetStyleFromComponent(StiComponent component, StiStyleElements styleElements, StiBaseStyle componentStyle)
component
- ComponentstyleElements
- Elements of stylecomponentStyle
- Odd/Even/Component style of component, if presentpublic void SetStyleToComponent(StiComponent component)
SetStyleToComponent
in class StiBaseStyle
component
- Component.public final StiStyleCode getStyleCode()
public final void setStyleCode(StiStyleCode value)
public final StiImage getImage()
public final void setImage(StiImage value)
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject
in interface IStiJsonReportObject
SaveToJsonObject
in class StiBaseStyle
JSONException
public void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject
in interface IStiJsonReportObject
LoadFromJsonObject
in class StiBaseStyle
JSONException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |