cometa.gui
Class PerturbateButtonMouseListener

java.lang.Object
  extended by cometa.gui.PerturbateButtonMouseListener
All Implemented Interfaces:
java.awt.event.MouseListener, java.io.Serializable, java.util.EventListener

public class PerturbateButtonMouseListener
extends java.lang.Object
implements java.awt.event.MouseListener, java.io.Serializable

A button listener that shows a dialog allowing to select a range of values for a given parameter. This listener can be serialized.

See Also:
Serialized Form

Constructor Summary
PerturbateButtonMouseListener(SimpleParam thisParam, javax.swing.JTextField fieldToDescativate)
          It creates a new instance of
 
Method Summary
 void mouseClicked(java.awt.event.MouseEvent e)
          Action performed when the mouse is clicked.
 void mouseEntered(java.awt.event.MouseEvent e)
           
 void mouseExited(java.awt.event.MouseEvent e)
           
 void mousePressed(java.awt.event.MouseEvent e)
           
 void mouseReleased(java.awt.event.MouseEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerturbateButtonMouseListener

public PerturbateButtonMouseListener(SimpleParam thisParam,
                                     javax.swing.JTextField fieldToDescativate)
It creates a new instance of
PerturbateButtonMouseListener
.

Parameters:
thisParam - The parameter to be perturbated.
fieldToDescativate - The text field to be desactivated (since the parameter has been perturabted).
Method Detail

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
Action performed when the mouse is clicked.

Specified by:
mouseClicked in interface java.awt.event.MouseListener
Parameters:
e - The event that triggers the call to this method.

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Specified by:
mouseReleased in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
Specified by:
mouseExited in interface java.awt.event.MouseListener