|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stimulsoft.report.components.StiMargins
public class StiMargins
Describes the class that realizes object margins.
Field Summary | |
---|---|
static StiMargins |
Empty
|
Constructor Summary | |
---|---|
StiMargins()
Creates a new object of the type StiMargins. |
|
StiMargins(double left,
double right,
double top,
double bottom)
Creates a new object of the type StiMargins. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates a new object that is a copy of the current instance. |
void |
deserialize(java.lang.String strObject)
Десериализация объекта из строки. |
StiMargins |
deserializeString(java.lang.String stringValue)
|
boolean |
equals(java.lang.Object obj)
Tests to see whether the specified object is a StiSize with the same dimensions as this StiSize. |
double |
getBottom()
Gets or sets bottom magin size on the object. |
double |
getLeft()
Gets or sets left magin size on the object. |
double |
getRight()
Gets or sets right magin size on the object. |
double |
getTop()
Gets or sets top magin size on the object. |
int |
hashCode()
Returns a hash code for this StiSize structure. |
boolean |
isDefault()
|
boolean |
isEmpty()
|
void |
LoadFromJsonObject(JSONObject jObject)
|
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode,
double defLeft,
double defRight,
double defTop,
double defBotttom)
|
java.lang.String |
serialize()
Сериализация объекта в строку. |
void |
setBottom(double value)
|
void |
setLeft(double value)
|
void |
setRight(double value)
|
void |
setTop(double value)
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static StiMargins Empty
Constructor Detail |
---|
public StiMargins()
public StiMargins(double left, double right, double top, double bottom)
left
- Left magin size on the object.right
- Right magin size on the object.top
- Top magin size on the object.bottom
- Bottom magin size on the object.Method Detail |
---|
public final double getLeft()
public final void setLeft(double value)
public final double getRight()
public final void setRight(double value)
public final double getTop()
public final void setTop(double value)
public final double getBottom()
public final void setBottom(double value)
public final boolean isEmpty()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- The Object to test.
public int hashCode()
hashCode
in class java.lang.Object
public final java.lang.Object clone()
clone
in class java.lang.Object
public void deserialize(java.lang.String strObject)
IStiSerializableToString
deserialize
in interface IStiSerializableToString
public StiMargins deserializeString(java.lang.String stringValue)
public java.lang.String serialize()
IStiSerializableToString
serialize
in interface IStiSerializableToString
public boolean isDefault()
isDefault
in interface IStiDefault
public JSONObject SaveToJsonObject(StiJsonSaveMode mode, double defLeft, double defRight, double defTop, double defBotttom) throws JSONException
JSONException
public void LoadFromJsonObject(JSONObject jObject) throws JSONException
JSONException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |