org.jscience.architecture.traffic.tools
Class PopupMenuTool

java.lang.Object
  extended by org.jscience.architecture.traffic.tools.PopupMenuTool
All Implemented Interfaces:
Overlay, Tool
Direct Known Subclasses:
LaneTool, MoveTool, NodeTool, RoadTool, ScrollTool, SelectTool

public abstract class PopupMenuTool
extends java.lang.Object
implements Tool

This implements the right-click PopupMenu


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jscience.architecture.traffic.tools.Tool
Tool.Mask
 
Field Summary
protected  PopupMenuAction pma
          DOCUMENT ME!
 
Method Summary
 PopupMenuAction getPopupMenuAction()
          DOCUMENT ME!
 void mousePressed(View view, java.awt.Point p, Tool.Mask mask)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jscience.architecture.traffic.tools.Tool
getPanel, mouseMoved, mouseReleased
 
Methods inherited from interface org.jscience.architecture.traffic.Overlay
overlayType, paint
 

Field Detail

pma

protected PopupMenuAction pma
DOCUMENT ME!

Method Detail

getPopupMenuAction

public PopupMenuAction getPopupMenuAction()
DOCUMENT ME!

Returns:
DOCUMENT ME!

mousePressed

public void mousePressed(View view,
                         java.awt.Point p,
                         Tool.Mask mask)
DOCUMENT ME!

Specified by:
mousePressed in interface Tool
Parameters:
view - DOCUMENT ME!
p - DOCUMENT ME!
mask - DOCUMENT ME!