com.stimulsoft.report.chart.view.marker
Class StiMarker

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.report.chart.view.marker.StiMarker
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiSerializeToCodeAsClass, IStiMarker, java.lang.Cloneable
Direct Known Subclasses:
StiLineMarker

public class StiMarker
extends StiSerializedObject
implements IStiMarker, IStiSerializeToCodeAsClass, java.lang.Cloneable


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiMarker()
           
 
Method Summary
 java.lang.Object clone()
          Creates a new object that is a copy of the current instance.
 float getAngle()
          Gets or sets rotation angle of the marker.
 StiColor getBorderColor()
          Gets or sets border color of marker.
 StiBrush getBrush()
          Gets or sets brush which will be used to fill marker area.
 StiMarkerCoreXF getCore()
           
 boolean getShowInLegend()
          Gets or sets value which indicates that marker will be visible in legend marker.
 float getSize()
          Gets or sets size of the marker.
 StiMarkerType getType()
          Gets or sets type of the marker.
 boolean getVisible()
          Gets or sets visibility of marker.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setAngle(float value)
           
 void setBorderColor(StiColor value)
           
 void setBrush(StiBrush value)
           
 void setCore(StiMarkerCoreXF value)
           
 void setShowInLegend(boolean value)
           
 void setSize(float value)
           
 void setType(StiMarkerType value)
           
 void setVisible(boolean value)
           
 
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
getReference, setReference
 

Constructor Detail

StiMarker

public StiMarker()
Method Detail

getCore

public final StiMarkerCoreXF getCore()
Specified by:
getCore in interface IStiMarker

setCore

public final void setCore(StiMarkerCoreXF value)
Specified by:
setCore in interface IStiMarker

getShowInLegend

public boolean getShowInLegend()
Gets or sets value which indicates that marker will be visible in legend marker.

Specified by:
getShowInLegend in interface IStiMarker

setShowInLegend

public void setShowInLegend(boolean value)
Specified by:
setShowInLegend in interface IStiMarker

getVisible

public boolean getVisible()
Gets or sets visibility of marker.

Specified by:
getVisible in interface IStiMarker

setVisible

public void setVisible(boolean value)
Specified by:
setVisible in interface IStiMarker

getBrush

public StiBrush getBrush()
Gets or sets brush which will be used to fill marker area.

Specified by:
getBrush in interface IStiMarker

setBrush

public void setBrush(StiBrush value)
Specified by:
setBrush in interface IStiMarker

getBorderColor

public final StiColor getBorderColor()
Gets or sets border color of marker.

Specified by:
getBorderColor in interface IStiMarker

setBorderColor

public final void setBorderColor(StiColor value)
Specified by:
setBorderColor in interface IStiMarker

getSize

public float getSize()
Gets or sets size of the marker.

Specified by:
getSize in interface IStiMarker

setSize

public void setSize(float value)
Specified by:
setSize in interface IStiMarker

getAngle

public float getAngle()
Gets or sets rotation angle of the marker.

Specified by:
getAngle in interface IStiMarker

setAngle

public void setAngle(float value)
Specified by:
setAngle in interface IStiMarker

getType

public final StiMarkerType getType()
Gets or sets type of the marker.

Specified by:
getType in interface IStiMarker

setType

public final void setType(StiMarkerType value)
Specified by:
setType in interface IStiMarker

clone

public final java.lang.Object clone()
Creates a new object that is a copy of the current instance.

Specified by:
clone in interface IStiMarker
Overrides:
clone in class java.lang.Object
Returns:
A new object that is a copy of this instance.

SaveToJsonObject

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

LoadFromJsonObject

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