1 /******************************************************************************
2 * XY.java - Convienence XY object
3 *
4 * PicMan - The BuckoSoft Picture Manager in Java
5 * Copyright(c) 2012 - Dick Balaska
6 *
7 */
8 package com.buckosoft.PicMan.domain;
9
10 /** Convienence XY object
11 * @author Dick Balaska
12 * @since 2012/08/17
13 * @see <a href="http://cvs.buckosoft.com/Projects/java/PicMan/PicMan/src/main/java/com/buckosoft/PicMan/domain/XY.java">XY.java</a>
14 */
15 public class XY implements Cloneable {
16 public int x;
17 public int y;
18
19
20 /* (non-Javadoc)
21 * @see java.lang.Object#clone()
22 */
23 @Override
24 public XY clone() throws CloneNotSupportedException {
25 return (XY)super.clone();
26 }
27 /**
28 * @return the x
29 */
30 public int getX() {
31 return x;
32 }
33 /**
34 * @param x the x to set
35 */
36 public void setX(int x) {
37 this.x = x;
38 }
39 /**
40 * @return the y
41 */
42 public int getY() {
43 return y;
44 }
45 /**
46 * @param y the y to set
47 */
48 public void setY(int y) {
49 this.y = y;
50 }
51
52
53 }