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

java.lang.Object
  extended by org.apache.cocoon.generation.asciiart.AsciiArtPad.AsciiArtRect
All Implemented Interfaces:
AsciiArtPad.AsciiArtElement
Enclosing class:
AsciiArtPad

public static class AsciiArtPad.AsciiArtRect
extends Object
implements AsciiArtPad.AsciiArtElement

An AsciiArtElement describing a rectangle.


Constructor Summary
AsciiArtPad.AsciiArtRect(AsciiArtPad.AsciiArtCoordinate upperLeft, AsciiArtPad.AsciiArtCoordinate lowerRight)
          Constructor for the AsciiArtRect object
 
Method Summary
 double getHeight()
          Gets the height attribute of the AsciiArtRect object
 double getWidth()
          Gets the width attribute of the AsciiArtRect object
 double getXLowerRight()
          Gets the xLowerRight attribute of the AsciiArtRect object
 double getXUpperLeft()
          Gets the xUpperLeft attribute of the AsciiArtRect object
 double getYLowerRight()
          Gets the yLowerRight attribute of the AsciiArtRect object
 double getYUpperLeft()
          Gets the yUpperLeft attribute of the AsciiArtRect object
 void setXLowerRight(double xLowerRight)
          Sets the xLowerRight attribute of the AsciiArtRect object
 void setXUpperLeft(double xUpperLeft)
          Sets the xUpperLeft attribute of the AsciiArtRect object
 void setYLowerRight(double yLowerRight)
          Sets the yLowerRight attribute of the AsciiArtRect object
 void setYUpperLeft(double yUpperLeft)
          Sets the yUpperLeft attribute of the AsciiArtRect object
 String toString()
          Descriptive string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AsciiArtPad.AsciiArtRect

public AsciiArtPad.AsciiArtRect(AsciiArtPad.AsciiArtCoordinate upperLeft,
                                AsciiArtPad.AsciiArtCoordinate lowerRight)
Constructor for the AsciiArtRect object

Parameters:
upperLeft - Description of the Parameter
lowerRight - Description of the Parameter
Method Detail

setXUpperLeft

public void setXUpperLeft(double xUpperLeft)
Sets the xUpperLeft attribute of the AsciiArtRect object

Parameters:
xUpperLeft - The new xUpperLeft value

setYUpperLeft

public void setYUpperLeft(double yUpperLeft)
Sets the yUpperLeft attribute of the AsciiArtRect object

Parameters:
yUpperLeft - The new yUpperLeft value

setXLowerRight

public void setXLowerRight(double xLowerRight)
Sets the xLowerRight attribute of the AsciiArtRect object

Parameters:
xLowerRight - The new xLowerRight value

setYLowerRight

public void setYLowerRight(double yLowerRight)
Sets the yLowerRight attribute of the AsciiArtRect object

Parameters:
yLowerRight - The new yLowerRight value

getXUpperLeft

public double getXUpperLeft()
Gets the xUpperLeft attribute of the AsciiArtRect object

Returns:
The xUpperLeft value

getYUpperLeft

public double getYUpperLeft()
Gets the yUpperLeft attribute of the AsciiArtRect object

Returns:
The yUpperLeft value

getXLowerRight

public double getXLowerRight()
Gets the xLowerRight attribute of the AsciiArtRect object

Returns:
The xLowerRight value

getYLowerRight

public double getYLowerRight()
Gets the yLowerRight attribute of the AsciiArtRect object

Returns:
The yLowerRight value

getWidth

public double getWidth()
Gets the width attribute of the AsciiArtRect object

Returns:
The width value

getHeight

public double getHeight()
Gets the height attribute of the AsciiArtRect object

Returns:
The height value

toString

public String toString()
Descriptive string

Overrides:
toString in class Object
Returns:
String


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