java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
gov.nih.mipav.view.renderer.WildMagic.ProstateFramework.svm_toy
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class svm_toy extends Applet
Copyright (c) 2000-2014 Chih-Chung Chang and Chih-Jen Lin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither name of copyright holders nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
See Also:
  • Field Details

  • Constructor Details

    • svm_toy

      public svm_toy()
  • Method Details

    • init

      public void init()
      Overrides:
      init in class Applet
    • draw_point

      void draw_point(svm_toy.point p)
    • clear_all

      void clear_all()
    • draw_all_points

      void draw_all_points()
    • button_change_clicked

      void button_change_clicked()
    • atof

      private static double atof(String s)
    • atoi

      private static int atoi(String s)
    • button_run_clicked

      void button_run_clicked(String args)
    • button_clear_clicked

      void button_clear_clicked()
    • button_save_clicked

      void button_save_clicked(String args)
    • button_load_clicked

      void button_load_clicked()
    • processMouseEvent

      protected void processMouseEvent(MouseEvent e)
      Overrides:
      processMouseEvent in class Component
    • paint

      public void paint(Graphics g)
      Overrides:
      paint in class Container
    • getPreferredSize

      public Dimension getPreferredSize()
      Overrides:
      getPreferredSize in class Container
    • setSize

      public void setSize(Dimension d)
      Overrides:
      setSize in class Component
    • setSize

      public void setSize(int w, int h)
      Overrides:
      setSize in class Component
    • main

      public static void main(String[] argv)