edu.davidson.tools
Class SUtil

java.lang.Object
  |
  +--edu.davidson.tools.SUtil

public final class SUtil
extends java.lang.Object


Constructor Summary
SUtil()
           
 
Method Summary
static double chop(double val, double precision)
           
static java.awt.Color complementColor(java.awt.Color c)
           
static void drawArrow(java.awt.Graphics g, int x0, int y0, int x1, int y1)
           
static void drawArrow(java.awt.Graphics g, int x0, int y0, int x1, int y1, int s)
           
static void drawArrowHead(java.awt.Graphics g, int x0, int y0, int x1, int y1, int s)
           
static void drawSolidArrowHead(java.awt.Graphics g, int x0, int y0, int x1, int y1, int s)
           
static double getParam(java.lang.String paramList, java.lang.String param)
           
static java.lang.String getParamStr(java.lang.String paramList, java.lang.String param)
           
static java.awt.Color paleColor(java.awt.Color c)
           
static boolean parameterExist(java.lang.String paramList, java.lang.String param)
           
static java.lang.String removeWhitespace(java.lang.String str)
           
static java.awt.Color veryPaleColor(java.awt.Color c)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SUtil

public SUtil()
Method Detail

drawArrow

public static void drawArrow(java.awt.Graphics g,
                             int x0,
                             int y0,
                             int x1,
                             int y1)

drawArrow

public static void drawArrow(java.awt.Graphics g,
                             int x0,
                             int y0,
                             int x1,
                             int y1,
                             int s)

drawArrowHead

public static void drawArrowHead(java.awt.Graphics g,
                                 int x0,
                                 int y0,
                                 int x1,
                                 int y1,
                                 int s)

drawSolidArrowHead

public static void drawSolidArrowHead(java.awt.Graphics g,
                                      int x0,
                                      int y0,
                                      int x1,
                                      int y1,
                                      int s)

paleColor

public static java.awt.Color paleColor(java.awt.Color c)

veryPaleColor

public static java.awt.Color veryPaleColor(java.awt.Color c)

complementColor

public static java.awt.Color complementColor(java.awt.Color c)

chop

public static double chop(double val,
                          double precision)

removeWhitespace

public static java.lang.String removeWhitespace(java.lang.String str)

parameterExist

public static boolean parameterExist(java.lang.String paramList,
                                     java.lang.String param)

getParam

public static double getParam(java.lang.String paramList,
                              java.lang.String param)

getParamStr

public static java.lang.String getParamStr(java.lang.String paramList,
                                           java.lang.String param)

Copyright Wolfgang Christian

Visit the Davidson CollegeSTools Documentation Page