net.claribole.zgrviewer.dot
Class DotUtils
java.lang.Object
net.claribole.zgrviewer.dot.DotUtils
- public class DotUtils
- extends java.lang.Object
Provide useful methods that for a number of different classes
- Author:
- Eric Mounhem
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DotUtils
public DotUtils()
readRectangle
public static Rectangle readRectangle(java.lang.String v)
readBoolean
public static boolean readBoolean(java.lang.String v)
readViewPort
public static net.claribole.zgrviewer.dot.ViewPort readViewPort(java.lang.String v)
readPointf
public static java.awt.geom.Point2D.Double readPointf(java.lang.String v)
readPoint
public static Point readPoint(java.lang.String v)
readDouble
public static double readDouble(java.lang.String v)
readInteger
public static int readInteger(java.lang.String v)
throws java.lang.NumberFormatException
- Throws:
java.lang.NumberFormatException
readColor
public static java.awt.Color readColor(java.lang.String v)
readSpline
public static Spline readSpline(java.lang.String v)
readSplinePoint
public static void readSplinePoint(java.lang.String v,
Spline s)
readStyle
public static void readStyle(Style s,
java.lang.String v)
readPointfList
public static java.awt.geom.Point2D.Double[] readPointfList(java.lang.String v)
readRectangleList
public static Rectangle[] readRectangleList(java.lang.String v)
readColors
public static java.awt.Color[] readColors(java.lang.String v)
expandRects
public static void expandRects(net.claribole.zgrviewer.dot.Record r)
readShape
public static void readShape(BasicNode basicNode,
java.lang.String v)
readShape
public static void readShape(net.claribole.zgrviewer.dot.Record record,
java.lang.String v)
readOrientation
public static int readOrientation(java.lang.String v)
Copyright © 2004-2005 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.