Package net.hironico.common.swing.table
Class ResizeColumnListener
java.lang.Object
net.hironico.common.swing.table.ResizeColumnListener
- All Implemented Interfaces:
MouseListener,EventListener
Resize column listener is a MouseListener that catch double click on the edge of the column header
in order to triger an automatic resize of the table column regarding the header lable and the values
in the column.
-
Constructor Summary
ConstructorsConstructorDescriptionResizeColumnListener(JTable table) ResizeColumnListener(JTable table, TableColumnAdjuster tca) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoid
-
Constructor Details
-
ResizeColumnListener
-
ResizeColumnListener
-
-
Method Details
-
mouseClicked
- Specified by:
mouseClickedin interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
- Specified by:
mouseExitedin interfaceMouseListener
-
mousePressed
- Specified by:
mousePressedin interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener
-