com.stimulsoft.report.infographics.gauge.primitives.tick
Class StiTickLabelBase

java.lang.Object
  extended by com.stimulsoft.report.infographics.gauge.primitives.base.StiElementBase
      extended by com.stimulsoft.report.infographics.gauge.primitives.base.StiGaugeElement
          extended by com.stimulsoft.report.infographics.gauge.primitives.tick.StiTickBase
              extended by com.stimulsoft.report.infographics.gauge.primitives.tick.StiTickLabelBase
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiApplyStyleGauge, java.lang.Cloneable
Direct Known Subclasses:
StiLinearTickLabelBase, StiRadialTickLabelBase

public abstract class StiTickLabelBase
extends StiTickBase

Copyright Stimulsoft


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiTickLabelBase()
           
 
Method Summary
 java.lang.Object clone()
          Creates a new object that is a copy of the current instance.
 StiFont getFont()
          font of component.
 StiBrush getTextBrush()
          a brush to draw text.
 java.lang.String getTextFormat()
          the format used to convert value to a String.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setFont(StiFont font)
          font of component.
 void setTextBrush(StiBrush textBrush)
          a brush to draw text.
 void setTextFormat(java.lang.String textFormat)
          the format used to convert value to a String.
 
Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.tick.StiTickBase
getMaximumValue, getMinimumValue, getOffset, getPlacement, getSkipIndices, getSkipIndicesObj, getSkipValues, getSkipValuesObj, prepareGaugeElement, setMaximumValue, setMinimumValue, setOffset, setPlacement, setSkipIndices, setSkipIndicesObj, setSkipValues, setSkipValuesObj
 
Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiGaugeElement
cleanReference, createNew, getAnimation, getElementType, getLocalizeName, getReference, getScale, setAnimation, setReference, setScale
 
Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiElementBase
applyStyle, drawElement, isAllowApplyStyle, setAllowApplyStyle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiTickLabelBase

public StiTickLabelBase()
Method Detail

SaveToJsonObject

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

LoadFromJsonObject

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

clone

public java.lang.Object clone()
Description copied from class: StiElementBase
Creates a new object that is a copy of the current instance.

Overrides:
clone in class StiTickBase

getTextFormat

public java.lang.String getTextFormat()
the format used to convert value to a String.

Returns:
the textFormat

setTextFormat

public void setTextFormat(java.lang.String textFormat)
the format used to convert value to a String.

Parameters:
textFormat - the textFormat to set

getTextBrush

public StiBrush getTextBrush()
a brush to draw text.

Returns:
the textBrush

setTextBrush

public void setTextBrush(StiBrush textBrush)
a brush to draw text.

Parameters:
textBrush - the textBrush to set

getFont

public StiFont getFont()
font of component.

Returns:
the font

setFont

public void setFont(StiFont font)
font of component.

Parameters:
font - the font to set