jfig.utils
Class Xspline.RandomClosedSplineGenerator

java.lang.Object
  extended byjava.awt.event.MouseAdapter
      extended byjfig.utils.Xspline.RandomClosedSplineGenerator
All Implemented Interfaces:
java.util.EventListener, java.awt.event.MouseListener
Enclosing class:
Xspline

class Xspline.RandomClosedSplineGenerator
extends java.awt.event.MouseAdapter


Field Summary
(package private)  java.awt.Component component
           
(package private)  Xspline xspline
           
 
Constructor Summary
Xspline.RandomClosedSplineGenerator(Xspline target, java.awt.Component component)
           
 
Method Summary
 int clip(int x)
           
 void mouseClicked(java.awt.event.MouseEvent e)
           
 void newRandomClosedSpline()
           
 
Methods inherited from class java.awt.event.MouseAdapter
mouseEntered, mouseExited, mousePressed, mouseReleased
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xspline

Xspline xspline

component

java.awt.Component component
Constructor Detail

Xspline.RandomClosedSplineGenerator

public Xspline.RandomClosedSplineGenerator(Xspline target,
                                           java.awt.Component component)
Method Detail

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)

newRandomClosedSpline

public void newRandomClosedSpline()

clip

public int clip(int x)