vmm.planecurve.parametric
Class UserPlaneCurveParametric

java.lang.Object
  extended by vmm.core.Exhibit
      extended by vmm.planecurve.PlaneCurve
          extended by vmm.planecurve.parametric.PlaneCurveParametric
              extended by vmm.planecurve.parametric.UserPlaneCurveParametric
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ChangeListener, Decorateable, Parameterizable, UserExhibit

public class UserPlaneCurveParametric
extends PlaneCurveParametric
implements UserExhibit

A plane curve defined by parametric functions (x(t),y(t)), where the functions and other data for the exhibit are entered by the user.


Nested Class Summary
 
Nested classes/interfaces inherited from class vmm.planecurve.parametric.PlaneCurveParametric
PlaneCurveParametric.PlaneCurveParametricView
 
Nested classes/interfaces inherited from interface vmm.core.UserExhibit
UserExhibit.FunctionInfo, UserExhibit.Support
 
Field Summary
 
Fields inherited from class vmm.planecurve.parametric.PlaneCurveParametric
tmax, tmin, tResolution, tVals
 
Fields inherited from class vmm.planecurve.PlaneCurve
movingSquare, points, randomSquare
 
Fields inherited from class vmm.core.Exhibit
decorations, exhibitNeedsRedraw, isMorphing, morphingView, parameters, previousTransform
 
Constructor Summary
UserPlaneCurveParametric()
           
 
Method Summary
 UserExhibit.Support getUserExhibitSupport()
          This method should return a non-null object that is created and customized in the constructor of the class that implements UserExhbit.
 double xValue(double t)
          Computes x(t) for a given value of t.
 double yValue(double t)
          Computes y(t) for a given value of t.
 
Methods inherited from class vmm.planecurve.parametric.PlaneCurveParametric
doDraw, getActionsForView, getCreateAnimation, getDefaultView, getT, getTResolution, makePoints, myCircle, x2ndDerivativeValue, xDerivativeValue, y2ndDerivativeValue, yDerivativeValue
 
Methods inherited from class vmm.planecurve.PlaneCurve
computeDrawData, fillRandomSquare, getPoint, getPointCount, initializeMovingSquare, moveSquare
 
Methods inherited from class vmm.core.Exhibit
addChangeListener, addDecoration, addExtraXML, addParameter, addView, clearDecorations, computeDrawDataHook, doDrawHook, fireExhibitChangeEvent, forceRedraw, getAdditionalAnimationsForView, getAlternativeViews, getBuildAnimation, getDecorations, getDefaultBackground, getDefaultForeground, getDefaultTransform, getDefaultWindow, getFramesForMorphing, getMorphingAnimation, getName, getParameterByName, getParameters, getSettingsCommandsForView, getTitle, getUseFilmstripForMorphing, getViews, parameterChanged, readExtraXML, removeChangeListener, removeDecoration, removeParameter, removeView, render, setDefaultBackground, setDefaultForeground, setDefaultWindow, setDefaultWindow, setFramesForMorphing, setName, setUseFilmstripForMorphing, stateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface vmm.core.UserExhibit
getDefaultView, getDefaultWindow, getParameters, setDefaultWindow
 
Methods inherited from interface vmm.core.Parameterizable
parameterChanged
 

Constructor Detail

UserPlaneCurveParametric

public UserPlaneCurveParametric()
Method Detail

xValue

public double xValue(double t)
Description copied from class: PlaneCurveParametric
Computes x(t) for a given value of t.

Specified by:
xValue in class PlaneCurveParametric

yValue

public double yValue(double t)
Description copied from class: PlaneCurveParametric
Computes y(t) for a given value of t.

Specified by:
yValue in class PlaneCurveParametric

getUserExhibitSupport

public UserExhibit.Support getUserExhibitSupport()
Description copied from interface: UserExhibit
This method should return a non-null object that is created and customized in the constructor of the class that implements UserExhbit.

Specified by:
getUserExhibitSupport in interface UserExhibit