bibliothek.gui.dock.station
Class FlapDockStation.ButtonListener

java.lang.Object
  extended by javax.swing.event.MouseInputAdapter
      extended by bibliothek.gui.dock.station.FlapDockStation.ButtonListener
All Implemented Interfaces:
java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener, javax.swing.event.MouseInputListener
Enclosing class:
FlapDockStation

private class FlapDockStation.ButtonListener
extends javax.swing.event.MouseInputAdapter

Listens to the buttons. If one button is pressed, the popup-window will be made visible.


Field Summary
private  Dockable dockable
          The Dockable whose button is observed by this listener.
 
Constructor Summary
FlapDockStation.ButtonListener(Dockable dockable)
          Constructs a new listener.
 
Method Summary
 void mousePressed(java.awt.event.MouseEvent e)
           
 
Methods inherited from class javax.swing.event.MouseInputAdapter
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dockable

private Dockable dockable
The Dockable whose button is observed by this listener.

Constructor Detail

FlapDockStation.ButtonListener

public FlapDockStation.ButtonListener(Dockable dockable)
Constructs a new listener.

Parameters:
dockable - the owner of the observed button
Method Detail

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Specified by:
mousePressed in interface java.awt.event.MouseListener
Overrides:
mousePressed in class javax.swing.event.MouseInputAdapter