org.jscience.architecture.traffic.tools
Class LaneTool

java.lang.Object
  extended by org.jscience.architecture.traffic.tools.PopupMenuTool
      extended by org.jscience.architecture.traffic.tools.LaneTool
All Implemented Interfaces:
Overlay, Tool

public class LaneTool
extends PopupMenuTool

This tool implements the LaneAction


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jscience.architecture.traffic.tools.Tool
Tool.Mask
 
Field Summary
protected  LaneAction la
          DOCUMENT ME!
 
Fields inherited from class org.jscience.architecture.traffic.tools.PopupMenuTool
pma
 
Constructor Summary
LaneTool(EditController c)
          Creates a new LaneTool object.
 
Method Summary
 java.awt.Panel getPanel()
          DOCUMENT ME!
 void mouseMoved(View view, java.awt.Point p, Tool.Mask mask)
          DOCUMENT ME!
 void mousePressed(View view, java.awt.Point p, Tool.Mask mask)
          DOCUMENT ME!
 void mouseReleased(View view, java.awt.Point p, Tool.Mask mask)
          DOCUMENT ME!
 int overlayType()
          DOCUMENT ME!
 void paint(java.awt.Graphics g)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.architecture.traffic.tools.PopupMenuTool
getPopupMenuAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

la

protected LaneAction la
DOCUMENT ME!

Constructor Detail

LaneTool

public LaneTool(EditController c)
Creates a new LaneTool object.

Parameters:
c - DOCUMENT ME!
Method Detail

mousePressed

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

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

mouseReleased

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

Parameters:
view - DOCUMENT ME!
p - DOCUMENT ME!
mask - DOCUMENT ME!

mouseMoved

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

Parameters:
view - DOCUMENT ME!
p - DOCUMENT ME!
mask - DOCUMENT ME!

overlayType

public int overlayType()
DOCUMENT ME!

Returns:
DOCUMENT ME!

paint

public void paint(java.awt.Graphics g)
           throws TrafficException
DOCUMENT ME!

Parameters:
g - DOCUMENT ME!
Throws:
TrafficException - DOCUMENT ME!

getPanel

public java.awt.Panel getPanel()
DOCUMENT ME!

Returns:
DOCUMENT ME!