com.stimulsoft.report.infographics.gauge.tick.linear.mark
Class StiLinearTickMarkCustom

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

public class StiLinearTickMarkCustom
extends StiLinearTickMarkBase
implements IStiTickCustom

Copyright Stimulsoft


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiLinearTickMarkCustom()
           
 
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()
           
 StiValueExpression getValue()
          value corresponds to this tick mark.
 double getValueObj()
          value corresponds to this tick mark.
 StiCustomValuesCollection getValues()
           
 void InvokeGetValue(StiGaugeElement sender, StiGetValueEventArgs e)
           
 void LoadFromJsonObject(JSONObject jObject)
           
 void prepareGaugeElement()
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setGetValueEvent(StiGetValueEvent getValueEvent)
          Occurs when getting the property Value.
 void setValue(StiValueExpression value)
          value corresponds to this tick mark.
 void setValueObj(double valueObj)
          value corresponds to this tick mark.
 void setValues(StiCustomValuesCollection values)
           
 
Methods inherited from class com.stimulsoft.report.infographics.gauge.primitives.tick.StiTickMarkBase
getBorderBrush, getBorderWidth, getBrush, getCustomSkin, getRelativeHeight, getRelativeWidth, getSkin, setBorderBrush, setBorderWidth, setBrush, setCustomSkin, setRelativeHeight, setRelativeWidth, setSkin
 
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

StiLinearTickMarkCustom

public StiLinearTickMarkCustom()
Method Detail

SaveToJsonObject

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

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Specified by:
LoadFromJsonObject in interface IStiJsonReportObject
Overrides:
LoadFromJsonObject in class StiTickMarkBase
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 StiTickMarkBase

getValueObj

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

Specified by:
getValueObj in interface IStiTickCustom
Returns:
the valueObj

setValueObj

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

Specified by:
setValueObj in interface IStiTickCustom
Parameters:
valueObj - the valueObj 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 mark.

Returns:
the value

setValue

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

Parameters:
value - the value to set

createNew

public StiGaugeElement createNew()
Overrides:
createNew in class StiGaugeElement

prepareGaugeElement

public void prepareGaugeElement()
Overrides:
prepareGaugeElement in class StiTickBase

InvokeGetValue

public void InvokeGetValue(StiGaugeElement sender,
                           StiGetValueEventArgs e)

drawElement

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