|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.canvas.demo.FigureDemo
public class FigureDemo
A demonstration of the Canvas class. It creates a pane with some figures, and then creates a couple more panes and plonks them inside the first one. See the Demo page of the Diva documentation for more info.
Constructor Summary | |
---|---|
FigureDemo(String name)
Constructor |
Method Summary | |
---|---|
void |
createGraphPane()
Create the embedded graph editor pane and add it to the foreground layer. |
void |
createSimplePane()
Create the simple embedded pane and add it to the foreground layer. |
JCanvas |
getJCanvas()
Get the canvas. |
static void |
main(String[] argv)
Run it |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FigureDemo(String name)
Method Detail |
---|
public final void createGraphPane()
public final void createSimplePane()
public JCanvas getJCanvas()
public static void main(String[] argv)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |