be.lassi.ui.util
Class ResizeHelper
java.lang.Object
be.lassi.ui.util.ResizeHelper
- All Implemented Interfaces:
- java.awt.event.ComponentListener, java.util.EventListener
public class ResizeHelper
- extends java.lang.Object
- implements java.awt.event.ComponentListener
Helps the JScrollPane in resizing the columns within the
table within the row headers viewport.
Constructor Summary |
ResizeHelper(javax.swing.JScrollPane scrollPane)
|
Method Summary |
void |
componentHidden(java.awt.event.ComponentEvent e)
A do-nothing implementation of a ComponentListener
interface method. |
void |
componentMoved(java.awt.event.ComponentEvent e)
A do-nothing implementation of a ComponentListener
interface method. |
void |
componentResized(java.awt.event.ComponentEvent e)
Implements the ComponentListener interface,
and communicates size changes to the JScrollPane . |
void |
componentShown(java.awt.event.ComponentEvent e)
A do-nothing implementation of a ComponentListener
interface method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResizeHelper
public ResizeHelper(javax.swing.JScrollPane scrollPane)
componentHidden
public void componentHidden(java.awt.event.ComponentEvent e)
- A do-nothing implementation of a
ComponentListener
interface method.
- Specified by:
componentHidden
in interface java.awt.event.ComponentListener
componentMoved
public void componentMoved(java.awt.event.ComponentEvent e)
- A do-nothing implementation of a
ComponentListener
interface method.
- Specified by:
componentMoved
in interface java.awt.event.ComponentListener
componentResized
public void componentResized(java.awt.event.ComponentEvent e)
- Implements the
ComponentListener
interface,
and communicates size changes to the JScrollPane
.
- Specified by:
componentResized
in interface java.awt.event.ComponentListener
componentShown
public void componentShown(java.awt.event.ComponentEvent e)
- A do-nothing implementation of a
ComponentListener
interface method.
- Specified by:
componentShown
in interface java.awt.event.ComponentListener