|
||||||||||
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
public abstract class StiBaseStyle
Describes the class that contains a base style.
Nested Class Summary | |
---|---|
static class |
StiBaseStyle.StiStyleSaver
|
Field Summary | |
---|---|
StiReport |
report
|
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef |
---|
REFERENCE_EMPTY, REFERENCE_REPORT |
Constructor Summary | |
---|---|
StiBaseStyle()
Creates a new object of the type StiBaseStyle. |
|
StiBaseStyle(java.lang.String name)
Creates a new object of the type StiBaseStyle. |
|
StiBaseStyle(java.lang.String name,
java.lang.String description)
Creates a new object of the type StiBaseStyle. |
|
StiBaseStyle(java.lang.String name,
java.lang.String description,
StiReport report)
Creates a new object of the type StiBaseStyle. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj,
boolean allowEqualName,
boolean allowEqualDescription)
|
java.lang.String |
getCollectionName()
|
StiStyleConditionsCollection |
getConditions()
|
java.lang.String |
getDescription()
Gets or sets the style description. |
java.lang.String |
getName()
Gets or sets a style name. |
static StiBaseStyle |
getStyle(StiComponent component)
|
static StiBaseStyle |
getStyle(StiComponent component,
StiBaseStyle componentStyle)
|
static StiBaseStyle |
getStyle(StiComponent component,
StiStyleElements styleElements)
|
static StiBaseStyle |
getStyle(StiComponent component,
StiStyleElements styleElements,
StiBaseStyle componentStyle)
|
abstract void |
GetStyleFromComponent(StiComponent component,
StiStyleElements styleElements)
Gets a style from the component. |
void |
GetStyleFromComponents(StiComponentsCollection comps,
StiStyleElements styleElements)
Gets a style from the components. |
void |
LoadFromJsonObject(JSONObject jObject)
|
static StiBaseStyle |
loadStyleFromString(java.lang.String styleStr)
Loads the style from the string. |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode)
|
java.lang.String |
saveToString()
|
void |
setCollectionName(java.lang.String collectionName)
|
void |
setConditions(StiStyleConditionsCollection conditions)
|
void |
setDescription(java.lang.String value)
|
void |
setName(java.lang.String value)
|
abstract void |
SetStyleToComponent(StiComponent component)
Sets style to a component. |
java.lang.String |
toString()
Returns style name. |
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 |
Field Detail |
---|
public StiReport report
Constructor Detail |
---|
public StiBaseStyle(java.lang.String name, java.lang.String description, StiReport report)
name
- Style name.description
- Style description.public StiBaseStyle(java.lang.String name, java.lang.String description)
name
- Style name.description
- Style description.public StiBaseStyle(java.lang.String name)
name
- Style name.public StiBaseStyle()
Method Detail |
---|
public boolean equals(java.lang.Object obj, boolean allowEqualName, boolean allowEqualDescription)
public static StiBaseStyle getStyle(StiComponent component, StiStyleElements styleElements)
public static StiBaseStyle getStyle(StiComponent component, StiStyleElements styleElements, StiBaseStyle componentStyle)
public static StiBaseStyle getStyle(StiComponent component)
public static StiBaseStyle getStyle(StiComponent component, StiBaseStyle componentStyle)
public final void GetStyleFromComponents(StiComponentsCollection comps, StiStyleElements styleElements)
component
- Components collection.public java.lang.String toString()
toString
in class java.lang.Object
public abstract void GetStyleFromComponent(StiComponent component, StiStyleElements styleElements)
component
- Component.public abstract void SetStyleToComponent(StiComponent component)
component
- Component.public final java.lang.String getDescription()
public final void setDescription(java.lang.String value)
public final java.lang.String getName()
getName
in interface IStiName
public final void setName(java.lang.String value)
setName
in interface IStiName
public void setConditions(StiStyleConditionsCollection conditions)
public StiStyleConditionsCollection getConditions()
public void setCollectionName(java.lang.String collectionName)
public java.lang.String getCollectionName()
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject
in interface IStiJsonReportObject
JSONException
public java.lang.Object clone()
clone
in class java.lang.Object
public static StiBaseStyle loadStyleFromString(java.lang.String styleStr)
styleStr
-
public java.lang.String saveToString()
public void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject
in interface IStiJsonReportObject
JSONException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |