Package diva.canvas.tutorial
Class IconTutorial
- java.lang.Object
-
- diva.canvas.tutorial.IconTutorial
-
public class IconTutorial extends java.lang.Object
This tutorial illustrates how to use Icons.- Version:
- $Id$
- Author:
- John Reekie
-
-
Constructor Summary
Constructors Constructor Description IconTutorial()
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
createIcon1()
Create an icon.void
createIcon2()
Create an icon.void
createTerminals(IconFigure iconFigure)
Create a collection of terminals an an iconstatic void
main(java.lang.String[] argv)
Main function
-
-
-
Method Detail
-
createTerminals
public void createTerminals(IconFigure iconFigure)
Create a collection of terminals an an icon
-
createIcon1
public void createIcon1()
Create an icon. The icon's graphic is created by directly calling the PaintedShape API.
-
createIcon2
public void createIcon2()
Create an icon. The icon's graphic is created by using GraphicsParse.
-
main
public static void main(java.lang.String[] argv)
Main function
-
-