Class TableSelectionListener
java.lang.Object
table.TableSelectionListener
- All Implemented Interfaces:
EventListener, ListSelectionListener
an object that intercepts all selection events for a table
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidAdd this object to a JTableprotected abstract voidselectionChanged(JTable table, ListSelectionEvent e, int type) called whenever the table selection changesvoidfinal voidrow selection events
-
Field Details
-
TYPE_ROW
public static final int TYPE_ROW- See Also:
-
TYPE_COLUMN
public static final int TYPE_COLUMN- See Also:
-
table
-
-
Constructor Details
-
TableSelectionListener
public TableSelectionListener()
-
-
Method Details
-
valueChanged
row selection events- Specified by:
valueChangedin interfaceListSelectionListener
-
selectionChanged
called whenever the table selection changes -
install
Add this object to a JTable -
uninstall
public void uninstall() -
columnAdded
-
columnMarginChanged
-
columnMoved
-
columnRemoved
-