com.alee.utils.swing
Class EmptyMouseAdapter

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by com.alee.utils.swing.EmptyMouseAdapter
All Implemented Interfaces:
java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener

public class EmptyMouseAdapter
extends java.awt.event.MouseAdapter

This class provides an empty mouse adapter. It can be used in case you need to block various mouse events from passing to underlying components.

Author:
Mikle Garin

Constructor Summary
EmptyMouseAdapter()
           
 
Method Summary
static void install(java.awt.Component component)
          Installs an empty mouse adapter into the specified component.
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyMouseAdapter

public EmptyMouseAdapter()
Method Detail

install

public static void install(java.awt.Component component)
Installs an empty mouse adapter into the specified component.

Parameters:
component - component to process