java.awt
public class Insets extends Object implements Cloneable, Serializable
UNKNOWN:
| Field Summary | |
|---|---|
| int | bottom
The gap from the bottom.
|
| int | left
The gap from the left.
|
| int | right
The gap from the right.
|
| int | top
The gap from the top.
|
| Constructor Summary | |
|---|---|
| Insets(int top, int left, int bottom, int right)
Initializes a new instance of Inset with the specified
inset values.
| |
| Method Summary | |
|---|---|
| Object | clone()
Returns a copy of this object.
|
| boolean | equals(Object obj)
Tests whether this object is equal to the specified object. |
| int | hashCode()
Returns a hashcode for this instance. |
| void | set(int top, int left, int bottom, int right)
Set the contents of this Insets object to the specified values.
|
| String | toString()
Returns a string representation of this object, which will be non-null.
|
Serial: the bottom inset
Serial: the left inset
Serial: the right inset
Serial: the top inset
Inset with the specified
inset values.
Parameters: top the top inset left the left inset bottom the bottom inset right the right inset
Returns: a copy of this object
Parameters: obj the object to test against
Returns: true if the specified object is equal to this one
Since: 1.1
XXX what is it? .
Returns: the hashcode
Parameters: top the top inset left the left inset bottom the bottom inset right the right inset
Since: 1.5
Returns: a string representation of this object