Make your own free website on Tripod.com
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Graph.Toolbox

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----Graph.Toolbox

public class Toolbox
extends Panel
implements MouseListener
Simple toolbox class, offers only basic functionality. It will evolve along with the interfaces HostCollector and ExtensionCollector, to provide a mechanism for composition of interchangable collectors (maybe even heirarchies of collectors).

See Also:
ToolIcon, HostCollector, ExtensionCollector

Constructor Index

 o Toolbox(int, String)

Method Index

 o addTool(Object, int, ToolIcon)
 o addTool(Object, ToolIcon)
 o getMaximumSize()
 o getMinimumSize()
 o getPreferredSize()
 o mouseClicked(MouseEvent)
mouseClicked method comment.
 o mouseEntered(MouseEvent)
mouseEntered method comment.
 o mouseExited(MouseEvent)
mouseExited method comment.
 o mousePressed(MouseEvent)
mousePressed method comment.
 o mouseReleased(MouseEvent)
mouseReleased method comment.
 o paint(Graphics)
 o reset()
 o setGraphDisplay(GraphDisplay)

Constructors

 o Toolbox
 public Toolbox(int columns,
                String name)

Methods

 o addTool
 public void addTool(Object o,
                     int modifier,
                     ToolIcon icon)
 o addTool
 public void addTool(Object o,
                     ToolIcon icon)
 o getMaximumSize
 public Dimension getMaximumSize()
Overrides:
getMaximumSize in class Container
 o getMinimumSize
 public Dimension getMinimumSize()
Overrides:
getMinimumSize in class Container
 o getPreferredSize
 public Dimension getPreferredSize()
Overrides:
getPreferredSize in class Container
 o mouseClicked
 public void mouseClicked(MouseEvent e)
mouseClicked method comment.

 o mouseEntered
 public void mouseEntered(MouseEvent e)
mouseEntered method comment.

 o mouseExited
 public void mouseExited(MouseEvent e)
mouseExited method comment.

 o mousePressed
 public void mousePressed(MouseEvent e)
mousePressed method comment.

 o mouseReleased
 public void mouseReleased(MouseEvent e)
mouseReleased method comment.

 o paint
 public void paint(Graphics g)
Overrides:
paint in class Container
 o reset
 public void reset()
 o setGraphDisplay
 public void setGraphDisplay(GraphDisplay graphDisplay)

All Packages  Class Hierarchy  This Package  Previous  Next  Index