|
||||||||||
| 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 IStiCanShrinkgetCanShrink in class StiComponentpublic void setCanShrink(boolean value)
setCanShrink in interface IStiCanShrinksetCanShrink in class StiComponentpublic boolean getCanGrow()
StiComponent
getCanGrow in interface IStiCanGrowgetCanGrow in class StiComponentpublic void setCanGrow(boolean value)
setCanGrow in interface IStiCanGrowsetCanGrow in class StiComponentpublic java.lang.Object clone(boolean cloneProperties)
clone in class StiComponentpublic boolean isExportAsImage(StiExportFormat format)
isExportAsImage in interface IStiExportImageExtendedisExportAsImage in class StiComponentpublic StiBrush getBrush()
getBrush in interface IStiBrushpublic void setBrush(StiBrush value)
setBrush in interface IStiBrushpublic final StiColor getBorderColor()
getBorderColor in interface IStiBorderColorpublic final void setBorderColor(StiColor value)
setBorderColor in interface IStiBorderColorpublic int getToolboxPosition()
getToolboxPosition in class StiComponentpublic java.lang.String getLocalizedCategory()
getLocalizedCategory in class StiBasepublic java.lang.String getLocalizedName()
getLocalizedName in class StiBasepublic StiRectangle getDefaultClientRectangle()
getDefaultClientRectangle in class StiComponentpublic 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 IStiJsonReportObjectSaveToJsonObject in class StiComponentJSONException
public void LoadFromJsonObject(JSONObject jObject)
throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiComponentJSONException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||