public class DefaultStatusBar extends PixelInfoStatusBar implements ImageMouseMotionListener
label| Constructor and Description |
|---|
DefaultStatusBar() |
| Modifier and Type | Method and Description |
|---|---|
void |
mouseDragged(ImageMouseEvent e)
Invoked when the mouse is moved while a button is down.
|
void |
mouseEntered(ImageMouseEvent e)
Invoked when the mouse has entered the area of an image.
|
void |
mouseExited(ImageMouseEvent e)
Invoked when the mouse has left the area of an image.
|
void |
mouseMoved(ImageMouseEvent e)
Invoked when the mouse has entered a pixel of an image.
|
protected void |
register(ImageViewer viewer)
Called when this status bar is added to an image viewer.
|
protected void |
unregister(ImageViewer viewer)
Called when this status bar is removed from an image viewer.
|
getComponent, getModel, setModel, setPixel, update, updateLabel, updateLabelNoDatagetImageViewerpublic void mouseMoved(ImageMouseEvent e)
ImageMouseMotionListenermouseMoved in interface ImageMouseMotionListenere - the event object containing attributes of the eventpublic void mouseExited(ImageMouseEvent e)
ImageMouseMotionListenermouseExited in interface ImageMouseMotionListenere - the event object containing attributes of the eventpublic void mouseEntered(ImageMouseEvent e)
ImageMouseMotionListenermouseEntered in interface ImageMouseMotionListenere - the event object containing attributes of the eventpublic void mouseDragged(ImageMouseEvent e)
ImageMouseMotionListenermouseDragged in interface ImageMouseMotionListenere - the event object containing attributes of the eventprotected void register(ImageViewer viewer)
StatusBarregister in class PixelInfoStatusBarviewer - the new viewer associated with this status barprotected void unregister(ImageViewer viewer)
StatusBarunregister in class PixelInfoStatusBarviewer - the viewer that this status bar is removed fromCopyright © 2012. All Rights Reserved.