com.stimulsoft.report.chart.view.topN
Class StiSeriesTopN

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.report.chart.view.topN.StiSeriesTopN
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiSeriesTopN, java.lang.Cloneable

public class StiSeriesTopN
extends StiSerializedObject
implements IStiSeriesTopN, java.lang.Cloneable


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiSeriesTopN()
           
 
Method Summary
 java.lang.Object clone()
          Creates a new object that is a copy of the current instance.
 int getCount()
          Gets or sets the number of output values.
 StiTopNMode getMode()
          Gets or sets output values mode.
 java.lang.String getOthersText()
          Gets or sets signature for other values.
 boolean getShowOthers()
          Gets or sets value which indicates whether to display other values.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setCount(int value)
           
 void setMode(StiTopNMode value)
           
 void setOthersText(java.lang.String value)
           
 void setShowOthers(boolean value)
           
 
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
getReference, setReference
 

Constructor Detail

StiSeriesTopN

public StiSeriesTopN()
Method Detail

clone

public final java.lang.Object clone()
Creates a new object that is a copy of the current instance.

Overrides:
clone in class java.lang.Object
Returns:
A new object that is a copy of this instance.

getMode

public final StiTopNMode getMode()
Gets or sets output values mode.

Specified by:
getMode in interface IStiSeriesTopN

setMode

public final void setMode(StiTopNMode value)
Specified by:
setMode in interface IStiSeriesTopN

getCount

public final int getCount()
Gets or sets the number of output values.

Specified by:
getCount in interface IStiSeriesTopN

setCount

public final void setCount(int value)
Specified by:
setCount in interface IStiSeriesTopN

getShowOthers

public final boolean getShowOthers()
Gets or sets value which indicates whether to display other values.

Specified by:
getShowOthers in interface IStiSeriesTopN

setShowOthers

public final void setShowOthers(boolean value)
Specified by:
setShowOthers in interface IStiSeriesTopN

getOthersText

public final java.lang.String getOthersText()
Gets or sets signature for other values.

Specified by:
getOthersText in interface IStiSeriesTopN

setOthersText

public final void setOthersText(java.lang.String value)
Specified by:
setOthersText in interface IStiSeriesTopN

SaveToJsonObject

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

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Specified by:
LoadFromJsonObject in interface IStiJsonReportObject
Throws:
JSONException