KickJava   Java API By Example, From Geeks To Geeks.

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

javax.swing.table
Class JTableHeader

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.table.JTableHeader
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, TableColumnModelListener
See Also:
Top Examples, Source Code, XMLEncoder, JTable

public void columnAdded(TableColumnModelEvent e)
See Also:
TableColumnModelListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int columnAtPoint(Point point)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void columnMarginChanged(ChangeEvent e)
See Also:
TableColumnModelListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


public void columnMoved(TableColumnModelEvent e)
See Also:
TableColumnModelListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void columnRemoved(TableColumnModelEvent e)
See Also:
TableColumnModelListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


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


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


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


public AccessibleContext getAccessibleContext()
See Also:
JComponent, Accessible
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public TableColumnModel getColumnModel()
See Also:
setColumnModel(javax.swing.table.TableColumnModel)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


public TableColumn getDraggedColumn()
See Also:
getDraggedDistance()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


public Rectangle getHeaderRect(int column)
See Also:
JTable.getCellRect(int, int, boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean getReorderingAllowed()
See Also:
setReorderingAllowed(boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean getResizingAllowed()
See Also:
setResizingAllowed(boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


public String getToolTipText(MouseEvent event)
See Also:
JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


public String getUIClassID()
See Also:
UIDefaults.getUI(javax.swing.JComponent), JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


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


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


protected String paramString()
See Also:
JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


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


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


public void setColumnModel(TableColumnModel columnModel)
See Also:
getColumnModel(), IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setDefaultRenderer(TableCellRenderer defaultRenderer)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setDraggedColumn(TableColumn aColumn)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setDraggedDistance(int distance)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setReorderingAllowed(boolean reorderingAllowed)
See Also:
getReorderingAllowed()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[774]Can not disable the reordering of JTable Header
By Anonymous on 2004/10/24 07:08:23  Rate
table=new JTable ( model ) ; 
 table.getTableHeader (  ) .setReorderingAllowed ( false ) ; 
 is not working for disabling the reordering of JTable Header


public void setResizingAllowed(boolean resizingAllowed)
See Also:
getResizingAllowed()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setResizingColumn(TableColumn aColumn)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setTable(JTable table)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setUI(TableHeaderUI ui)
See Also:
UIDefaults.getUI(javax.swing.JComponent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setUpdateTableInRealTime(boolean flag)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


public void updateUI()
See Also:
JComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags