Class WeakTableColumnModelListener
java.lang.Object
uk.ac.starlink.util.gui.WeakTableColumnModelListener
- All Implemented Interfaces:
EventListener, TableColumnModelListener
Table column model listener which delegates to another one as long as it is
reachable, but only retains a weak reference to it.
Adding a listener to an object in this way will not prevent the listener
(and any of its references) from being garbage collected.
- Since:
- 20 Jan 2005
- Author:
- Mark Taylor
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new listener based on an existing one. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoid
-
Constructor Details
-
WeakTableColumnModelListener
Constructs a new listener based on an existing one.- Parameters:
base- listener
-
-
Method Details
-
columnAdded
- Specified by:
columnAddedin interfaceTableColumnModelListener
-
columnRemoved
- Specified by:
columnRemovedin interfaceTableColumnModelListener
-
columnMoved
- Specified by:
columnMovedin interfaceTableColumnModelListener
-
columnMarginChanged
- Specified by:
columnMarginChangedin interfaceTableColumnModelListener
-
columnSelectionChanged
- Specified by:
columnSelectionChangedin interfaceTableColumnModelListener
-