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

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

public static class AsciiArtPad.AsciiArt
extends Object

Helper class containing the ascii text data, acting as input of an AsciiArtPad


Constructor Summary
AsciiArtPad.AsciiArt(String[] s)
          Constructor for the AsciiArt object
 
Method Summary
 String getColumn(int c)
          Gets the column attribute of the AsciiArt object
 int getH()
          Gets the h attribute of the AsciiArt object
 String getRow(int r)
          Gets the row attribute of the AsciiArt object
 int getW()
          Gets the w attribute of the AsciiArt object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsciiArtPad.AsciiArt

public AsciiArtPad.AsciiArt(String[] s)
Constructor for the AsciiArt object

Parameters:
s - Description of the Parameter
Method Detail

getW

public int getW()
Gets the w attribute of the AsciiArt object

Returns:
The w value

getH

public int getH()
Gets the h attribute of the AsciiArt object

Returns:
The h value

getRow

public String getRow(int r)
Gets the row attribute of the AsciiArt object

Parameters:
r - Description of the Parameter
Returns:
The row value

getColumn

public String getColumn(int c)
Gets the column attribute of the AsciiArt object

Parameters:
c - Description of the Parameter
Returns:
The column value


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