Get the coordinate.returnThe current coordinate object. return new Point(coordinate);
return new Point(coordinate);
Set the coordinate.paramcoordinate The new coordinate.throwsNullPointerException __UNDOCUMENTED__throwsIllegalArgumentException __UNDOCUMENTED__ if (coordinate == null) { throw new NullPointerException("coordinate"); //$NON-NLS-1$ } if ((coordinate.x < 0) || (coordinate.y < 0)) { throw new IllegalArgumentException(); } this.coordinate = new Point(coordinate);
if (coordinate == null) { throw new NullPointerException("coordinate"); //$NON-NLS-1$ } if ((coordinate.x < 0) || (coordinate.y < 0)) { throw new IllegalArgumentException(); } this.coordinate = new Point(coordinate);