Liking cljdoc? Tell your friends :D

retroact.swing.jtable


create-jtableclj

(create-jtable {:keys [view]})

get-table-headerclj

(get-table-header c ctx)

safe-table-model-setclj

(safe-table-model-set table f attribute)

safe-table-setclj

(safe-table-set table f attribute)

set-column-selection-allowedclj

(set-column-selection-allowed c ctx column-selection-allowed)

set-editing-cellclj

(set-editing-cell c ctx editing-cell)

Set the editing cell for a JTable. Accepts [row col] or nil to stop editing. This will call editCellAt on the JTable to start editing the specified cell.

Set the editing cell for a JTable. Accepts [row col] or nil to stop editing.
This will call editCellAt on the JTable to start editing the specified cell.
raw docstring

set-row-selection-allowedclj

(set-row-selection-allowed c ctx row-selection-allowed)

set-table-auto-resize-modeclj

(set-table-auto-resize-mode c ctx mode)

Set JTable auto-resize mode. Accepts JTable/AUTO_RESIZE_ constants.

Set JTable auto-resize mode. Accepts JTable/AUTO_RESIZE_ constants.
raw docstring

set-table-columnsclj

(set-table-columns c ctx columns)

set-table-get-item-at-fnclj

(set-table-get-item-at-fn c ctx table-get-item-at-fn)

set-table-headerclj

(set-table-header c ctx table-header)

This is a "component" setter. It takes an actual JTableHeader.

This is a "component" setter. It takes an actual JTableHeader.
raw docstring

set-table-intercell-spacingclj

(set-table-intercell-spacing c ctx spacing)

Set JTable intercell spacing. Accepts one or two integers:

  • single integer N: applies to both horizontal and vertical spacing
  • two integers [h v]: horizontal then vertical spacing
Set JTable intercell spacing.
Accepts one or two integers:
- single integer N: applies to both horizontal and vertical spacing
- two integers [h v]: horizontal then vertical spacing
raw docstring

set-table-render-fnclj

(set-table-render-fn c ctx table-render-fn)

Set the render function for a JTable. This function customizes how cells are rendered. Analogous to :tree-render-fn for JTree.

Set the render function for a JTable. This function customizes how cells are rendered.
Analogous to :tree-render-fn for JTree.
raw docstring

set-table-selection-fnclj

(set-table-selection-fn c ctx table-selection-fn)

Set the selection function for a JTable. This function will be called when table selection changes. Analogous to :tree-selection-fn for JTree.

Set the selection function for a JTable. This function will be called when table selection changes.
Analogous to :tree-selection-fn for JTree.
raw docstring

set-table-set-value-at-fnclj

(set-table-set-value-at-fn c ctx set-value-at-fn)

Set the function that handles cell value changes when cells are edited. This provides a way to handle cell editing events.

Set the function that handles cell value changes when cells are edited.
This provides a way to handle cell editing events.
raw docstring

set-table-sortclj

(set-table-sort c ctx sort-spec)

Configure sorting on a JTable using TableRowSorter. Accepts either a single pair [col order] or a sequence of such pairs. order may be a javax.swing.SortOrder or a keyword one of :asc/:ascending, :desc/:descending, or :unsorted.

Examples: {:table-sort [0 SortOrder/ASCENDING]} {:table-sort [[2 :desc] [0 :asc]]} ;; secondary sort Passing nil clears sorting.

Configure sorting on a JTable using TableRowSorter.
Accepts either a single pair [col order] or a sequence of such pairs.
`order` may be a javax.swing.SortOrder or a keyword one of
:asc/:ascending, :desc/:descending, or :unsorted.

Examples:
  {:table-sort [0 SortOrder/ASCENDING]}
  {:table-sort [[2 :desc] [0 :asc]]} ;; secondary sort
Passing nil clears sorting.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close