com.stimulsoft.report.components.shapeTypes
Class StiShapeTypeService
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.components.shapeTypes.StiShapeTypeService
- All Implemented Interfaces:
- IStiJsonReportObject, IStiSerializable, IStiSerializableRef, java.lang.Cloneable
- Direct Known Subclasses:
- StiArrowShapeType, StiBentArrowShapeType, StiChevronShapeType, StiComplexArrowShapeType, StiDiagonalDownLineShapeType, StiDiagonalUpLineShapeType, StiDivisionShapeType, StiEqualShapeType, StiFlowchartCardShapeType, StiFlowchartCollateShapeType, StiFlowchartDecisionShapeType, StiFlowchartManualInputShapeType, StiFlowchartOffPageConnectorShapeType, StiFlowchartPreparationShapeType, StiFlowchartSortShapeType, StiFrameShapeType, StiHorizontalLineShapeType, StiLeftAndRightLineShapeType, StiMinusShapeType, StiMultiplyShapeType, StiOvalShapeType, StiParallelogramShapeType, StiPlusShapeType, StiRectangleShapeType, StiRegularPentagonShapeType, StiRoundedRectangleShapeType, StiSnipDiagonalSideCornerRectangleShapeType, StiSnipSameSideCornerRectangleShapeType, StiTopAndBottomLineShapeType, StiTrapezoidShapeType, StiTriangleShapeType, StiVerticalLineShapeType
public abstract class StiShapeTypeService
- extends StiService
- implements IStiJsonReportObject
| Methods inherited from class com.stimulsoft.base.services.StiService |
clone, getProperties, getServiceEnabled, getServiceInfo, getServiceName, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabled |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StiShapeTypeService
public StiShapeTypeService()
getServiceCategory
public final java.lang.String getServiceCategory()
- Gets a service category.
- Overrides:
getServiceCategory in class StiService
getServiceType
public final java.lang.Class<?> getServiceType()
- Gets a service type.
- Specified by:
getServiceType in class StiService
paint
public void paint(StiGraphics g,
StiShape shape,
StiRectangle rect,
double zoom,
double pageZoom)
- Draws the shape with the specified parameters.
- Parameters:
g - Graphics for drawing.shape - Component that invokes drawing.rect - The rectangle that shows coordinates for drawing.zoom - Zoom of drawing.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
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
LoadFromJsonObjectInternal
public static StiShapeTypeService LoadFromJsonObjectInternal(JSONObject jObject)
throws JSONException
- Throws:
JSONException
Copyright © 2018 Stimulsoft. All Rights Reserved.