org.apache.cocoon.generation.asciiart
Class AsciiArtPad.AsciiArtCoordinate

java.lang.Object
  extended by org.apache.cocoon.generation.asciiart.AsciiArtPad.AsciiArtCoordinate
Enclosing class:
AsciiArtPad

public static class AsciiArtPad.AsciiArtCoordinate
extends Object

Helper class describing a coordinate of AsciiArtPad elements.


Constructor Summary
AsciiArtPad.AsciiArtCoordinate()
          Constructor for the AsciiArtCoordinate object
AsciiArtPad.AsciiArtCoordinate(AsciiArtPad asciiArtPad)
          Constructor for the AsciiArtCoordinate object
AsciiArtPad.AsciiArtCoordinate(int x, int y)
          Constructor for the AsciiArtCoordinate object
 
Method Summary
 double getXDouble()
          Gets the xDouble attribute of the AsciiArtCoordinate object
 double getYDouble()
          Gets the yDouble attribute of the AsciiArtCoordinate object
 void setAsciiArtPad(AsciiArtPad asciiArtPad)
          Sets the asciiArtPad attribute of the AsciiArtCoordinate object
 void setTransXY(double tx, double ty)
          Sets the xY attribute of the AsciiArtCoordinate object
 void setXY(int x, int y)
          Sets the xY attribute of the AsciiArtCoordinate object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsciiArtPad.AsciiArtCoordinate

public AsciiArtPad.AsciiArtCoordinate()
Constructor for the AsciiArtCoordinate object


AsciiArtPad.AsciiArtCoordinate

public AsciiArtPad.AsciiArtCoordinate(AsciiArtPad asciiArtPad)
Constructor for the AsciiArtCoordinate object

Parameters:
asciiArtPad - Description of the Parameter

AsciiArtPad.AsciiArtCoordinate

public AsciiArtPad.AsciiArtCoordinate(int x,
                                      int y)
Constructor for the AsciiArtCoordinate object

Parameters:
x - Description of the Parameter
y - Description of the Parameter
Method Detail

setAsciiArtPad

public void setAsciiArtPad(AsciiArtPad asciiArtPad)
Sets the asciiArtPad attribute of the AsciiArtCoordinate object

Parameters:
asciiArtPad - The new asciiArtPad value

setTransXY

public void setTransXY(double tx,
                       double ty)
Sets the xY attribute of the AsciiArtCoordinate object

Parameters:
tx - The new transXY value
ty - The new transXY value

setXY

public void setXY(int x,
                  int y)
Sets the xY attribute of the AsciiArtCoordinate object

Parameters:
x - The new xY value
y - The new xY value

getXDouble

public double getXDouble()
Gets the xDouble attribute of the AsciiArtCoordinate object

Returns:
The xDouble value

getYDouble

public double getYDouble()
Gets the yDouble attribute of the AsciiArtCoordinate object

Returns:
The yDouble value


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.