Package jadex.commons.gui.jtable
Interface IVisibilityTableColumnModel
- 
- All Known Implementing Classes:
- VisibilityTableColumnModel
 
 public interface IVisibilityTableColumnModelUser: Ruediger Leppin Date: 26.11.2003 Time: 01:52:25
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.swing.table.TableColumngetAllColumn(int columnIndex)Returns theTableColumnobject for the column atcolumnIndex.intgetAllColumnCount()Returns the number of columns in the model.intgetAllColumnIndex(java.lang.Object identifier)Returns the index of the first column in the table whose identifier is equal toidentifier, when compared usingequals.java.util.EnumerationgetAllColumns()Returns anEnumerationof all the columns in the model.booleanisColumnChangeable(javax.swing.table.TableColumn column)Checks whether the specified column can change visibility.booleanisColumnVisible(javax.swing.table.TableColumn aColumn)Checks whether the specified column is currently visible.voidsetAllColumnsVisible()Makes all columns in this model visiblevoidsetColumnChangeable(javax.swing.table.TableColumn column, boolean changeable)Sets whether this column can change visibility.voidsetColumnVisible(javax.swing.table.TableColumn column, boolean visible)Sets the visibility of the specified TableColumn.
 
- 
- 
- 
Method Detail- 
setColumnVisiblevoid setColumnVisible(javax.swing.table.TableColumn column, boolean visible)Sets the visibility of the specified TableColumn. The call is ignored if the TableColumn is not found in this column model or its visibility status did not change. This method posts acolumnAddedorcolumnRemovedevent to its listeners.- Parameters:
- column- the- TableColumn
- visible- its new visibility status
 
 - 
setAllColumnsVisiblevoid setAllColumnsVisible() Makes all columns in this model visible
 - 
isColumnVisibleboolean isColumnVisible(javax.swing.table.TableColumn aColumn) Checks whether the specified column is currently visible.- Parameters:
- aColumn- column to check
- Returns:
- visibility of specified column. false if there is no such column at all.
- See Also:
- setAllColumnsVisible(),- setColumnVisible(javax.swing.table.TableColumn, boolean)
 
 - 
getAllColumnsjava.util.Enumeration getAllColumns() Returns anEnumerationof all the columns in the model.
 - Returns:
- an Enumerationof all the columns in the model
 - 
getAllColumnCountint getAllColumnCount() Returns the number of columns in the model.
 - Returns:
- the number of columns in the model
 - 
getAllColumnIndexint getAllColumnIndex(java.lang.Object identifier) Returns the index of the first column in the table whose identifier is equal toidentifier, when compared usingequals.
 - Parameters:
- identifier- the identifier object
- Returns:
- the index of the first table column
                  whose identifier is equal to identifier
- Throws:
- java.lang.IllegalArgumentException- if- identifieris- null, or no- TableColumnhas this- identifier
- See Also:
- getAllColumn(int)
 - 
getAllColumnjavax.swing.table.TableColumn getAllColumn(int columnIndex) Returns theTableColumnobject for the column atcolumnIndex.
 - Parameters:
- columnIndex- the index of the desired column
- Returns:
- the TableColumnobject for the column atcolumnIndex
 - 
setColumnChangeablevoid setColumnChangeable(javax.swing.table.TableColumn column, boolean changeable)Sets whether this column can change visibility.- Parameters:
- column- the- TableColumn
- changeable- if true, changing visibility is allowed; otherwise false
 
 - 
isColumnChangeableboolean isColumnChangeable(javax.swing.table.TableColumn column) Checks whether the specified column can change visibility.- Parameters:
- column- column to check
- Returns:
- true if the column can change visibility; otherwise false
 
 
 
 
 
 
- 
 
-