All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ij.gui.Toolbar

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----ij.gui.Toolbar

public class Toolbar
extends Canvas
implements MouseListener
The ImageJ toolbar


Variable Index

 o DROPPER
 o foregroundColor
 o FREELINE
 o FREEROI
 o HAND
 o LINE
 o MAGNIFIER
 o OVAL
 o POLYGON
 o POLYLINE
 o RECTANGLE

Constructor Index

 o Toolbar()

Method Index

 o getColor()
 o getInstance()
 o getToolId()
 o minimumSize()
 o mouseClicked(MouseEvent)
 o mouseEntered(MouseEvent)
 o mouseExited(MouseEvent)
 o mousePressed(MouseEvent)
 o mouseReleased(MouseEvent)
 o paint(Graphics)
Paints the canvas in the default background color.
 o preferredSize()
 o selectTool(int)
 o setColor(Color)
 o setTool(int)

Variables

 o RECTANGLE
 public static final int RECTANGLE
 o OVAL
 public static final int OVAL
 o POLYGON
 public static final int POLYGON
 o FREEROI
 public static final int FREEROI
 o LINE
 public static final int LINE
 o POLYLINE
 public static final int POLYLINE
 o FREELINE
 public static final int FREELINE
 o MAGNIFIER
 public static final int MAGNIFIER
 o HAND
 public static final int HAND
 o DROPPER
 public static final int DROPPER
 o foregroundColor
 public Color foregroundColor

Constructors

 o Toolbar
 public Toolbar()

Methods

 o getToolId
 public static int getToolId()
 o getInstance
 public static Toolbar getInstance()
 o paint
 public void paint(Graphics g)
Paints the canvas in the default background color.

Overrides:
paint in class Canvas
 o setTool
 public void setTool(int tool)
 o getColor
 public Color getColor()
 o setColor
 public void setColor(Color c)
 o mousePressed
 public void mousePressed(MouseEvent e)
 o mouseReleased
 public void mouseReleased(MouseEvent e)
 o mouseExited
 public void mouseExited(MouseEvent e)
 o mouseClicked
 public void mouseClicked(MouseEvent e)
 o mouseEntered
 public void mouseEntered(MouseEvent e)
 o selectTool
 public void selectTool(int key)
 o preferredSize
 public Dimension preferredSize()
Overrides:
preferredSize in class Component
 o minimumSize
 public Dimension minimumSize()
Overrides:
minimumSize in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index