com.stimulsoft.report.infographics.gauge.primitives.range
Class StiRangeBase

java.lang.Object
  extended by com.stimulsoft.report.infographics.gauge.primitives.range.StiRangeBase
All Implemented Interfaces:
IStiSerializable, IStiSerializableRef
Direct Known Subclasses:
StiLinearRange, StiRadialRange

public abstract class StiRangeBase
extends java.lang.Object
implements IStiSerializableRef

Copyright Stimulsoft


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiRangeBase()
           
 
Method Summary
 void cleanReference()
           
 java.lang.Object clone()
           
 StiRangeBase createNew()
           
 StiBrush getBorderBrush()
          the border of the component.
 double getBorderWidth()
          the border thickness of the component.
 StiBrush getBrush()
          a brush to fill a component.
 double getEndValue()
          end value of the range.
 double getEndWidth()
          end width of the range bar.
abstract  java.lang.String getLocalizeName()
           
 double getOffset()
          the offset ratio of an item.
 StiPlacement getPlacement()
          the placement of the component.
 StiScaleRangeList getRangeList()
           
 int getReference()
           
 double getStartValue()
          start value of the range.
 double getStartWidth()
          start width of the range bar.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setBorderBrush(StiBrush borderBrush)
          the border of the component.
 void setBorderWidth(double borderWidth)
          the border thickness of the component.
 void setBrush(StiBrush brush)
          a brush to fill a component.
 void setEndValue(double endValue)
          end value of the range.
 void setEndWidth(double endWidth)
          end width of the range bar.
 void setOffset(double offset)
          the offset ratio of an item.
 void setPlacement(StiPlacement placement)
          the placement of the component.
 void setRangeList(StiScaleRangeList rangeList)
           
 void setReference(int reference)
          Установить значение ссылки.
 void setStartValue(double startValue)
          start value of the range.
 void setStartWidth(double startWidth)
          start width of the range bar.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiRangeBase

public StiRangeBase()
Method Detail

setReference

public void setReference(int reference)
Description copied from interface: IStiSerializableRef
Установить значение ссылки.

Specified by:
setReference in interface IStiSerializableRef
Parameters:
reference - значение ссылки

getReference

public int getReference()
Specified by:
getReference in interface IStiSerializableRef
Returns:
значение ссылки.

cleanReference

public void cleanReference()

SaveToJsonObject

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

LoadFromJsonObject

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

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

getBrush

public StiBrush getBrush()
a brush to fill a component.

Returns:
the brush

setBrush

public void setBrush(StiBrush brush)
a brush to fill a component.

Parameters:
brush - the brush to set

getBorderBrush

public StiBrush getBorderBrush()
the border of the component.

Returns:
the borderBrush

setBorderBrush

public void setBorderBrush(StiBrush borderBrush)
the border of the component.

Parameters:
borderBrush - the borderBrush to set

getBorderWidth

public double getBorderWidth()
the border thickness of the component.

Returns:
the borderWidth

setBorderWidth

public void setBorderWidth(double borderWidth)
the border thickness of the component.

Parameters:
borderWidth - the borderWidth to set

getStartValue

public double getStartValue()
start value of the range.

Returns:
the startValue

setStartValue

public void setStartValue(double startValue)
start value of the range.

Parameters:
startValue - the startValue to set

getEndValue

public double getEndValue()
end value of the range.

Returns:
the endValue

setEndValue

public void setEndValue(double endValue)
end value of the range.

Parameters:
endValue - the endValue to set

getStartWidth

public double getStartWidth()
start width of the range bar.

Returns:
the startWidth

setStartWidth

public void setStartWidth(double startWidth)
start width of the range bar.

Parameters:
startWidth - the startWidth to set

getEndWidth

public double getEndWidth()
end width of the range bar.

Returns:
the endWidth

setEndWidth

public void setEndWidth(double endWidth)
end width of the range bar.

Parameters:
endWidth - the endWidth to set

getPlacement

public StiPlacement getPlacement()
the placement of the component.

Returns:
the placement

setPlacement

public void setPlacement(StiPlacement placement)
the placement of the component.

Parameters:
placement - the placement to set

getOffset

public double getOffset()
the offset ratio of an item.

Returns:
the offset

setOffset

public void setOffset(double offset)
the offset ratio of an item.

Parameters:
offset - the offset to set

getRangeList

public StiScaleRangeList getRangeList()

setRangeList

public void setRangeList(StiScaleRangeList rangeList)
Parameters:
rangeList - the rangeList to set

getLocalizeName

public abstract java.lang.String getLocalizeName()

createNew

public StiRangeBase createNew()