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 int
CLOSED
static int
FILL
static int
FILL3D
static int
LINE
static int
STEP
static int
STEPS
-
Constructor Summary
Constructors Constructor and Description FunctionPlotter(VFunction vf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
autoscale()
void
detach()
void
execute(java.lang.String c, Environment env)
void
getCommands(Registry r)
java.awt.Dimension
getPreferredSize()
void
paint(java.awt.Graphics g)
protected void
realized()
void
scale()
void
update(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:
update
in 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:
getPreferredSize
in classPlotter
-
-