diva.canvas.tutorial
Class ManipulatorTutorial

java.lang.Object
  extended bydiva.canvas.tutorial.ManipulatorTutorial

public class ManipulatorTutorial
extends java.lang.Object

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

Version:
$Id: ManipulatorTutorial.java,v 1.5 2004/04/13 06:26:40 cxh Exp $
Author:
John Reekie

Constructor Summary
ManipulatorTutorial()
          Create a JCanvas and put it into a window
 
Method Summary
 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