com.croftsoft.core.animation.painter
Class AbstractXYPainter

java.lang.Object
  extended by com.croftsoft.core.animation.painter.AbstractXYPainter
All Implemented Interfaces:
ComponentPainter, XYPainter
Direct Known Subclasses:
IconPainter

public abstract class AbstractXYPainter
extends Object
implements XYPainter

Abstract XYPainter implementation of (x,y) accessor/mutator ops.

Since:
2002-03-05
Version:
2003-07-05
Author:
David Wallace Croft

Field Summary
protected  int x
           
protected  int y
           
 
Constructor Summary
AbstractXYPainter(int x, int y)
          Main constructor.
 
Method Summary
 int getX()
           
 int getY()
           
 void setX(int x)
           
 void setY(int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.croftsoft.core.animation.ComponentPainter
paint
 

Field Detail

x

protected int x

y

protected int y
Constructor Detail

AbstractXYPainter

public AbstractXYPainter(int x,
                         int y)
Main constructor.

Method Detail

getX

public int getX()
Specified by:
getX in interface XYPainter

getY

public int getY()
Specified by:
getY in interface XYPainter

setX

public void setX(int x)
Specified by:
setX in interface XYPainter

setY

public void setY(int y)
Specified by:
setY in interface XYPainter

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)