com.pcauto.gui.table
Class PString

java.lang.Object
  extended bycom.pcauto.gui.table.PString

public class PString
extends java.lang.Object

Javadoc summary


Constructor Summary
PString()
          Creates new PString
 
Method Summary
static java.lang.String alignLeft(java.lang.String value, int width, char fillChar)
           
static java.lang.String alignRight(java.lang.String value, int width, char fillChar)
           
static boolean areEqual(java.lang.String val1, java.lang.String val2)
           
static java.lang.String center(java.lang.String value, int width, char fillChar)
           
static java.lang.String center(java.lang.String value, int width, char fillChar, boolean roundLeft)
           
static java.lang.String parseEscapes(java.lang.String input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PString

public PString()
Creates new PString

Method Detail

alignLeft

public static java.lang.String alignLeft(java.lang.String value,
                                         int width,
                                         char fillChar)

alignRight

public static java.lang.String alignRight(java.lang.String value,
                                          int width,
                                          char fillChar)

center

public static java.lang.String center(java.lang.String value,
                                      int width,
                                      char fillChar,
                                      boolean roundLeft)

center

public static java.lang.String center(java.lang.String value,
                                      int width,
                                      char fillChar)

areEqual

public static boolean areEqual(java.lang.String val1,
                               java.lang.String val2)

parseEscapes

public static java.lang.String parseEscapes(java.lang.String input)
                                     throws java.text.ParseException
Throws:
java.text.ParseException