Class ManipulatorTutorial


  • public class ManipulatorTutorial
    extends java.lang.Object

    This tutorial shows how to add different types of manipulators to figures.

    Version:
    $Id$
    Author:
    John Reekie
    • Constructor Summary

      Constructors 
      Constructor Description
      ManipulatorTutorial()
      Create a JCanvas and put it into a window
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void createFigures()
      Create the figures.
      void createInteraction()
      Create the interaction on the figures.
      static void main​(java.lang.String[] argv)
      Main function
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ManipulatorTutorial

        public ManipulatorTutorial()
        Create a JCanvas and put it into a window
    • Method Detail

      • createFigures

        public void createFigures()
        Create the figures.
      • createInteraction

        public void createInteraction()
        Create the interaction on the figures. We make a different selection interactor for each figure, because each has a different type of manipulator attached to it. Usually, each selection interactor will be attached to many figures.
      • main

        public static void main​(java.lang.String[] argv)
        Main function