com.stimulsoft.report.components.indicators
Class StiIconSetIndicator

java.lang.Object
  extended by com.stimulsoft.report.components.indicators.StiIndicator
      extended by com.stimulsoft.report.components.indicators.StiIconSetIndicator
All Implemented Interfaces:
IStiCanCreateSerializableInstance, IStiSerializable, IStiSerializableToString

public class StiIconSetIndicator
extends StiIndicator


Constructor Summary
StiIconSetIndicator()
          Creates a new object of the type StiIconSetIndicator.
StiIconSetIndicator(StiIcon icon, StiContentAlignment alignment)
          Creates a new object of the type StiIconSetIndicator.
 
Method Summary
 void deserialize(java.lang.String strObject)
          Десериализация объекта из строки.
 StiIconSetIndicator deserializeString(java.lang.String stringValue)
           
 StiContentAlignment getAlignment()
          Gets or sets a icon alignment of indicator.
 StiIcon getIcon()
          Gets or sets a icon of indicator.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 java.lang.String serialize()
          Сериализация объекта в строку.
 void setAlignment(StiContentAlignment value)
           
 void setIcon(StiIcon value)
           
 
Methods inherited from class com.stimulsoft.report.components.indicators.StiIndicator
deserializeFromString, getInstance, LoadFromJsonObjectInternal
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiIconSetIndicator

public StiIconSetIndicator()
Creates a new object of the type StiIconSetIndicator.


StiIconSetIndicator

public StiIconSetIndicator(StiIcon icon,
                           StiContentAlignment alignment)
Creates a new object of the type StiIconSetIndicator.

Method Detail

setIcon

public final void setIcon(StiIcon value)

getAlignment

public final StiContentAlignment getAlignment()
Gets or sets a icon alignment of indicator.


setAlignment

public final void setAlignment(StiContentAlignment value)

deserialize

public void deserialize(java.lang.String strObject)
Description copied from interface: IStiSerializableToString
Десериализация объекта из строки. Все свойства объекта устанавливаются за счет распарсивания строки.

Specified by:
deserialize in interface IStiSerializableToString
Overrides:
deserialize in class StiIndicator

serialize

public java.lang.String serialize()
Description copied from interface: IStiSerializableToString
Сериализация объекта в строку.

Specified by:
serialize in interface IStiSerializableToString
Overrides:
serialize in class StiIndicator
Returns:
строковое представление объекта

deserializeString

public StiIconSetIndicator deserializeString(java.lang.String stringValue)

getIcon

public final StiIcon getIcon()
Gets or sets a icon of indicator.


SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Overrides:
SaveToJsonObject in class StiIndicator
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Overrides:
LoadFromJsonObject in class StiIndicator
Throws:
JSONException