|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VetoableTableColumnModel
VetoableTableColumnModel is an extension to TableColumnModel indicating the ability to stop ('veto') the addition, removal and moving of the table columns from occuring. This can be extremely useful sometimes, especially in cases where the user is reordering columns with the mouse. By default, in the TableLibrary API, the tables and headers use a VetoableTableColumnModel.
Method Summary | |
---|---|
void |
addVetoableColumnModelListener(VetoableTableColumnModelListener l)
Adds a listener that is notified when a table column is about to be added, moved or removed. |
void |
removeVetoableColumnModelListener(VetoableTableColumnModelListener l)
Removes a listener that is notified when a table column is about to be added, moved or removed. |
Methods inherited from interface javax.swing.table.TableColumnModel |
---|
addColumn, addColumnModelListener, getColumn, getColumnCount, getColumnIndex, getColumnIndexAtX, getColumnMargin, getColumns, getColumnSelectionAllowed, getSelectedColumnCount, getSelectedColumns, getSelectionModel, getTotalColumnWidth, moveColumn, removeColumn, removeColumnModelListener, setColumnMargin, setColumnSelectionAllowed, setSelectionModel |
Method Detail |
---|
void addVetoableColumnModelListener(VetoableTableColumnModelListener l)
l
- the listener to be addedvoid removeVetoableColumnModelListener(VetoableTableColumnModelListener l)
l
- the listener to be removed
|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |