Basics
Guides
API Reference
Basics
Guides
API Reference
[18:7] extends: FxObj
TableColumnBase wraps javafx.scene.control.TableColumnBase, the shared base of every table column type. It holds the configuration common to both TableColumn (for TableView) and TreeTableColumn (for TreeTableView): the header text, sortability, sizing, visibility, editability, graphic, and style. This class is not created directly. Instantiate a TableColumn (or, for a tree table, a TreeTableColumn) instead; both inherit everything here.
setText (Text)
Sets the column header text. Pass null for a graphic-only header.
Text is the header string, or null.this object for chaining.getText ()
Returns the column header text.
The header string, or null.textProperty ()
Returns the text StringProperty for binding.
An AJO around the StringProperty.setSortable (bool Value)
Sets whether the column can be sorted by the user.
Value is true to allow sorting.this object for chaining.isSortable ()
Returns whether the column can be sorted.
A bool, true when sortable.sortableProperty ()
Returns the sortable BooleanProperty for binding.
An AJO around the BooleanProperty.setComparator (callback Cmp)
Sets the comparator used to order values in this column.
Cmp is a callback receiving two cell values and returning a negative, zero, or positive int like a Java Comparator.this object for chaining.getComparator ()
Returns the comparator used to order this column.
An AJO around the Comparator.comparatorProperty ()
Returns the comparator ObjectProperty for binding.
An AJO around the ObjectProperty.setSortNode (Node)
Sets the node shown in the header to indicate sort order.
Node is a Node wrapper or AJO.this object for chaining.getSortNode ()
Returns the header sort-indicator node.
An AJO around the Node, or null.sortNodeProperty ()
Returns the sortNode ObjectProperty for binding.
An AJO around the ObjectProperty.setMinWidth (double Width)
Sets the minimum column width in pixels.
Width is the minimum width.this object for chaining.getMinWidth ()
Returns the minimum column width.
A double with the minimum width.setMaxWidth (double Width)
Sets the maximum column width in pixels.
Width is the maximum width.this object for chaining.getMaxWidth ()
Returns the maximum column width.
A double with the maximum width.setPrefWidth (double Width)
Sets the preferred column width in pixels.
Width is the preferred width.this object for chaining.getPrefWidth ()
Returns the preferred column width.
A double with the preferred width.getWidth ()
Returns the current rendered column width.
A double with the width.widthProperty ()
Returns the read-only width property for binding.
An AJO around the ReadOnlyDoubleProperty.setResizable (bool Value)
Sets whether the user can resize the column.
Value is true to allow resizing.this object for chaining.isResizable ()
Returns whether the column is resizable.
A bool, true when resizable.resizableProperty ()
Returns the resizable BooleanProperty for binding.
An AJO around the BooleanProperty.setVisible (bool Value)
Sets whether the column is visible.
Value is true to show the column.this object for chaining.isVisible ()
Returns whether the column is visible.
A bool, true when visible.visibleProperty ()
Returns the visible BooleanProperty for binding.
An AJO around the BooleanProperty.setReorderable (bool Value)
Sets whether the user can drag the column to a new position.
Value is true to allow reordering.this object for chaining.isReorderable ()
Returns whether the column can be reordered.
A bool, true when reorderable.reorderableProperty ()
Returns the reorderable BooleanProperty for binding.
An AJO around the BooleanProperty.setEditable (bool Value)
Sets whether cells in the column can be edited.
Value is true to allow editing.this object for chaining.isEditable ()
Returns whether cells in the column can be edited.
A bool, true when editable.editableProperty ()
Returns the editable BooleanProperty for binding.
An AJO around the BooleanProperty.setGraphic (Node)
Sets the graphic node shown in the column header.
Node is a Node wrapper or AJO.this object for chaining.getGraphic ()
Returns the column header graphic node.
An AJO around the Node, or null.graphicProperty ()
Returns the graphic ObjectProperty for binding.
An AJO around the ObjectProperty.setContextMenu (Menu)
Sets the context menu shown when the header is right-clicked.
Menu is a ContextMenu wrapper or AJO.this object for chaining.getContextMenu ()
Returns the header context menu.
An AJO around the ContextMenu, or null.contextMenuProperty ()
Returns the contextMenu ObjectProperty for binding.
An AJO around the ObjectProperty.setId (string Id)
Sets the CSS id of the column.
Id is the id string.this object for chaining.getId ()
Returns the CSS id of the column.
The id string, or null.idProperty ()
Returns the id StringProperty for binding.
An AJO around the StringProperty.setStyle (string Style)
Sets an inline CSS style string on the column.
Style is the CSS style string.this object for chaining.getStyle ()
Returns the inline CSS style string.
The style string.styleProperty ()
Returns the style StringProperty for binding.
An AJO around the StringProperty.setUserData (Value)
Stores an arbitrary value against the column.
Value is the value to store.this object for chaining.getUserData ()
Returns the stored user data value.
The stored value, or null.getColumns ()
Returns the nested child columns of this column.
A list of child-column AJOs (empty when there are none).getParentColumn ()
Returns the parent column when this column is nested, else null.
An AJO around the parent TableColumnBase, or null.parentColumnProperty ()
Returns the parentColumn ReadOnlyObjectProperty for binding.
An AJO around the ReadOnlyObjectProperty.getCellData (int Index)
Returns the value shown in this column for the row at the given index.
Index is the row index.The cell value.getCellObservableValue (int Index)
Returns the ObservableValue backing this column for the row at the given index.
Index is the row index.An AJO around the ObservableValue.addEventHandler (EventType, callback Handler)
Registers an event handler for the given event type on this column.
EventType is an AJO around the javafx EventType to listen for.Handler is a callback receiving the event.this object for chaining.removeEventHandler (EventType, Handler)
Removes a previously registered event handler.
EventType is an AJO around the javafx EventType.Handler is the AJO handler returned when it was added.this object for chaining.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.