|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.noaa.pmel.sgt.beans.Margin
public class Margin
Margin class.
Field Summary | |
---|---|
float |
bottom
Bottom margin. |
float |
left
Left margin. |
float |
right
Right margin. |
float |
top
Top margin. |
Constructor Summary | |
---|---|
Margin()
Default constructor. |
|
Margin(float top,
float left,
float bottom,
float right)
Margin constructor. |
Method Summary | |
---|---|
Margin |
copy()
Copy Margin object. |
float |
getBottom()
Get bottom margin |
float |
getLeft()
Get left margin. |
float |
getRight()
Get right margin. |
float |
getTop()
Get top margin. |
void |
setBottom(float bottom)
Set bottom margin. |
void |
setLeft(float left)
Set left margin. |
void |
setRight(float right)
Set right margin. |
void |
setTop(float top)
Set top margin. |
java.lang.String |
toString()
Get string representation of Margin . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public float left
public float right
public float top
public float bottom
Constructor Detail |
---|
public Margin()
public Margin(float top, float left, float bottom, float right)
top
- top marginleft
- left marginbottom
- bottom marginright
- right marginMethod Detail |
---|
public Margin copy()
public void setTop(float top)
top
- top marginpublic float getTop()
public void setBottom(float bottom)
bottom
- bottom marginpublic float getBottom()
public void setLeft(float left)
left
- left marginpublic float getLeft()
public void setRight(float right)
right
- right marginpublic float getRight()
public java.lang.String toString()
Margin
.
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |