|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.erichseifert.gral.util.Insets2D
de.erichseifert.gral.util.Insets2D.Double
public static class Insets2D.Double
Class that stores insets as double values.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.erichseifert.gral.util.Insets2D |
---|
Insets2D.Double |
Constructor Summary | |
---|---|
Insets2D.Double()
Creates a new Insets2D object with zero insets. |
|
Insets2D.Double(double inset)
Creates a new Insets2D object with the specified insets in all directions. |
|
Insets2D.Double(double top,
double left,
double bottom,
double right)
Creates a new Insets2D object with the specified insets. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
double |
getBottom()
Returns the insets at the bottom. |
double |
getLeft()
Returns the insets at the left. |
double |
getRight()
Returns the insets at the right. |
double |
getTop()
Returns the insets at the top. |
int |
hashCode()
|
void |
setInsets(double top,
double left,
double bottom,
double right)
Sets the insets to the specified values. |
void |
setInsets(Insets2D insets)
Sets the insets according to the specified insets. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Insets2D.Double()
public Insets2D.Double(double inset)
inset
- Inset value.public Insets2D.Double(double top, double left, double bottom, double right)
top
- Top insets.left
- Left insets.bottom
- Bottom insets.right
- Right insets.Method Detail |
---|
public double getTop()
Insets2D
getTop
in class Insets2D
public double getLeft()
Insets2D
getLeft
in class Insets2D
public double getBottom()
Insets2D
getBottom
in class Insets2D
public double getRight()
Insets2D
getRight
in class Insets2D
public void setInsets(Insets2D insets)
Insets2D
setInsets
in class Insets2D
insets
- Insets to be set.public void setInsets(double top, double left, double bottom, double right)
Insets2D
setInsets
in class Insets2D
top
- Top insets.left
- Left insets.bottom
- Bottom insets.right
- Right insets.public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |