public abstract class StatusBar extends Object
| Constructor and Description |
|---|
StatusBar() |
| Modifier and Type | Method and Description |
|---|---|
abstract JComponent |
getComponent()
Returns the status bar component that can be added to the image viewer GUI.
|
ImageViewer |
getImageViewer()
Returns the image viewer that this status bar belongs to.
|
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.
|
public abstract JComponent getComponent()
public final ImageViewer getImageViewer()
null if there is noneprotected void register(ImageViewer viewer)
viewer - the new viewer associated with this status barprotected void unregister(ImageViewer viewer)
viewer - the viewer that this status bar is removed fromCopyright © 2012. All Rights Reserved.