Class DrawToolBar

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants

public class DrawToolBar extends JToolBar
This class implements a toolbar for drawing tools. The tools include:
  • Select a previously drawn shape
  • Draw polyline
  • Draw rectangle
  • Draw oval
  • Draw callout (text-containing bubble with pointer)
  • Specify line-drawing color, width, and stroke
  • Specify shape fill color
Author:
Andrew Pavlin, KA2DDO
See Also:
  • Constructor Details

    • DrawToolBar

      public DrawToolBar(DrawLayer dl)
      Create a DrawToolBar to control the specified DrawLayer.
      Parameters:
      dl - DrawLayer to control