platypus.pdf
Class ParaSkip

java.lang.Object
  extended by platypus.CommandValue
      extended by platypus.pdf.ParaSkip

public class ParaSkip
extends CommandValue

Handles the command specifying the amount of space (generally, the number of lines) to skip before the beginning of a new paragraph.

Author:
alb

Constructor Summary
ParaSkip(float f)
           
ParaSkip(java.lang.String s, java.lang.String t)
           
 
Method Summary
 java.lang.String dump()
          Creates a string containing the line # and the value for the height of the strikethrough line when last set
 java.lang.String stateError(java.lang.String s)
          Prints some kind of error message.
 
Methods inherited from class platypus.CommandValue
getAmount, getLineNumber, getUnits, setAmountInPoints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParaSkip

public ParaSkip(java.lang.String s,
                java.lang.String t)

ParaSkip

public ParaSkip(float f)
Method Detail

stateError

public java.lang.String stateError(java.lang.String s)
Description copied from class: CommandValue
Prints some kind of error message. Should be overwritten by implementing class.

Overrides:
stateError in class CommandValue
Parameters:
s - the command string originally passed to the constructor
Returns:
a string containing the error statement, or null in case of error.

dump

public java.lang.String dump()
Creates a string containing the line # and the value for the height of the strikethrough line when last set

Overrides:
dump in class CommandValue
Returns:
formatted string suitable for use in dump()


Copyright © 2006-7 Pacific Data Works LLC