com.stimulsoft.base.context.chart.geoms
Class StiPathGeom

java.lang.Object
  extended by com.stimulsoft.base.context.chart.geoms.StiGeom
      extended by com.stimulsoft.base.context.chart.geoms.StiPathGeom
All Implemented Interfaces:
IStiJsonReportObject

public class StiPathGeom
extends StiGeom


Field Summary
 int elementIndex
           
static java.lang.Object GetBoundsState
           
 
Constructor Summary
StiPathGeom(java.lang.Object background, StiPenGeom pen, java.util.List<StiSegmentGeom> geoms, java.lang.Object rect, StiInteractionDataGeom interaction, int elementIndex)
           
 
Method Summary
 java.lang.Object getBackground()
           
 java.util.List<StiSegmentGeom> getGeoms()
           
 StiInteractionDataGeom getInteraction()
           
 StiPenGeom getPen()
           
 java.lang.Object getRect()
           
 StiGeomType getType()
           
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setBackground(java.lang.Object background)
           
 void setGeoms(java.util.List<StiSegmentGeom> geoms)
           
 void setInteraction(StiInteractionDataGeom interaction)
           
 void setPen(StiPenGeom pen)
           
 void setRect(java.lang.Object rect)
           
 
Methods inherited from class com.stimulsoft.base.context.chart.geoms.StiGeom
SavePointFToJsonObject, SaveRectangleDToJsonObject, SaveRectangleFToJsonObject, SaveRectangleToJsonObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GetBoundsState

public static java.lang.Object GetBoundsState

elementIndex

public int elementIndex
Constructor Detail

StiPathGeom

public StiPathGeom(java.lang.Object background,
                   StiPenGeom pen,
                   java.util.List<StiSegmentGeom> geoms,
                   java.lang.Object rect,
                   StiInteractionDataGeom interaction,
                   int elementIndex)
Method Detail

getInteraction

public StiInteractionDataGeom getInteraction()
Returns:
the interaction

setInteraction

public void setInteraction(StiInteractionDataGeom interaction)
Parameters:
interaction - the interaction to set

getType

public StiGeomType getType()
Specified by:
getType in class StiGeom

getBackground

public java.lang.Object getBackground()
Returns:
the background

setBackground

public void setBackground(java.lang.Object background)
Parameters:
background - the background to set

getPen

public StiPenGeom getPen()
Returns:
the pen

setPen

public void setPen(StiPenGeom pen)
Parameters:
pen - the pen to set

getRect

public java.lang.Object getRect()
Returns:
the rect

setRect

public void setRect(java.lang.Object rect)
Parameters:
rect - the rect to set

getGeoms

public java.util.List<StiSegmentGeom> getGeoms()
Returns:
the geoms

setGeoms

public void setGeoms(java.util.List<StiSegmentGeom> geoms)
Parameters:
geoms - the geoms to set

SaveToJsonObject

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

LoadFromJsonObject

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