com.stimulsoft.report.components.shapeTypes
Class StiRoundedRectangleShapeType

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.base.services.StiService
          extended by com.stimulsoft.report.components.shapeTypes.StiShapeTypeService
              extended by com.stimulsoft.report.components.shapeTypes.StiRoundedRectangleShapeType
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, java.lang.Cloneable

public class StiRoundedRectangleShapeType
extends StiShapeTypeService

The class describes the shape type - Rounded Rectangle.


Field Summary
 
Fields inherited from class com.stimulsoft.base.services.StiService
properties
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiRoundedRectangleShapeType()
          Creates a new rounded rectangle.
StiRoundedRectangleShapeType(float round)
          Creates a new rounded rectangle with the specified factor of rounding.
 
Method Summary
 float getRound()
          Gets or sets the factor of rounding.
 java.lang.String getServiceName()
          Gets a service name.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setRound(float value)
           
 
Methods inherited from class com.stimulsoft.report.components.shapeTypes.StiShapeTypeService
getServiceCategory, getServiceType, LoadFromJsonObjectInternal, paint, toString
 
Methods inherited from class com.stimulsoft.base.services.StiService
clone, getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabled
 
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StiRoundedRectangleShapeType

public StiRoundedRectangleShapeType()
Creates a new rounded rectangle.


StiRoundedRectangleShapeType

public StiRoundedRectangleShapeType(float round)
Creates a new rounded rectangle with the specified factor of rounding.

Parameters:
round - Factor of rounding.
Method Detail

getServiceName

public java.lang.String getServiceName()
Gets a service name.

Overrides:
getServiceName in class StiService

getRound

public float getRound()
Gets or sets the factor of rounding.


setRound

public void setRound(float value)

SaveToJsonObject

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

LoadFromJsonObject

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


Copyright © 2018 Stimulsoft. All Rights Reserved.