| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| XY |
|
| 1.0;1 |
| 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 | 0 | 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 | 0 | return (XY)super.clone(); |
| 26 | } | |
| 27 | /** | |
| 28 | * @return the x | |
| 29 | */ | |
| 30 | public int getX() { | |
| 31 | 0 | return x; |
| 32 | } | |
| 33 | /** | |
| 34 | * @param x the x to set | |
| 35 | */ | |
| 36 | public void setX(int x) { | |
| 37 | 0 | this.x = x; |
| 38 | 0 | } |
| 39 | /** | |
| 40 | * @return the y | |
| 41 | */ | |
| 42 | public int getY() { | |
| 43 | 0 | return y; |
| 44 | } | |
| 45 | /** | |
| 46 | * @param y the y to set | |
| 47 | */ | |
| 48 | public void setY(int y) { | |
| 49 | 0 | this.y = y; |
| 50 | 0 | } |
| 51 | ||
| 52 | ||
| 53 | } |