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

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

public class StiBorderGeom
extends StiGeom

Copyright Stimulsoft


Field Summary
 int elementIndex
           
 
Constructor Summary
StiBorderGeom(java.lang.Object background, StiPenGeom borderPen, java.lang.Object rect, StiInteractionDataGeom interaction, int elementIndex)
           
 
Method Summary
 java.lang.Object getBackground()
           
 StiPenGeom getBorderPen()
           
 StiInteractionDataGeom getInteraction()
           
 java.lang.Object getRect()
           
 StiGeomType getType()
           
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setBackground(java.lang.Object background)
           
 void setBorderPen(StiPenGeom borderPen)
           
 void setInteraction(StiInteractionDataGeom interaction)
           
 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

elementIndex

public int elementIndex
Constructor Detail

StiBorderGeom

public StiBorderGeom(java.lang.Object background,
                     StiPenGeom borderPen,
                     java.lang.Object rect,
                     StiInteractionDataGeom interaction,
                     int elementIndex)
Method Detail

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

getBorderPen

public StiPenGeom getBorderPen()
Returns:
the borderPen

setBorderPen

public void setBorderPen(StiPenGeom borderPen)
Parameters:
borderPen - the borderPen 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

getInteraction

public StiInteractionDataGeom getInteraction()
Returns:
the interaction

setInteraction

public void setInteraction(StiInteractionDataGeom interaction)
Parameters:
interaction - the interaction 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