|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ViewListener
A listener interface for receiving events on views. A _view_ is any JComponent that contains a view into a Document. Typically, views might be opened, closed, iconified, and so on. Although there are various listeners in AWT and Swing that capture these events, they are all specific to certain widgets, whereas the ViewListener interface abstracts from specific widgets.
This interface is partly based on the Swing InternalFrameListener interface.
Method Summary | |
---|---|
void |
viewClosed(ViewEvent e)
Invoked when the view has been closed. |
void |
viewClosing(ViewEvent e)
Invoked when the view is about to be closed |
void |
viewDeselected(ViewEvent e)
Invoked when the view has been de-selected. |
void |
viewHidden(ViewEvent e)
Invoked when the view has been hidden. |
void |
viewMoved(ViewEvent e)
Invoked when the view moves |
void |
viewResized(ViewEvent e)
Invoked when the view was resized |
void |
viewSelected(ViewEvent e)
Invoked when the view has been selected. |
void |
viewShown(ViewEvent e)
Invoked when the view has been shown. |
Method Detail |
---|
void viewClosed(ViewEvent e)
void viewClosing(ViewEvent e)
void viewDeselected(ViewEvent e)
void viewHidden(ViewEvent e)
void viewMoved(ViewEvent e)
void viewResized(ViewEvent e)
void viewSelected(ViewEvent e)
void viewShown(ViewEvent e)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |