protected class JViewport.ViewListener extends ComponentAdapter implements Serializable
ComponentListener that listens for
changes of the view's size. This triggers a revalidate() call on the
viewport.| Modifier | Constructor and Description |
|---|---|
protected |
JViewport.ViewListener()
Creates a new instance of ViewListener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
componentResized(ComponentEvent ev)
Receives notification when a component (in this case: the view
component) changes it's size.
|
componentHidden, componentMoved, componentShownprotected JViewport.ViewListener()
public void componentResized(ComponentEvent ev)
componentResized in interface ComponentListenercomponentResized in class ComponentAdapterev - the ComponentEvent describing the change