protected class JViewport.ViewListener extends java.awt.event.ComponentAdapter implements java.io.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(java.awt.event.ComponentEvent ev)
Receives notification when a component (in this case: the view
component) changes it's size.
|
protected JViewport.ViewListener()
public void componentResized(java.awt.event.ComponentEvent ev)
componentResized in interface java.awt.event.ComponentListenercomponentResized in class java.awt.event.ComponentAdapterev - the ComponentEvent describing the change