edu.umd.cs.piccolo.util
Class PUtil

java.lang.Object
  extended by edu.umd.cs.piccolo.util.PUtil

public class PUtil
extends java.lang.Object

PUtil util methods for the Piccolo framework.

Version:
1.0
Author:
Jesse Grosjean

Field Summary
static int ACTIVITY_SCHEDULER_FRAME_DELAY
           
static long DEFAULT_ACTIVITY_STEP_RATE
           
static java.util.Enumeration NULL_ENUMERATION
           
static java.util.Iterator NULL_ITERATOR
           
static java.io.OutputStream NULL_OUTPUT_STREAM
           
 
Constructor Summary
PUtil()
           
 
Method Summary
static PCamera createBasicScenegraph()
           
static java.awt.geom.GeneralPath readPath(java.io.ObjectInputStream in)
           
static java.awt.Stroke readStroke(java.io.ObjectInputStream in)
           
static void writePath(java.awt.geom.GeneralPath path, java.io.ObjectOutputStream out)
           
static void writeStroke(java.awt.Stroke aStroke, java.io.ObjectOutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_ITERATOR

public static java.util.Iterator NULL_ITERATOR

NULL_ENUMERATION

public static java.util.Enumeration NULL_ENUMERATION

DEFAULT_ACTIVITY_STEP_RATE

public static long DEFAULT_ACTIVITY_STEP_RATE

ACTIVITY_SCHEDULER_FRAME_DELAY

public static int ACTIVITY_SCHEDULER_FRAME_DELAY

NULL_OUTPUT_STREAM

public static java.io.OutputStream NULL_OUTPUT_STREAM
Constructor Detail

PUtil

public PUtil()
Method Detail

createBasicScenegraph

public static PCamera createBasicScenegraph()

writeStroke

public static void writeStroke(java.awt.Stroke aStroke,
                               java.io.ObjectOutputStream out)
                        throws java.io.IOException
Throws:
java.io.IOException

readStroke

public static java.awt.Stroke readStroke(java.io.ObjectInputStream in)
                                  throws java.io.IOException,
                                         java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

readPath

public static java.awt.geom.GeneralPath readPath(java.io.ObjectInputStream in)
                                          throws java.io.IOException,
                                                 java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writePath

public static void writePath(java.awt.geom.GeneralPath path,
                             java.io.ObjectOutputStream out)
                      throws java.io.IOException
Throws:
java.io.IOException


Copyright 2005 by University of Maryland, College Park, MD 20742, USA All rights reserved.

Web Accessibility