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

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

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

An AsciiArtElement describing a string of text.


Constructor Summary
AsciiArtPad.AsciiArtString(AsciiArtPad.AsciiArtCoordinate aac, String s)
          Constructor for the AsciiArtString object
 
Method Summary
 String getS()
          Gets the s attribute of the AsciiArtString object
 double getX()
          Gets the x attribute of the AsciiArtString object
 double getY()
          Gets the y attribute of the AsciiArtString object
 void setS(String s)
          Sets the s attribute of the AsciiArtString object
 void setX(double x)
          Sets the x attribute of the AsciiArtString object
 void setY(double y)
          Sets the y attribute of the AsciiArtString 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.AsciiArtString

public AsciiArtPad.AsciiArtString(AsciiArtPad.AsciiArtCoordinate aac,
                                  String s)
Constructor for the AsciiArtString object

Parameters:
s - Description of the Parameter
aac - Description of the Parameter
Method Detail

setX

public void setX(double x)
Sets the x attribute of the AsciiArtString object

Parameters:
x - The new x value

setY

public void setY(double y)
Sets the y attribute of the AsciiArtString object

Parameters:
y - The new y value

setS

public void setS(String s)
Sets the s attribute of the AsciiArtString object

Parameters:
s - The new s value

getX

public double getX()
Gets the x attribute of the AsciiArtString object

Returns:
The x value

getY

public double getY()
Gets the y attribute of the AsciiArtString object

Returns:
The y value

getS

public String getS()
Gets the s attribute of the AsciiArtString object

Returns:
The s value

toString

public String toString()
Descriptive string

Overrides:
toString in class Object
Returns:
String


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