|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.wbi.protocol.http.beans.imagemap.Point
Represents a point (x,y) for use with image maps.
| Constructor Summary | |
Point()
Creates a new point. |
|
Point(int xPos,
int yPos)
Creates a new point given an x and y coordinate. |
|
| Method Summary | |
java.lang.Object |
clone()
Returns a copy of the current object. |
int |
getX()
Returns the current x coordinate. |
int |
getY()
Returns the current y coordinate. |
void |
setX(int pos)
Sets the current x coordinate. |
void |
setXY(int xPos,
int yPos)
Sets the current x and y coordinates. |
void |
setY(int pos)
Sets the current y coordinate. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Point(int xPos,
int yPos)
xPos - x coordinateyPos - y coordinatepublic Point()
| Method Detail |
public void setX(int pos)
pos - new x coordinatepublic void setY(int pos)
pos - new y coordinate
public void setXY(int xPos,
int yPos)
xPos - new x coordinateyPos - new y coordinatepublic int getX()
public int getY()
public java.lang.Object clone()
clone in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||