Changed Methods |
void columnAdded(TableColumnModelEvent )
|
Documentation changed from old to new. |
Invoked when a column is added to the table column model. |
int columnAtPoint(Point )
|
Documentation changed from old to new. |
Returns the index of the column that point lies in or -1 if it lies out of bounds. |
void columnMarginChanged(ChangeEvent )
|
Documentation changed from old to new. |
Invoked when a column is moved due to a margin change. |
void columnMoved(TableColumnModelEvent )
|
Documentation changed from old to new. |
Invoked when a column is repositioned. |
void columnRemoved(TableColumnModelEvent )
|
Documentation changed from old to new. |
Invoked when a column is removed from the table column model. |
void columnSelectionChanged(ListSelectionEvent )
|
Documentation changed from old to new. |
Invoked when the selection model of the TableColumnModel is changed. |
TableColumnModel createDefaultColumnModel()
|
Documentation changed from old to new. |
Returns the default column model object which is a DefaultTableColumnModel . |
AccessibleContext getAccessibleContext()
|
Documentation changed from old to new. |
Gets the AccessibleContext associated with this JTableHeader. |
TableColumnModel getColumnModel()
|
Documentation changed from old to new. |
Returns the TableColumnModel that contains all column information of this table header. |
TableColumn getDraggedColumn()
|
Documentation changed from old to new. |
Returns the the dragged column if and only if a drag is in process otherwise returns null . |
int getDraggedDistance()
|
Documentation changed from old to new. |
Returns the column's horizontal distance from its original position if and only if a drag is in process. |
Rectangle getHeaderRect(int )
|
Documentation changed from old to new. |
Returns the rectangle containing the header tile at column . |
boolean getReorderingAllowed()
|
Documentation changed from old to new. |
Returns true if the user is allowed to rearrange columns by dragging their headers false otherwise. |
boolean getResizingAllowed()
|
Documentation changed from old to new. |
Returns true if the user is allowed to resize columns by dragging between their headers false otherwise. |
TableColumn getResizingColumn()
|
Documentation changed from old to new. |
Returns the resizing column. |
JTable getTable()
|
Documentation changed from old to new. |
Returns the table associated with this header. |
TableHeaderUI getUI()
|
Documentation changed from old to new. |
Returns the look and feel (L&F) object that renders this component. |
String getUIClassID()
|
Documentation changed from old to new. |
Returns the suffix used to construct the name of the look and feel (L&F) class used to render this component. |
boolean getUpdateTableInRealTime()
|
Documentation changed from old to new. |
Obsolete as of Java 2 platform v1.3. |
void initializeLocalVars()
|
Documentation changed from old to new. |
Initializes the local variables and properties with default values. |
String paramString()
|
Documentation changed from old to new. |
Returns a string representation of this JTableHeader . |
void resizeAndRepaint()
|
Documentation changed from old to new. |
Sizes the header and marks it as needing display. |
void setColumnModel(TableColumnModel )
|
Documentation changed from old to new. |
Sets the column model for this table to newModel and registers for listener notifications from the new column model. |
void setDraggedColumn(TableColumn )
|
Documentation changed from old to new. |
Sets the header's draggedColumn to aColumn |
void setDraggedDistance(int )
|
Documentation changed from old to new. |
Sets the header's draggedDistance to distance . |
void setReorderingAllowed(boolean )
|
Documentation changed from old to new. |
Sets whether the user can drag column headers to reorder columns. |
void setResizingAllowed(boolean )
|
Documentation changed from old to new. |
Sets whether the user can resize columns by dragging between headers. |
void setResizingColumn(TableColumn )
|
Documentation changed from old to new. |
Sets the header's resizingColumn to aColumn . |
void setTable(JTable )
|
Documentation changed from old to new. |
Sets the table associated with this header. |
void setUpdateTableInRealTime(boolean )
|
Documentation changed from old to new. |
Obsolete as of Java 2 platform v1.3. |
void updateUI()
|
Documentation changed from old to new. |
Notification from the UIManager that the look and feel (L&F) has changed. |
String getToolTipText(MouseEvent )
|
Documentation changed from old to new. |
Allows the renderer's tips to be used if there is text set. |
void setUI(TableHeaderUI )
|
Documentation changed from old to new. |
Sets the look and feel (L&F) object that renders this component. |