com.stimulsoft.report.components.shapeTypes
Class StiArrowShapeType

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.StiArrowShapeType
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, java.lang.Cloneable

public class StiArrowShapeType
extends StiShapeTypeService

The class describes the shape type - Arrow.


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
StiArrowShapeType()
          Creates a new arrow.
StiArrowShapeType(StiShapeDirection direction, float arrowWidth, float arrowHeight)
          Creates a new arrow with specified arguments.
 
Method Summary
 float getArrowHeight()
          Gets or sets the arrow height factor.
 float getArrowWidth()
          Gets or sets the arrow width factor.
 StiShapeDirection getDirection()
          Gets or sets the arrow direction.
 java.lang.String getServiceName()
          Gets a service name.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setArrowHeight(float value)
           
 void setArrowWidth(float value)
           
 void setDirection(StiShapeDirection 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

StiArrowShapeType

public StiArrowShapeType()
Creates a new arrow.


StiArrowShapeType

public StiArrowShapeType(StiShapeDirection direction,
                         float arrowWidth,
                         float arrowHeight)
Creates a new arrow with specified arguments.

Parameters:
direction - Arrow direction.
arrowWidth - Arrow width factor.
arrowHeight - Arrow height factor.
Method Detail

getServiceName

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

Overrides:
getServiceName in class StiService

getDirection

public StiShapeDirection getDirection()
Gets or sets the arrow direction.


setDirection

public void setDirection(StiShapeDirection value)

getArrowWidth

public float getArrowWidth()
Gets or sets the arrow width factor.


setArrowWidth

public void setArrowWidth(float value)

getArrowHeight

public float getArrowHeight()
Gets or sets the arrow height factor.


setArrowHeight

public void setArrowHeight(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.