|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jmex.bui.util.Rectangle
public class Rectangle
Represents the bounds of a component.
| Field Summary | |
|---|---|
int |
height
The height of the entity in question. |
int |
width
The width of the entity in question. |
int |
x
The x position of the entity in question. |
int |
y
The y position of the entity in question. |
| Constructor Summary | |
|---|---|
Rectangle()
|
|
Rectangle(int x,
int y,
int width,
int height)
|
|
Rectangle(Rectangle other)
|
|
| Method Summary | |
|---|---|
void |
add(int x,
int y,
int width,
int height)
Adds the specified rectangle to this rectangle, causing this rectangle to become the union of itself and the specified rectangle. |
boolean |
equals(java.lang.Object other)
|
int |
hashCode()
|
void |
set(int x,
int y,
int width,
int height)
Sets the fields of this rectangle. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int x
public int y
public int width
public int height
| Constructor Detail |
|---|
public Rectangle(int x,
int y,
int width,
int height)
public Rectangle(Rectangle other)
public Rectangle()
| Method Detail |
|---|
public void set(int x,
int y,
int width,
int height)
public void add(int x,
int y,
int width,
int height)
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||