com.stimulsoft.report.components.conditions
Class StiIconSetItem

java.lang.Object
  extended by com.stimulsoft.report.components.conditions.StiIconSetItem
All Implemented Interfaces:
IStiSerializable, IStiSerializableToString

public class StiIconSetItem
extends java.lang.Object
implements IStiSerializable, IStiSerializableToString

The class describes the icon set items.


Constructor Summary
StiIconSetItem()
          Creates a new object of the type StiIconSetItem.
StiIconSetItem(StiIcon icon, StiIconSetOperation operation, StiIconSetValueType valueType, float value)
          Creates a new object of the type StiIconSetItem.
 
Method Summary
 void deserialize(java.lang.String strObject)
          Десериализация объекта из строки.
 void deserializeStr(java.lang.String valuesStr)
           
 StiIcon getIcon()
          Gets or sets icon for current item of IconSets.
 StiIconSetOperation getOperation()
          Gets or sets type of operation for current item of IconSets.
 float getValue()
          Gets or sets value for current item of IconSets.
 StiIconSetValueType getValueType()
          Gets or sets type of value for current item of IconSets.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 java.lang.String serialize()
          Сериализация объекта в строку.
 void setIcon(StiIcon value)
           
 void setOperation(StiIconSetOperation value)
           
 void setValue(float value)
           
 void setValueType(StiIconSetValueType value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiIconSetItem

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


StiIconSetItem

public StiIconSetItem(StiIcon icon,
                      StiIconSetOperation operation,
                      StiIconSetValueType valueType,
                      float value)
Creates a new object of the type StiIconSetItem.

Method Detail

getIcon

public final StiIcon getIcon()
Gets or sets icon for current item of IconSets.


setIcon

public final void setIcon(StiIcon value)

getOperation

public final StiIconSetOperation getOperation()
Gets or sets type of operation for current item of IconSets.


setOperation

public final void setOperation(StiIconSetOperation value)

getValueType

public final StiIconSetValueType getValueType()
Gets or sets type of value for current item of IconSets.


setValueType

public final void setValueType(StiIconSetValueType value)

getValue

public final float getValue()
Gets or sets value for current item of IconSets.


setValue

public final void setValue(float value)

deserialize

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

Specified by:
deserialize in interface IStiSerializableToString

serialize

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

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

deserializeStr

public void deserializeStr(java.lang.String valuesStr)

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Throws:
JSONException