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

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
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiApplyStyleGauge, java.lang.Cloneable
Direct Known Subclasses:
StiLinearTickMarkBase, StiRadialTickMarkBase

public class StiTickMarkBase
extends StiTickBase

Copyright Stimulsoft


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiTickMarkBase()
           
 
Method Summary
 java.lang.Object clone()
          Creates a new object that is a copy of the current instance.
 StiBrush getBorderBrush()
          the border of the component.
 double getBorderWidth()
          the border thickness of the component.
 StiBrush getBrush()
          a brush to fill a component.
 StiGaugeElementSkin getCustomSkin()
           
 double getRelativeHeight()
          the height factor relative to the height of the basic component.
 double getRelativeWidth()
          the width ratio relative to the height of the basic component.
 StiTickMarkSkin getSkin()
          the skin of the component rendering.
 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 setCustomSkin(StiGaugeElementSkin customSkin)
           
 void setRelativeHeight(double relativeHeight)
          the height factor relative to the height of the basic component.
 void setRelativeWidth(double relativeWidth)
          the width ratio relative to the height of the basic component.
 void setSkin(StiTickMarkSkin skin)
          the skin of the component rendering.
 
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

StiTickMarkBase

public StiTickMarkBase()
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

getRelativeHeight

public double getRelativeHeight()
the height factor relative to the height of the basic component.

Returns:
the relativeHeight

setRelativeHeight

public void setRelativeHeight(double relativeHeight)
the height factor relative to the height of the basic component.

Parameters:
relativeHeight - the relativeHeight to set

getRelativeWidth

public double getRelativeWidth()
the width ratio relative to the height of the basic component.

Returns:
the relativeWidth

setRelativeWidth

public void setRelativeWidth(double relativeWidth)
the width ratio relative to the height of the basic component.

Parameters:
relativeWidth - the relativeWidth to set

getSkin

public StiTickMarkSkin getSkin()
the skin of the component rendering.

Returns:
the skin

setSkin

public void setSkin(StiTickMarkSkin skin)
the skin of the component rendering.

Parameters:
skin - the skin to set

getCustomSkin

public StiGaugeElementSkin getCustomSkin()
Returns:
the customSkin

setCustomSkin

public void setCustomSkin(StiGaugeElementSkin customSkin)
Parameters:
customSkin - the customSkin to set

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