Package samer.maths

Class VectorPlotter

  • All Implemented Interfaces:
    java.util.Observer
    Direct Known Subclasses:
    MatrixPlotter, VectorEditor


    public class VectorPlotter
    extends Plotter
    implements java.util.Observer
    A Viewer that draws a variety of graphs from data in a vector
    • Constructor Detail

      • VectorPlotter

        protected VectorPlotter(java.util.Observable o)
      • VectorPlotter

        public VectorPlotter(java.util.Observable o,
                             Vec s)
    • Method Detail

      • realized

        protected void realized()
      • update

        public void update(java.util.Observable o,
                           java.lang.Object s)
        Specified by:
        update in interface java.util.Observer
      • attach

        public void attach()
      • 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
      • setVec

        public void setVec(Vec v)
      • scale

        public void scale()
      • update

        public void update(java.awt.Graphics g)
      • paint

        public void paint(java.awt.Graphics g)
        Overrides:
        paint in class Plotter