|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.canvas.tutorial.ManipulatorTutorial
public class ManipulatorTutorial
This tutorial shows how to add different types of manipulators to figures.
Field Summary | |
---|---|
private BasicEllipse |
_circle
|
private BasicFigure |
_line
|
private BasicRectangle |
_rectangle
|
private BasicFigure |
_shape
|
private JCanvas |
canvas
|
private GraphicsPane |
graphicsPane
|
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 |
Field Detail |
---|
private BasicRectangle _rectangle
private BasicEllipse _circle
private BasicFigure _line
private BasicFigure _shape
private JCanvas canvas
private GraphicsPane graphicsPane
Constructor Detail |
---|
public ManipulatorTutorial()
Method Detail |
---|
public void createFigures()
public void createInteraction()
public static void main(java.lang.String[] argv)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |