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

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

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

An AsciiArtElement describing a line.


Constructor Summary
AsciiArtPad.AsciiArtLine(AsciiArtPad.AsciiArtCoordinate start, AsciiArtPad.AsciiArtCoordinate end)
          Constructor for the AsciiArtLine object
 
Method Summary
 double getXEnd()
          Gets the xEnd attribute of the AsciiArtLine object
 double getXStart()
          Gets the xStart attribute of the AsciiArtLine object
 double getYEnd()
          Gets the yEnd attribute of the AsciiArtLine object
 double getYStart()
          Gets the yStart attribute of the AsciiArtLine object
 void setXEnd(double xEnd)
          Sets the xEnd attribute of the AsciiArtLine object
 void setXStart(double xStart)
          Sets the xStart attribute of the AsciiArtLine object
 void setYEnd(double yEnd)
          Sets the yEnd attribute of the AsciiArtLine object
 void setYStart(double yStart)
          Sets the yStart attribute of the AsciiArtLine 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.AsciiArtLine

public AsciiArtPad.AsciiArtLine(AsciiArtPad.AsciiArtCoordinate start,
                                AsciiArtPad.AsciiArtCoordinate end)
Constructor for the AsciiArtLine object

Parameters:
start - Description of the Parameter
end - Description of the Parameter
Method Detail

setXStart

public void setXStart(double xStart)
Sets the xStart attribute of the AsciiArtLine object

Parameters:
xStart - The new xStart value

setYStart

public void setYStart(double yStart)
Sets the yStart attribute of the AsciiArtLine object

Parameters:
yStart - The new yStart value

setXEnd

public void setXEnd(double xEnd)
Sets the xEnd attribute of the AsciiArtLine object

Parameters:
xEnd - The new xEnd value

setYEnd

public void setYEnd(double yEnd)
Sets the yEnd attribute of the AsciiArtLine object

Parameters:
yEnd - The new yEnd value

getXStart

public double getXStart()
Gets the xStart attribute of the AsciiArtLine object

Returns:
The xStart value

getYStart

public double getYStart()
Gets the yStart attribute of the AsciiArtLine object

Returns:
The yStart value

getXEnd

public double getXEnd()
Gets the xEnd attribute of the AsciiArtLine object

Returns:
The xEnd value

getYEnd

public double getYEnd()
Gets the yEnd attribute of the AsciiArtLine object

Returns:
The yEnd value

toString

public String toString()
Descriptive string

Overrides:
toString in class Object
Returns:
String


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