|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.opengl.gui.util.Point
public class Point
Represents the location of a component.
| Field Summary | |
|---|---|
int |
x
The x position of the entity in question. |
int |
y
The y position of the entity in question. |
| Constructor Summary | |
|---|---|
Point()
|
|
Point(int x,
int y)
|
|
Point(Point other)
|
|
| Method Summary | |
|---|---|
Point |
clone()
|
boolean |
equals(Object other)
|
int |
hashCode()
|
Point |
set(int x,
int y)
Sets the value of this point. |
Point |
set(Point point)
Sets the value of this point to that of the specified other. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int x
public int y
| Constructor Detail |
|---|
public Point(int x,
int y)
public Point(Point other)
public Point()
| Method Detail |
|---|
public Point set(Point point)
public Point set(int x,
int y)
public Point clone()
clone in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||