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

java.lang.Object
  extended by com.stimulsoft.report.infographics.gauge.tick.StiCustomValueBase
      extended by com.stimulsoft.report.infographics.gauge.tick.linear.mark.StiLinearTickMarkCustomValue

public class StiLinearTickMarkCustomValue
extends StiCustomValueBase

Copyright Stimulsoft


Field Summary
 
Fields inherited from class com.stimulsoft.report.infographics.gauge.tick.StiCustomValueBase
value
 
Constructor Summary
StiLinearTickMarkCustomValue()
           
StiLinearTickMarkCustomValue(double value)
           
StiLinearTickMarkCustomValue(double value, java.lang.Double offset, java.lang.Double relativeWidth, java.lang.Double relativeHeight, StiPlacement placement, StiGaugeElementSkin skin)
           
 
Method Summary
 StiCustomValueBase createNew()
           
 StiComponentId getComponentId()
           
 java.lang.String getLocalizedName()
           
 java.lang.Double getRelativeHeight()
          the height factor relative to the height of the basic component.
 java.lang.Double getRelativeWidth()
          the width ratio relative to the height of the basic component.
 StiGaugeElementSkin getSkin()
          the skin of the component rendering.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setRelativeHeight(java.lang.Double relativeHeight)
          the height factor relative to the height of the basic component.
 void setRelativeWidth(java.lang.Double relativeWidth)
          the width ratio relative to the height of the basic component.
 void setSkin(StiGaugeElementSkin skin)
          the skin of the component rendering.
 java.lang.String toString()
           
 
Methods inherited from class com.stimulsoft.report.infographics.gauge.tick.StiCustomValueBase
clone, getOffset, getPlacement, getValue, setOffset, setPlacement, setValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StiLinearTickMarkCustomValue

public StiLinearTickMarkCustomValue()

StiLinearTickMarkCustomValue

public StiLinearTickMarkCustomValue(double value)

StiLinearTickMarkCustomValue

public StiLinearTickMarkCustomValue(double value,
                                    java.lang.Double offset,
                                    java.lang.Double relativeWidth,
                                    java.lang.Double relativeHeight,
                                    StiPlacement placement,
                                    StiGaugeElementSkin skin)
Method Detail

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Overrides:
SaveToJsonObject in class StiCustomValueBase
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Overrides:
LoadFromJsonObject in class StiCustomValueBase
Throws:
JSONException

getComponentId

public StiComponentId getComponentId()
Specified by:
getComponentId in class StiCustomValueBase

getRelativeWidth

public java.lang.Double getRelativeWidth()
the width ratio relative to the height of the basic component.

Returns:
the relativeWidth

setRelativeWidth

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

Parameters:
relativeWidth - the relativeWidth to set

getRelativeHeight

public java.lang.Double getRelativeHeight()
the height factor relative to the height of the basic component.

Returns:
the relativeHeight

setRelativeHeight

public void setRelativeHeight(java.lang.Double relativeHeight)
the height factor relative to the height of the basic component.

Parameters:
relativeHeight - the relativeHeight to set

getSkin

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

Returns:
the skin

setSkin

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

Parameters:
skin - the skin to set

getLocalizedName

public java.lang.String getLocalizedName()
Specified by:
getLocalizedName in class StiCustomValueBase

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

createNew

public StiCustomValueBase createNew()
Overrides:
createNew in class StiCustomValueBase