com.stimulsoft.report.infographics.gauge.tick.linear.label
Class StiLinearTickLabelCustom

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
                  extended by com.stimulsoft.report.infographics.gauge.primitives.tick.StiLinearTickLabelBase
                      extended by com.stimulsoft.report.infographics.gauge.tick.linear.label.StiLinearTickLabelCustom
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiTickCustom, IStiApplyStyleGauge, java.lang.Cloneable

public class StiLinearTickLabelCustom
extends StiLinearTickLabelBase
implements IStiTickCustom

Copyright Stimulsoft


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiLinearTickLabelCustom()
           
 
Method Summary
 java.lang.Object clone()
          Creates a new object that is a copy of the current instance.
 StiGaugeElement createNew()
           
 void drawElement(StiGaugeContextPainter context)
           
 StiComponentId getComponentId()
           
 StiGetValueEvent getGetValueEvent()
          Occurs when getting the property value.
 java.lang.String getLocalizeName()
           
 StiTextExpression getText()
          text corresponds to this tick label.
 java.lang.String getTextObj()
          text corresponds to this tick label.
 StiValueExpression getValue()
          value corresponds to this tick label.
 double getValueObj()
          value corresponds to this tick label.
 StiCustomValuesCollection getValues()
           
 void LoadFromJsonObject(JSONObject jObject)
           
 void prepareGaugeElement()
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setGetValueEvent(StiGetValueEvent getValueEvent)
          Occurs when getting the property value.
 void setText(StiTextExpression text)
          text corresponds to this tick label.
 void setTextObj(java.lang.String textObj)
          text corresponds to this tick label.
 void setValue(StiValueExpression value)
          value corresponds to this tick label.
 void setValueObj(double valueObj)
          value corresponds to this tick label.
 void setValues(StiCustomValuesCollection values)
           
 
Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.tick.StiTickLabelBase
getFont, getTextBrush, getTextFormat, setFont, setTextBrush, setTextFormat
 
Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.tick.StiTickBase
getMaximumValue, getMinimumValue, getOffset, getPlacement, getSkipIndices, getSkipIndicesObj, getSkipValues, getSkipValuesObj, setMaximumValue, setMinimumValue, setOffset, setPlacement, setSkipIndices, setSkipIndicesObj, setSkipValues, setSkipValuesObj
 
Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiGaugeElement
cleanReference, getAnimation, getElementType, getReference, getScale, setAnimation, setReference, setScale
 
Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.base.StiElementBase
applyStyle, isAllowApplyStyle, setAllowApplyStyle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiLinearTickLabelCustom

public StiLinearTickLabelCustom()
Method Detail

SaveToJsonObject

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

LoadFromJsonObject

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

getComponentId

public StiComponentId getComponentId()

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 StiTickLabelBase

getValueObj

public double getValueObj()
value corresponds to this tick label.

Specified by:
getValueObj in interface IStiTickCustom
Returns:
the valueObj

setValueObj

public void setValueObj(double valueObj)
value corresponds to this tick label.

Specified by:
setValueObj in interface IStiTickCustom
Parameters:
valueObj - the valueObj to set

getTextObj

public java.lang.String getTextObj()
text corresponds to this tick label.

Returns:
the textObj

setTextObj

public void setTextObj(java.lang.String textObj)
text corresponds to this tick label.

Parameters:
textObj - the textObj to set

getValues

public StiCustomValuesCollection getValues()
Specified by:
getValues in interface IStiTickCustom
Returns:
the values

setValues

public void setValues(StiCustomValuesCollection values)
Specified by:
setValues in interface IStiTickCustom
Parameters:
values - the values to set

getLocalizeName

public java.lang.String getLocalizeName()
Overrides:
getLocalizeName in class StiGaugeElement

getGetValueEvent

public StiGetValueEvent getGetValueEvent()
Occurs when getting the property value.

Returns:
the getValueEvent

setGetValueEvent

public void setGetValueEvent(StiGetValueEvent getValueEvent)
Occurs when getting the property value.

Parameters:
getValueEvent - the getValueEvent to set

getValue

public StiValueExpression getValue()
value corresponds to this tick label.

Returns:
the value

setValue

public void setValue(StiValueExpression value)
value corresponds to this tick label.

Parameters:
value - the value to set

getText

public StiTextExpression getText()
text corresponds to this tick label.

Returns:
the text

setText

public void setText(StiTextExpression text)
text corresponds to this tick label.

Parameters:
text - the text to set

createNew

public StiGaugeElement createNew()
Overrides:
createNew in class StiGaugeElement

prepareGaugeElement

public void prepareGaugeElement()
Overrides:
prepareGaugeElement in class StiTickBase

drawElement

public void drawElement(StiGaugeContextPainter context)
Overrides:
drawElement in class StiLinearTickLabelBase