com.stimulsoft.report.infographics.gauge.styles.view
Class StiGaugeStyleXF

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.report.styles.StiBaseStyle
          extended by com.stimulsoft.report.infographics.gauge.styles.view.StiGaugeStyleXF
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiName, IStiGaugeStyle, java.lang.Cloneable
Direct Known Subclasses:
StiGaugeStyleXF24, StiGaugeStyleXF25, StiGaugeStyleXF26, StiGaugeStyleXF27, StiGaugeStyleXF28

public abstract class StiGaugeStyleXF
extends StiBaseStyle
implements IStiGaugeStyle

Copyright Stimulsoft


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
StiGaugeStyleXF()
           
 
Method Summary
 boolean compareGaugeStyle(StiGaugeStyleXF style)
           
 StiGaugeStyleXF createNew()
           
 StiComponentId getComponentId()
           
 StiGaugeStyleCoreXF getCore()
           
 java.lang.String getServiceCategory()
          Gets a service category.
 java.lang.String getServiceName()
          Gets a service name.
 java.lang.Class getServiceType()
           
 void GetStyleFromComponent(StiComponent component, StiStyleElements styleElements)
          Gets a style from the component.
 void LoadFromJsonObject(JSONObject jObject)
           
static StiGaugeStyleXF LoadFromJsonObjectInternal(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setCore(StiGaugeStyleCoreXF core)
           
 void SetStyleToComponent(StiComponent component)
          Sets style to a component.
 java.lang.String toString()
          Returns style name.
 
Methods inherited from class com.stimulsoft.report.styles.StiBaseStyle
clone, equals, getCollectionName, getConditions, getDescription, getName, getStyle, getStyle, getStyle, getStyle, GetStyleFromComponents, loadStyleFromString, saveToString, setCollectionName, setConditions, setDescription, setName
 
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

StiGaugeStyleXF

public StiGaugeStyleXF()
Method Detail

getComponentId

public StiComponentId getComponentId()

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Specified by:
SaveToJsonObject in interface IStiJsonReportObject
Overrides:
SaveToJsonObject in class StiBaseStyle
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
Specified by:
LoadFromJsonObject in interface IStiJsonReportObject
Overrides:
LoadFromJsonObject in class StiBaseStyle

LoadFromJsonObjectInternal

public static StiGaugeStyleXF LoadFromJsonObjectInternal(JSONObject jObject)
                                                  throws JSONException
Throws:
JSONException

getServiceName

public java.lang.String getServiceName()
Gets a service name.

Returns:

getServiceCategory

public java.lang.String getServiceCategory()
Gets a service category.

Returns:

getServiceType

public java.lang.Class getServiceType()

getCore

public StiGaugeStyleCoreXF getCore()
Specified by:
getCore in interface IStiGaugeStyle
Returns:
the core

setCore

public void setCore(StiGaugeStyleCoreXF core)
Specified by:
setCore in interface IStiGaugeStyle
Parameters:
core - the core to set

toString

public java.lang.String toString()
Description copied from class: StiBaseStyle
Returns style name.

Overrides:
toString in class StiBaseStyle

compareGaugeStyle

public boolean compareGaugeStyle(StiGaugeStyleXF style)

GetStyleFromComponent

public void GetStyleFromComponent(StiComponent component,
                                  StiStyleElements styleElements)
Gets a style from the component.

Specified by:
GetStyleFromComponent in class StiBaseStyle
Parameters:
component - Component.

SetStyleToComponent

public void SetStyleToComponent(StiComponent component)
Sets style to a component.

Specified by:
SetStyleToComponent in class StiBaseStyle
Parameters:
component - Component.

createNew

public StiGaugeStyleXF createNew()