Package samer.maths
Class FunctionPlotter
- java.lang.Object
-
- samer.core.util.heavy.VCanvas
-
- samer.tools.Plotter
-
- samer.maths.FunctionPlotter
-
- All Implemented Interfaces:
- java.util.Observer
public class FunctionPlotter extends Plotter implements java.util.Observer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class samer.tools.Plotter
Plotter.Pen
-
-
Field Summary
Fields Modifier and Type Field and Description static intCLOSEDstatic intFILLstatic intFILL3Dstatic intLINEstatic intSTEPstatic intSTEPS
-
Constructor Summary
Constructors Constructor and Description FunctionPlotter(VFunction vf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidautoscale()voiddetach()voidexecute(java.lang.String c, Environment env)voidgetCommands(Registry r)java.awt.DimensiongetPreferredSize()voidpaint(java.awt.Graphics g)protected voidrealized()voidscale()voidupdate(java.util.Observable o, java.lang.Object s)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class samer.tools.Plotter
clear, drawAxes, exposeMaps, getPen, getPen, setAxes, setAxesColor, sized
-
-
-
-
Field Detail
-
CLOSED
public static final int CLOSED
- See Also:
- Constant Field Values
-
FILL
public static final int FILL
- See Also:
- Constant Field Values
-
FILL3D
public static final int FILL3D
- See Also:
- Constant Field Values
-
LINE
public static final int LINE
- See Also:
- Constant Field Values
-
STEP
public static final int STEP
- See Also:
- Constant Field Values
-
STEPS
public static final int STEPS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FunctionPlotter
public FunctionPlotter(VFunction vf)
-
-
Method Detail
-
realized
protected void realized()
-
update
public void update(java.util.Observable o, java.lang.Object s)- Specified by:
updatein interfacejava.util.Observer
-
detach
public void detach()
-
getCommands
public void getCommands(Registry r)
-
execute
public void execute(java.lang.String c, Environment env) throws java.lang.Exception- Throws:
java.lang.Exception
-
autoscale
public void autoscale()
-
scale
public void scale()
-
getPreferredSize
public java.awt.Dimension getPreferredSize()
- Overrides:
getPreferredSizein classPlotter
-
-