platypus
Class FontSize

java.lang.Object
  extended by platypus.CommandValue
      extended by platypus.FontSize

public class FontSize
extends CommandValue

Handles the command specifying the size of a font.


Constructor Summary
FontSize(float f)
           
FontSize(java.lang.String s, java.lang.String t)
           
 
Method Summary
 java.lang.String stateError(java.lang.String s)
          Error handling routine for invalid font size
 
Methods inherited from class platypus.CommandValue
dump, getAmount, getLineNumber, getUnits, setAmountInPoints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontSize

FontSize(java.lang.String s,
         java.lang.String t)

FontSize

FontSize(float f)
Method Detail

stateError

public java.lang.String stateError(java.lang.String s)
Error handling routine for invalid font size

Overrides:
stateError in class CommandValue
Parameters:
s - the invalid font size command. In theory, this can never be null.
Returns:
a string containing the error statement, or null in case of error.


Copyright © 2006-7 Pacific Data Works LLC