br.usp.iterador.tool
Class RedrawTool

java.lang.Object
  extended by br.usp.iterador.tool.RedrawTool
All Implemented Interfaces:
Tool

public class RedrawTool
extends java.lang.Object
implements Tool

Redraws the image.

Author:
Guilherme Silveira

Constructor Summary
RedrawTool()
           
 
Method Summary
 void activate(Controller controller)
           
 void deactivate()
           
 javax.swing.Icon getIcon()
          Returns its icon
 java.lang.String getName()
           
 java.lang.String getTooltip()
           
 void mouseMoved(int x, int y)
          Does nothing
 void onClick(int pointX, int pointY)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedrawTool

public RedrawTool()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Tool

getTooltip

public java.lang.String getTooltip()

activate

public void activate(Controller controller)
Specified by:
activate in interface Tool

deactivate

public void deactivate()
Specified by:
deactivate in interface Tool

onClick

public void onClick(int pointX,
                    int pointY)
Specified by:
onClick in interface Tool

mouseMoved

public void mouseMoved(int x,
                       int y)
Does nothing

Specified by:
mouseMoved in interface Tool
Parameters:
x - x pos
y - y pos
See Also:
Tool.mouseMoved(int, int)

getIcon

public javax.swing.Icon getIcon()
Returns its icon

Specified by:
getIcon in interface Tool
Returns:
the icon
See Also:
Tool.getIcon()


Copyright 2004-2004-2006 IME - USP. All Rights Reserved.