Class 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
    • Constructor Detail

      • IconTutorial

        public IconTutorial()
        Create a JCanvas and put it into a window
    • 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