public abstract class StiShapeTypeService extends StiService implements IStiJsonReportObject
propertiesREFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
StiShapeTypeService() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getServiceCategory()
Gets a service category.
|
java.lang.Class<?> |
getServiceType()
Gets a service type.
|
void |
LoadFromJsonObject(JSONObject jObject) |
static StiShapeTypeService |
LoadFromJsonObjectInternal(JSONObject jObject) |
void |
paint(StiGraphics g,
StiShape shape,
StiRectangle rect,
double zoom,
double pageZoom)
Draws the shape with the specified parameters.
|
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
java.lang.String |
toString() |
clone, getProperties, getServiceEnabled, getServiceInfo, getServiceName, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabledcleanReference, getReference, setReferencepublic final java.lang.String getServiceCategory()
getServiceCategory in class StiServicepublic final java.lang.Class<?> getServiceType()
getServiceType in class StiServicepublic void paint(StiGraphics g, StiShape shape, StiRectangle rect, double zoom, double pageZoom)
g - Graphics for drawing.shape - Component that invokes drawing.rect - The rectangle that shows coordinates for drawing.zoom - Zoom of drawing.public java.lang.String toString()
toString in class java.lang.Objectpublic JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectJSONExceptionpublic static StiShapeTypeService LoadFromJsonObjectInternal(JSONObject jObject) throws JSONException
JSONExceptionCopyright © 2019 Stimulsoft. All Rights Reserved.