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

Class Graph.MovementCollector

java.lang.Object
   |
   +----java.awt.Component
           |
           +----Graph.GraphEventsCollector
                   |
                   +----Graph.MovementCollector

public class MovementCollector
extends GraphEventsCollector
implements ExtensionCollector, KeyListener, MouseListener, MouseMotionListener
Movement Collector can be activated only on top of the Selection Collector (which serves as a host) and provides hashtables of the selected nodes/edges, to be moved by the Movement Collector. While Selection Collector, holds the data, and displays selection marks on the edges and nodes, Movement Collector accepts the events generated by the used and processes them.

See Also:
GraphDisplay, GraphEventsCollector, ExtensionCollector

Constructor Index

 o MovementCollector()

Method Index

 o calculateRect()
 o close()
 o drawMoved()
 o keyPressed(KeyEvent)
keyPressed method comment.
 o keyReleased(KeyEvent)
keyReleased method comment.
 o keyTyped(KeyEvent)
keyTyped method comment.
 o mouseClicked(MouseEvent)
mouseClicked method comment.
 o mouseDragged(MouseEvent)
mouseDragged method comment.
 o mouseEntered(MouseEvent)
mouseEntered method comment.
 o mouseExited(MouseEvent)
mouseExited method comment.
 o mouseMoved(MouseEvent)
mouseMoved method comment.
 o mousePressed(MouseEvent)
mousePressed method comment.
 o mouseReleased(MouseEvent)
mouseReleased method comment.
 o paint(Graphics)
 o setGraphDisplay(GraphDisplay)
 o setHostCollector(GraphEventsCollector)
 o update(Graphics)

Constructors

 o MovementCollector
 public MovementCollector()

Methods

 o calculateRect
 public void calculateRect()
 o close
 public void close()
Overrides:
close in class GraphEventsCollector
 o drawMoved
 public void drawMoved()
 o keyPressed
 public void keyPressed(KeyEvent e)
keyPressed method comment.

Overrides:
keyPressed in class GraphEventsCollector
 o keyReleased
 public void keyReleased(KeyEvent e)
keyReleased method comment.

Overrides:
keyReleased in class GraphEventsCollector
 o keyTyped
 public void keyTyped(KeyEvent e)
keyTyped method comment.

Overrides:
keyTyped in class GraphEventsCollector
 o mouseClicked
 public void mouseClicked(MouseEvent e)
mouseClicked method comment.

Overrides:
mouseClicked in class GraphEventsCollector
 o mouseDragged
 public void mouseDragged(MouseEvent e)
mouseDragged method comment.

Overrides:
mouseDragged in class GraphEventsCollector
 o mouseEntered
 public void mouseEntered(MouseEvent e)
mouseEntered method comment.

Overrides:
mouseEntered in class GraphEventsCollector
 o mouseExited
 public void mouseExited(MouseEvent e)
mouseExited method comment.

Overrides:
mouseExited in class GraphEventsCollector
 o mouseMoved
 public void mouseMoved(MouseEvent e)
mouseMoved method comment.

Overrides:
mouseMoved in class GraphEventsCollector
 o mousePressed
 public void mousePressed(MouseEvent e)
mousePressed method comment.

Overrides:
mousePressed in class GraphEventsCollector
 o mouseReleased
 public void mouseReleased(MouseEvent e)
mouseReleased method comment.

Overrides:
mouseReleased in class GraphEventsCollector
 o paint
 public void paint(Graphics g)
Overrides:
paint in class GraphEventsCollector
 o setGraphDisplay
 public void setGraphDisplay(GraphDisplay graphDisplay)
Overrides:
setGraphDisplay in class GraphEventsCollector
 o setHostCollector
 public void setHostCollector(GraphEventsCollector hostCollector)
 o update
 public void update(Graphics g)
Overrides:
update in class GraphEventsCollector

All Packages  Class Hierarchy  This Package  Previous  Next  Index