public class WeakActiveViewerListener extends WeakListener<ActiveViewerListener> implements ActiveViewerListener
Constructor and Description |
---|
WeakActiveViewerListener(ActiveViewerListener listener) |
Modifier and Type | Method and Description |
---|---|
void |
activeViewerChanged(ViewerEvent event)
A property change of current active viewer has changed.
|
void |
removeListener(java.lang.Object source) |
void |
viewerActivated(Viewer viewer)
Viewer just get the active state.
|
void |
viewerDeactivated(Viewer viewer)
Viewer just lost the active state.
|
getListener, getListener
public WeakActiveViewerListener(ActiveViewerListener listener)
public void removeListener(java.lang.Object source)
removeListener
in class WeakListener<ActiveViewerListener>
public void viewerActivated(Viewer viewer)
ActiveViewerListener
ActiveViewerListener.viewerDeactivated(Viewer)
event describing
the viewer which actually lose activation.viewerActivated
in interface ActiveViewerListener
public void viewerDeactivated(Viewer viewer)
ActiveViewerListener
ActiveViewerListener.viewerActivated(Viewer)
event describing the
new activated viewer.viewerDeactivated
in interface ActiveViewerListener
public void activeViewerChanged(ViewerEvent event)
ActiveViewerListener
activeViewerChanged
in interface ActiveViewerListener