Liking cljdoc? Tell your friends :D

javax.swing.table.JTableHeader

This is the object which manages the header of the JTable.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

This is the object which manages the header of the JTable.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

->j-table-headerclj

(->j-table-header)
(->j-table-header cm)

Constructor.

Constructs a JTableHeader which is initialized with cm as the column model. If cm is null this method will initialize the table header with a default TableColumnModel.

cm - the column model for the table - javax.swing.table.TableColumnModel

Constructor.

Constructs a JTableHeader which is initialized with
  cm as the column model.  If cm is
  null this method will initialize the table header
  with a default TableColumnModel.

cm - the column model for the table - `javax.swing.table.TableColumnModel`
raw docstring

column-addedclj

(column-added this e)

Invoked when a column is added to the table column model.

Application code will not use these methods explicitly, they are used internally by JTable.

e - the event received - javax.swing.event.TableColumnModelEvent

Invoked when a column is added to the table column model.

 Application code will not use these methods explicitly, they
 are used internally by JTable.

e - the event received - `javax.swing.event.TableColumnModelEvent`
raw docstring

column-at-pointclj

(column-at-point this point)

Returns the index of the column that point lies in, or -1 if it lies out of bounds.

point - java.awt.Point

returns: the index of the column that point lies in, or -1 if it lies out of bounds - int

Returns the index of the column that point lies in, or -1 if it
 lies out of bounds.

point - `java.awt.Point`

returns: the index of the column that point lies in, or -1 if it
          lies out of bounds - `int`
raw docstring

column-margin-changedclj

(column-margin-changed this e)

Invoked when a column is moved due to a margin change.

Application code will not use these methods explicitly, they are used internally by JTable.

e - the event received - javax.swing.event.ChangeEvent

Invoked when a column is moved due to a margin change.

 Application code will not use these methods explicitly, they
 are used internally by JTable.

e - the event received - `javax.swing.event.ChangeEvent`
raw docstring

column-movedclj

(column-moved this e)

Invoked when a column is repositioned.

Application code will not use these methods explicitly, they are used internally by JTable.

e - the event received - javax.swing.event.TableColumnModelEvent

Invoked when a column is repositioned.

 Application code will not use these methods explicitly, they
 are used internally by JTable.

e - the event received - `javax.swing.event.TableColumnModelEvent`
raw docstring

column-removedclj

(column-removed this e)

Invoked when a column is removed from the table column model.

Application code will not use these methods explicitly, they are used internally by JTable.

e - the event received - javax.swing.event.TableColumnModelEvent

Invoked when a column is removed from the table column model.

 Application code will not use these methods explicitly, they
 are used internally by JTable.

e - the event received - `javax.swing.event.TableColumnModelEvent`
raw docstring

column-selection-changedclj

(column-selection-changed this e)

Invoked when the selection model of the TableColumnModel is changed. This method currently has no effect (the header is not redrawn).

Application code will not use these methods explicitly, they are used internally by JTable.

e - the event received - javax.swing.event.ListSelectionEvent

Invoked when the selection model of the TableColumnModel
 is changed.  This method currently has no effect (the header is not
 redrawn).

 Application code will not use these methods explicitly, they
 are used internally by JTable.

e - the event received - `javax.swing.event.ListSelectionEvent`
raw docstring

get-accessible-contextclj

(get-accessible-context this)

Gets the AccessibleContext associated with this JTableHeader. For JTableHeaders, the AccessibleContext takes the form of an AccessibleJTableHeader. A new AccessibleJTableHeader instance is created if necessary.

returns: an AccessibleJTableHeader that serves as the AccessibleContext of this JTableHeader - javax.accessibility.AccessibleContext

Gets the AccessibleContext associated with this JTableHeader.
 For JTableHeaders, the AccessibleContext takes the form of an
 AccessibleJTableHeader.
 A new AccessibleJTableHeader instance is created if necessary.

returns: an AccessibleJTableHeader that serves as the
         AccessibleContext of this JTableHeader - `javax.accessibility.AccessibleContext`
raw docstring

get-column-modelclj

(get-column-model this)

Returns the TableColumnModel that contains all column information of this table header.

returns: the columnModel property - javax.swing.table.TableColumnModel

Returns the TableColumnModel that contains all column information
 of this table header.

returns: the columnModel property - `javax.swing.table.TableColumnModel`
raw docstring

get-default-rendererclj

(get-default-renderer this)

Returns the default renderer used when no headerRenderer is defined by a TableColumn.

returns: the default renderer - javax.swing.table.TableCellRenderer

Returns the default renderer used when no headerRenderer
 is defined by a TableColumn.

returns: the default renderer - `javax.swing.table.TableCellRenderer`
raw docstring

get-dragged-columnclj

(get-dragged-column this)

Returns the the dragged column, if and only if, a drag is in process, otherwise returns null.

returns: the dragged column, if a drag is in process, otherwise returns null - javax.swing.table.TableColumn

Returns the the dragged column, if and only if, a drag is in
 process, otherwise returns null.

returns: the dragged column, if a drag is in
          process, otherwise returns null - `javax.swing.table.TableColumn`
raw docstring

get-dragged-distanceclj

(get-dragged-distance this)

Returns the column's horizontal distance from its original position, if and only if, a drag is in process. Otherwise, the the return value is meaningless.

returns: the column's horizontal distance from its original position, if a drag is in process, otherwise the return value is meaningless - int

Returns the column's horizontal distance from its original
 position, if and only if, a drag is in process. Otherwise, the
 the return value is meaningless.

returns: the column's horizontal distance from its original
          position, if a drag is in process, otherwise the return
          value is meaningless - `int`
raw docstring

get-header-rectclj

(get-header-rect this column)

Returns the rectangle containing the header tile at column. When the column parameter is out of bounds this method uses the same conventions as the JTable method getCellRect.

column - int

returns: the rectangle containing the header tile at column - java.awt.Rectangle

Returns the rectangle containing the header tile at column.
 When the column parameter is out of bounds this method uses the
 same conventions as the JTable method getCellRect.

column - `int`

returns: the rectangle containing the header tile at column - `java.awt.Rectangle`
raw docstring

get-reordering-allowed?clj

(get-reordering-allowed? this)

Returns true if the user is allowed to rearrange columns by dragging their headers, false otherwise. The default is true. You can rearrange columns programmatically regardless of this setting.

returns: the reorderingAllowed property - boolean

Returns true if the user is allowed to rearrange columns by
 dragging their headers, false otherwise. The default is true. You can
 rearrange columns programmatically regardless of this setting.

returns: the reorderingAllowed property - `boolean`
raw docstring

get-resizing-allowed?clj

(get-resizing-allowed? this)

Returns true if the user is allowed to resize columns by dragging between their headers, false otherwise. The default is true. You can resize columns programmatically regardless of this setting.

returns: the resizingAllowed property - boolean

Returns true if the user is allowed to resize columns by dragging
 between their headers, false otherwise. The default is true. You can
 resize columns programmatically regardless of this setting.

returns: the resizingAllowed property - `boolean`
raw docstring

get-resizing-columnclj

(get-resizing-column this)

Returns the resizing column. If no column is being resized this method returns null.

returns: the resizing column, if a resize is in process, otherwise returns null - javax.swing.table.TableColumn

Returns the resizing column.  If no column is being
 resized this method returns null.

returns: the resizing column, if a resize is in process, otherwise
          returns null - `javax.swing.table.TableColumn`
raw docstring

get-tableclj

(get-table this)

Returns the table associated with this header.

returns: the table property - javax.swing.JTable

Returns the table associated with this header.

returns: the table property - `javax.swing.JTable`
raw docstring

get-tool-tip-textclj

(get-tool-tip-text this event)

Allows the renderer's tips to be used if there is text set.

event - the location of the event identifies the proper renderer and, therefore, the proper tip - java.awt.event.MouseEvent

returns: the tool tip for this component - java.lang.String

Allows the renderer's tips to be used if there is text set.

event - the location of the event identifies the proper renderer and, therefore, the proper tip - `java.awt.event.MouseEvent`

returns: the tool tip for this component - `java.lang.String`
raw docstring

get-uiclj

(get-ui this)

Returns the look and feel (L&F) object that renders this component.

returns: the TableHeaderUI object that renders this component - javax.swing.plaf.TableHeaderUI

Returns the look and feel (L&F) object that renders this component.

returns: the TableHeaderUI object that renders this component - `javax.swing.plaf.TableHeaderUI`
raw docstring

get-ui-class-idclj

(get-ui-class-id this)

Returns the suffix used to construct the name of the look and feel (L&F) class used to render this component.

returns: the string "TableHeaderUI" - java.lang.String

Returns the suffix used to construct the name of the look and feel
 (L&F) class used to render this component.

returns: the string "TableHeaderUI" - `java.lang.String`
raw docstring

get-update-table-in-real-time?clj

(get-update-table-in-real-time? this)

Obsolete as of Java 2 platform v1.3. Real time repaints, in response to column dragging or resizing, are now unconditional.

returns: boolean

Obsolete as of Java 2 platform v1.3.  Real time repaints, in response to
 column dragging or resizing, are now unconditional.

returns: `boolean`
raw docstring

resize-and-repaintclj

(resize-and-repaint this)

Sizes the header and marks it as needing display. Equivalent to revalidate followed by repaint.

Sizes the header and marks it as needing display.  Equivalent
to revalidate followed by repaint.
raw docstring

set-column-modelclj

(set-column-model this column-model)

Sets the column model for this table to newModel and registers for listener notifications from the new column model.

column-model - the new data source for this table - javax.swing.table.TableColumnModel

throws: java.lang.IllegalArgumentException - if newModel is null

Sets the column model for this table to newModel and registers
  for listener notifications from the new column model.

column-model - the new data source for this table - `javax.swing.table.TableColumnModel`

throws: java.lang.IllegalArgumentException - if newModel is null
raw docstring

set-default-rendererclj

(set-default-renderer this default-renderer)

Sets the default renderer to be used when no headerRenderer is defined by a TableColumn.

default-renderer - the default renderer - javax.swing.table.TableCellRenderer

Sets the default renderer to be used when no headerRenderer
 is defined by a TableColumn.

default-renderer - the default renderer - `javax.swing.table.TableCellRenderer`
raw docstring

set-dragged-columnclj

(set-dragged-column this a-column)

Sets the header's draggedColumn to aColumn.

Application code will not use this method explicitly, it is used internally by the column dragging mechanism.

a-column - the column being dragged, or null if no column is being dragged - javax.swing.table.TableColumn

Sets the header's draggedColumn to aColumn.

  Application code will not use this method explicitly, it is used
  internally by the column dragging mechanism.

a-column - the column being dragged, or null if no column is being dragged - `javax.swing.table.TableColumn`
raw docstring

set-dragged-distanceclj

(set-dragged-distance this distance)

Sets the header's draggedDistance to distance.

distance - the distance dragged - int

Sets the header's draggedDistance to distance.

distance - the distance dragged - `int`
raw docstring

set-reordering-allowedclj

(set-reordering-allowed this reordering-allowed)

Sets whether the user can drag column headers to reorder columns.

reordering-allowed - true if the table view should allow reordering; otherwise false - boolean

Sets whether the user can drag column headers to reorder columns.

reordering-allowed - true if the table view should allow reordering; otherwise false - `boolean`
raw docstring

set-resizing-allowedclj

(set-resizing-allowed this resizing-allowed)

Sets whether the user can resize columns by dragging between headers.

resizing-allowed - true if table view should allow resizing - boolean

Sets whether the user can resize columns by dragging between headers.

resizing-allowed - true if table view should allow resizing - `boolean`
raw docstring

set-resizing-columnclj

(set-resizing-column this a-column)

Sets the header's resizingColumn to aColumn.

Application code will not use this method explicitly, it is used internally by the column sizing mechanism.

a-column - the column being resized, or null if no column is being resized - javax.swing.table.TableColumn

Sets the header's resizingColumn to aColumn.

  Application code will not use this method explicitly, it
  is used internally by the column sizing mechanism.

a-column - the column being resized, or null if no column is being resized - `javax.swing.table.TableColumn`
raw docstring

set-tableclj

(set-table this table)

Sets the table associated with this header.

table - the new table - javax.swing.JTable

Sets the table associated with this header.

table - the new table - `javax.swing.JTable`
raw docstring

set-uiclj

(set-ui this ui)

Sets the look and feel (L&F) object that renders this component.

ui - the TableHeaderUI L&F object - javax.swing.plaf.TableHeaderUI

Sets the look and feel (L&F) object that renders this component.

ui - the TableHeaderUI L&F object - `javax.swing.plaf.TableHeaderUI`
raw docstring

set-update-table-in-real-timeclj

(set-update-table-in-real-time this flag)

Obsolete as of Java 2 platform v1.3. Real time repaints, in response to column dragging or resizing, are now unconditional.

flag - boolean

Obsolete as of Java 2 platform v1.3.  Real time repaints, in response to
 column dragging or resizing, are now unconditional.

flag - `boolean`
raw docstring

update-uiclj

(update-ui this)

Notification from the UIManager that the look and feel (L&F) has changed. Replaces the current UI object with the latest version from the UIManager.

Notification from the UIManager that the look and feel
(L&F) has changed.
Replaces the current UI object with the latest version from the
UIManager.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close