|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.StiBase
com.stimulsoft.report.components.StiComponent
com.stimulsoft.report.components.simplecomponents.StiShape
public class StiShape
Class describes the component that serves to show shapes.
Field Summary |
---|
Fields inherited from class com.stimulsoft.report.components.StiComponent |
---|
canGrow, canShrink, componentPlacement, conditions, currentPointer, expressions, interaction, isRendered, page, parent, parentBookmark, parentPointer, top, width |
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef |
---|
REFERENCE_EMPTY, REFERENCE_REPORT |
Constructor Summary | |
---|---|
StiShape()
Creates a new component of the type StiShape. |
|
StiShape(StiRectangle rect)
Creates a new component of the type StiShape. |
Method Summary | |
---|---|
java.lang.Object |
clone(boolean cloneProperties)
Creates a new object that is a copy of the current instance. |
StiColor |
getBorderColor()
Gets or sets border color. |
StiBrush |
getBrush()
Gets or sets a brush to fill a component. |
boolean |
getCanGrow()
gets or sets a value which indicates that this object can grow. |
boolean |
getCanShrink()
gets or sets value which indicates that this object can shrink. |
StiRectangle |
getDefaultClientRectangle()
Gets or sets the default client area of a component. |
java.lang.String |
getLocalizedCategory()
Gets a localized name of the component category. |
java.lang.String |
getLocalizedName()
Gets a localized component name. |
StiShapeTypeService |
getShapeType()
Gets or sets type of the shape. |
double |
getSize()
Gets or sets size of the border. |
StiPenStyle |
getStyle()
Gets or sets a pen style. |
int |
getToolboxPosition()
Gets value to sort a position in the toolbox. |
boolean |
isExportAsImage(StiExportFormat format)
|
boolean |
IsExportAsImage(StiExportFormat format)
|
void |
LoadFromJsonObject(JSONObject jObject)
|
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode)
|
void |
setBorderColor(StiColor value)
|
void |
setBrush(StiBrush value)
|
void |
setCanGrow(boolean value)
|
void |
setCanShrink(boolean value)
|
void |
setShapeType(StiShapeTypeService value)
|
void |
setSize(double value)
|
void |
setStyle(StiPenStyle value)
|
Methods inherited from class com.stimulsoft.report.StiBase |
---|
getName, getServiceName |
Methods inherited from class com.stimulsoft.base.services.StiService |
---|
getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, properties, setProperties, setServiceEnabled |
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject |
---|
cleanReference, getReference, setReference |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImageExtended |
---|
getImage |
Methods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImage |
---|
getImage |
Constructor Detail |
---|
public StiShape()
public StiShape(StiRectangle rect)
rect
- The rectangle describes size and position of the component.Method Detail |
---|
public boolean getCanShrink()
StiComponent
getCanShrink
in interface IStiCanShrink
getCanShrink
in class StiComponent
public void setCanShrink(boolean value)
setCanShrink
in interface IStiCanShrink
setCanShrink
in class StiComponent
public boolean getCanGrow()
StiComponent
getCanGrow
in interface IStiCanGrow
getCanGrow
in class StiComponent
public void setCanGrow(boolean value)
setCanGrow
in interface IStiCanGrow
setCanGrow
in class StiComponent
public java.lang.Object clone(boolean cloneProperties)
clone
in class StiComponent
public boolean isExportAsImage(StiExportFormat format)
isExportAsImage
in interface IStiExportImageExtended
isExportAsImage
in class StiComponent
public StiBrush getBrush()
getBrush
in interface IStiBrush
public void setBrush(StiBrush value)
setBrush
in interface IStiBrush
public final StiColor getBorderColor()
getBorderColor
in interface IStiBorderColor
public final void setBorderColor(StiColor value)
setBorderColor
in interface IStiBorderColor
public int getToolboxPosition()
getToolboxPosition
in class StiComponent
public java.lang.String getLocalizedCategory()
getLocalizedCategory
in class StiBase
public java.lang.String getLocalizedName()
getLocalizedName
in class StiBase
public StiRectangle getDefaultClientRectangle()
getDefaultClientRectangle
in class StiComponent
public final StiPenStyle getStyle()
public final void setStyle(StiPenStyle value)
public final double getSize()
public final void setSize(double value)
public final StiShapeTypeService getShapeType()
public final void setShapeType(StiShapeTypeService value)
public boolean IsExportAsImage(StiExportFormat format)
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject
in interface IStiJsonReportObject
SaveToJsonObject
in class StiComponent
JSONException
public void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject
in interface IStiJsonReportObject
LoadFromJsonObject
in class StiComponent
JSONException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |