com.stimulsoft.report.infographics.gauge.tick.radial.mark
Class StiRadialTickMarkCustomValue

java.lang.Object
  extended by com.stimulsoft.report.infographics.gauge.tick.StiCustomValueBase
      extended by com.stimulsoft.report.infographics.gauge.tick.radial.mark.StiRadialTickMarkCustomValue

public class StiRadialTickMarkCustomValue
extends StiCustomValueBase

Copyright Stimulsoft


Field Summary
 boolean useBorderBrush
           
 boolean useBorderWidth
           
 boolean useBrush
           
 
Fields inherited from class com.stimulsoft.report.infographics.gauge.tick.StiCustomValueBase
value
 
Constructor Summary
StiRadialTickMarkCustomValue()
           
StiRadialTickMarkCustomValue(double value)
           
StiRadialTickMarkCustomValue(double value, java.lang.Double offset, java.lang.Double relativeWidth, java.lang.Double relativeHeight, java.lang.Double offsetAngle, StiPlacement placement, StiBrush brush, StiBrush borderBrush, java.lang.Double borderWidth, StiGaugeElementSkin skin)
           
StiRadialTickMarkCustomValue(double value, java.lang.Double offset, java.lang.Double relativeWidth, java.lang.Double relativeHeight, java.lang.Double offsetAngle, StiPlacement placement, StiGaugeElementSkin skin)
           
 
Method Summary
 java.lang.Object clone()
          Creates a new object that is a copy of the current instance.
 StiCustomValueBase createNew()
           
 StiBrush getBorderBrush()
          the border of the component.
 java.lang.Double getBorderWidth()
          the border thickness of the component.
 StiBrush getBrush()
          a brush to fill a component.
 StiComponentId getComponentId()
           
 java.lang.String getLocalizedName()
           
 java.lang.Double getOffsetAngle()
          an additional rotation angle.
 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 setBorderBrush(StiBrush borderBrush)
          the border of the component.
 void setBorderWidth(java.lang.Double borderWidth)
          the border thickness of the component.
 void setBrush(StiBrush brush)
          a brush to fill a component.
 void setOffsetAngle(java.lang.Double offsetAngle)
          an additional rotation angle.
 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
getOffset, getPlacement, getValue, setOffset, setPlacement, setValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

useBrush

public boolean useBrush

useBorderBrush

public boolean useBorderBrush

useBorderWidth

public boolean useBorderWidth
Constructor Detail

StiRadialTickMarkCustomValue

public StiRadialTickMarkCustomValue()

StiRadialTickMarkCustomValue

public StiRadialTickMarkCustomValue(double value)

StiRadialTickMarkCustomValue

public StiRadialTickMarkCustomValue(double value,
                                    java.lang.Double offset,
                                    java.lang.Double relativeWidth,
                                    java.lang.Double relativeHeight,
                                    java.lang.Double offsetAngle,
                                    StiPlacement placement,
                                    StiGaugeElementSkin skin)

StiRadialTickMarkCustomValue

public StiRadialTickMarkCustomValue(double value,
                                    java.lang.Double offset,
                                    java.lang.Double relativeWidth,
                                    java.lang.Double relativeHeight,
                                    java.lang.Double offsetAngle,
                                    StiPlacement placement,
                                    StiBrush brush,
                                    StiBrush borderBrush,
                                    java.lang.Double borderWidth,
                                    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

clone

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

Overrides:
clone 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

getOffsetAngle

public java.lang.Double getOffsetAngle()
an additional rotation angle.

Returns:
the offsetAngle

setOffsetAngle

public void setOffsetAngle(java.lang.Double offsetAngle)
an additional rotation angle.

Parameters:
offsetAngle - the offsetAngle 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

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 java.lang.Double getBorderWidth()
the border thickness of the component.

Returns:
the borderWidth

setBorderWidth

public void setBorderWidth(java.lang.Double borderWidth)
the border thickness of the component.

Parameters:
borderWidth - the borderWidth 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