org.jhotdraw.gui.plaf.palette
Class PaletteToolBarUI.Handler

java.lang.Object
  extended by org.jhotdraw.gui.plaf.palette.PaletteToolBarUI.Handler
All Implemented Interfaces:
java.awt.event.ContainerListener, java.awt.event.FocusListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.beans.PropertyChangeListener, java.util.EventListener, javax.swing.event.MouseInputListener
Enclosing class:
PaletteToolBarUI

private class PaletteToolBarUI.Handler
extends java.lang.Object
implements java.awt.event.ContainerListener, java.awt.event.FocusListener, javax.swing.event.MouseInputListener, java.beans.PropertyChangeListener


Field Summary
(package private)  boolean isArmed
           
(package private)  boolean isDragging
           
(package private)  java.awt.Point origin
           
(package private)  javax.swing.JToolBar tb
           
 
Constructor Summary
private PaletteToolBarUI.Handler()
           
 
Method Summary
 void componentAdded(java.awt.event.ContainerEvent evt)
           
 void componentRemoved(java.awt.event.ContainerEvent evt)
           
 void focusGained(java.awt.event.FocusEvent evt)
           
 void focusLost(java.awt.event.FocusEvent evt)
           
 void mouseClicked(java.awt.event.MouseEvent evt)
           
 void mouseDragged(java.awt.event.MouseEvent evt)
           
 void mouseEntered(java.awt.event.MouseEvent evt)
           
 void mouseExited(java.awt.event.MouseEvent evt)
           
 void mouseMoved(java.awt.event.MouseEvent evt)
           
 void mousePressed(java.awt.event.MouseEvent evt)
           
 void mouseReleased(java.awt.event.MouseEvent evt)
           
 void propertyChange(java.beans.PropertyChangeEvent evt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tb

javax.swing.JToolBar tb

isDragging

boolean isDragging

origin

java.awt.Point origin

isArmed

boolean isArmed
Constructor Detail

PaletteToolBarUI.Handler

private PaletteToolBarUI.Handler()
Method Detail

componentAdded

public void componentAdded(java.awt.event.ContainerEvent evt)
Specified by:
componentAdded in interface java.awt.event.ContainerListener

componentRemoved

public void componentRemoved(java.awt.event.ContainerEvent evt)
Specified by:
componentRemoved in interface java.awt.event.ContainerListener

focusGained

public void focusGained(java.awt.event.FocusEvent evt)
Specified by:
focusGained in interface java.awt.event.FocusListener

focusLost

public void focusLost(java.awt.event.FocusEvent evt)
Specified by:
focusLost in interface java.awt.event.FocusListener

mousePressed

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

mouseReleased

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

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent evt)
Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent evt)
Specified by:
mouseClicked in interface java.awt.event.MouseListener

mouseEntered

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

mouseExited

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

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent evt)
Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent evt)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener