org.jcpsim.piccolo
Class putil

java.lang.Object
  extended by org.jcpsim.piccolo.putil

public final class putil
extends java.lang.Object

Utilities for piccolo


Method Summary
static void removeAllListeners(edu.umd.cs.piccolo.PNode node)
           
static void zoomTo(edu.umd.cs.piccolo.PCamera camera, edu.umd.cs.piccolo.PNode node, double zoom)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

zoomTo

public static void zoomTo(edu.umd.cs.piccolo.PCamera camera,
                          edu.umd.cs.piccolo.PNode node,
                          double zoom)
Parameters:
camera - the camera which shall zoom
node - the node which shall be zoomed to full canvas size if node==null all nodes are zoomed.
zoom - 0.0: completely fills the screen, 0.1 add 10% margin on each side.

removeAllListeners

public static void removeAllListeners(edu.umd.cs.piccolo.PNode node)


jCpSim (Java CardioPulmonary SIMulations), v0.2.01
Dr. Frank Fischer, frank@jcpsim.org, http://www.jcpsim.org