diva.canvas.demo
Class FigureDemo

java.lang.Object
  extended by diva.canvas.demo.FigureDemo

public class FigureDemo
extends Object

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.

Version:
$Revision: 1.7 $
Author:
John Reekie

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

FigureDemo

public FigureDemo(String name)
Constructor

Method Detail

createGraphPane

public final void createGraphPane()
Create the embedded graph editor pane and add it to the foreground layer.


createSimplePane

public final void createSimplePane()
Create the simple embedded pane and add it to the foreground layer.


getJCanvas

public JCanvas getJCanvas()
Get the canvas.


main

public static void main(String[] argv)
Run it



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.