KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > table > DefaultTableColumnModel

javax.swing.table
Class DefaultTableColumnModel

java.lang.Object
  extended by javax.swing.table.DefaultTableColumnModel
All Implemented Interfaces:
PropertyChangeListener, Serializable, EventListener, ListSelectionListener, TableColumnModel
See Also:
Top Examples, Source Code, XMLEncoder, JTable

public void addColumn(TableColumn aColumn)
See Also:
removeColumn(javax.swing.table.TableColumn), IllegalArgumentException, TableColumnModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void addColumnModelListener(TableColumnModelListener x)
See Also:
TableColumnModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected transient ChangeEvent changeEvent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int columnMargin
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean columnSelectionAllowed
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected ListSelectionModel createSelectionModel()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DefaultTableColumnModel()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireColumnAdded(TableColumnModelEvent e)
See Also:
EventListenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireColumnMarginChanged()
See Also:
EventListenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireColumnMoved(TableColumnModelEvent e)
See Also:
EventListenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireColumnRemoved(TableColumnModelEvent e)
See Also:
EventListenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireColumnSelectionChanged(ListSelectionEvent e)
See Also:
EventListenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public TableColumn getColumn(int columnIndex)
See Also:
TableColumnModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getColumnCount()
See Also:
getColumns(), TableColumnModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getColumnIndex(Object identifier)
See Also:
getColumn(int), IllegalArgumentException, TableColumnModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getColumnIndexAtX(int x)
See Also:
JTable.columnAtPoint(java.awt.Point), TableColumnModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getColumnMargin()
See Also:
setColumnMargin(int), TableColumnModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public TableColumnModelListener[] getColumnModelListeners()
See Also:
removeColumnModelListener(javax.swing.event.TableColumnModelListener), addColumnModelListener(javax.swing.event.TableColumnModelListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Enumeration<TableColumn> getColumns()
See Also:
TableColumnModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean getColumnSelectionAllowed()
See Also:
TableColumnModel.setColumnSelectionAllowed(boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public <T extends EventListener> T[] getListeners(Class<T> listenerType)
See Also:
getColumnModelListeners(), ClassCastException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getSelectedColumnCount()
See Also:
TableColumnModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int[] getSelectedColumns()
See Also:
TableColumnModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ListSelectionModel getSelectionModel()
See Also:
setSelectionModel(javax.swing.ListSelectionModel), TableColumnModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getTotalColumnWidth()
See Also:
TableColumnModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected EventListenerList listenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void moveColumn(int columnIndex,
                       int newIndex)
See Also:
IllegalArgumentException, TableColumnModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void propertyChange(PropertyChangeEvent evt)
See Also:
PropertyChangeListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void recalcWidthCache()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeColumn(TableColumn column)
See Also:
addColumn(javax.swing.table.TableColumn), TableColumnModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeColumnModelListener(TableColumnModelListener x)
See Also:
TableColumnModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected ListSelectionModel selectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setColumnMargin(int newMargin)
See Also:
getTotalColumnWidth(), getColumnMargin(), TableColumnModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setColumnSelectionAllowed(boolean flag)
See Also:
TableColumnModel.getColumnSelectionAllowed()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setSelectionModel(ListSelectionModel newModel)
See Also:
getSelectionModel(), IllegalArgumentException, TableColumnModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Vector<TableColumn> tableColumns
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int totalColumnWidth
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void valueChanged(ListSelectionEvent e)
See Also:
ListSelectionListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags