|
JHotDraw 7.0.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jhotdraw.geom.Insets2DDouble
public class Insets2DDouble
Insets2DDouble.
| Field Summary | |
|---|---|
double |
bottom
The inset from the bottom. |
double |
left
The inset from the left. |
double |
right
The inset from the right. |
double |
top
The inset from the top. |
| Constructor Summary | |
|---|---|
Insets2DDouble()
Creates and initializes a new Insets2DDouble object with the
0 insets. |
|
Insets2DDouble(double top,
double left,
double bottom,
double right)
Creates and initializes a new Insets2DDouble object with the
specified top, left, bottom, and right insets. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Create a copy of this object. |
boolean |
equals(java.lang.Object obj)
Checks whether two insets objects are equal. |
int |
hashCode()
Returns the hash code for this Insets2DDouble. |
void |
read(DOMInput in)
|
java.lang.String |
toString()
Returns a string representation of this Insets2DDouble object. |
void |
write(DOMOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public double top
clone()public double left
clone()public double bottom
clone()public double right
clone()| Constructor Detail |
|---|
public Insets2DDouble()
Insets2DDouble object with the
0 insets.
This constructor is required by the DOMStorable interface.
public Insets2DDouble(double top,
double left,
double bottom,
double right)
Insets2DDouble object with the
specified top, left, bottom, and right insets.
top - the inset from the top.left - the inset from the left.bottom - the inset from the bottom.right - the inset from the right.| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
Insets2DDouble are equal if the four integer values
of the fields top, left,
bottom, and right are all equal.
equals in class java.lang.Objecttrue if the two insets are equal;
otherwise false.public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
Insets2DDouble object.
This method is intended to be used only for debugging purposes, and
the content and format of the returned string may vary between
implementations. The returned string may be empty but may not be
null.
toString in class java.lang.ObjectInsets2DDouble object.public java.lang.Object clone()
clone in class java.lang.ObjectInsets2DDouble object.public void write(DOMOutput out)
write in interface DOMStorablepublic void read(DOMInput in)
read in interface DOMStorable
|
Copyright 1996-2006 © JHotDraw.org | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||