|
||||||||||
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.StiPrimitive
com.stimulsoft.report.components.simplecomponents.StiLinePrimitive
com.stimulsoft.report.components.simplecomponents.StiCrossLinePrimitive
com.stimulsoft.report.components.simplecomponents.StiRectanglePrimitive
public class StiRectanglePrimitive
Describes class that realizes component - StiRectanglePrimitive.
Field Summary |
---|
Fields inherited from class com.stimulsoft.report.components.simplecomponents.StiCrossLinePrimitive |
---|
StoredEndPoint, StoredStartPoint |
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 | |
---|---|
StiRectanglePrimitive()
Creates a new StiRectanglePrimitive. |
|
StiRectanglePrimitive(StiRectangle rect)
Creates a new StiRectanglePrimitive. |
Method Summary | |
---|---|
void |
convert(StiUnit oldUnit,
StiUnit newUnit)
Converts a component out of one unit into another. |
StiBorder |
getBorder()
Gets or sets frame of the component. |
boolean |
getBottomSide()
Gets os sets property which indicates to draw bottom side of the rectangle or no. |
boolean |
getLeftSide()
Gets os sets property which indicates to draw left side of the rectangle or no. |
java.lang.String |
getLocalizedName()
Gets a localized component name. |
boolean |
getRightSide()
Gets os sets property which indicates to draw right side of the rectangle or no. |
int |
getToolboxPosition()
Gets value to sort a position in the toolbox. |
boolean |
getTopSide()
Gets os sets property which indicates to draw top side of the rectangle or no. |
double |
getWidth()
gets or sets width of a component. |
void |
LoadFromJsonObject(JSONObject jObject)
|
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode)
|
void |
setBorder(StiBorder value)
|
void |
setBottomSide(boolean value)
|
void |
setLeftSide(boolean value)
|
void |
setRightSide(boolean value)
|
void |
setTopSide(boolean value)
|
void |
setWidth(double value)
|
Methods inherited from class com.stimulsoft.report.components.simplecomponents.StiCrossLinePrimitive |
---|
canContainIn, getEndPoint, getEndPoint, getHeight, getLeft, getLinked, getStartPoint, getStartPoint, getTop, OnRemoveComponent, setHeight, setLeft, setLinked, setTop |
Methods inherited from class com.stimulsoft.report.components.simplecomponents.StiLinePrimitive |
---|
getColor, getDefaultClientRectangle, getInvalidateOnMouseOver, getSize, getStyle, setColor, setSize, setStyle |
Methods inherited from class com.stimulsoft.report.components.simplecomponents.StiPrimitive |
---|
getCanGrow, getCanShrink, getClientRectangle, getComponentType, getConditions, getDisplayRectangle, getDockStyle, getGrowToHeight, getLocalizedCategory, getPriority, getShift, getUseParentStyles, setCanGrow, setCanShrink, setClientRectangle, setConditions, setDirectDisplayRectangle, setDisplayRectangle, setDockStyle, setGrowToHeight, setShift, setUseParentStyles |
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 |
Constructor Detail |
---|
public StiRectanglePrimitive()
public StiRectanglePrimitive(StiRectangle rect)
rect
- The rectangle describes size and position of the component.Method Detail |
---|
public final StiBorder getBorder()
getBorder
in interface IStiBorder
public final void setBorder(StiBorder value)
setBorder
in interface IStiBorder
public void convert(StiUnit oldUnit, StiUnit newUnit)
convert
in interface IStiUnitConvert
convert
in class StiComponent
oldUnit
- Old units.newUnit
- New units.public int getToolboxPosition()
getToolboxPosition
in class StiComponent
public java.lang.String getLocalizedName()
getLocalizedName
in class StiBase
public double getWidth()
StiComponent
getWidth
in class StiComponent
public void setWidth(double value)
setWidth
in class StiComponent
public boolean getTopSide()
public void setTopSide(boolean value)
public boolean getLeftSide()
public void setLeftSide(boolean value)
public boolean getBottomSide()
public void setBottomSide(boolean value)
public boolean getRightSide()
public void setRightSide(boolean value)
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject
in interface IStiJsonReportObject
SaveToJsonObject
in class StiLinePrimitive
JSONException
public void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject
in interface IStiJsonReportObject
LoadFromJsonObject
in class StiLinePrimitive
JSONException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |