| Modifier and Type | Field and Description |
|---|---|
| private final EventHandler | cancelDrag
When a dragging event to reorder columns starts, reordering is set to true. |
| private final InvalidationListener | columnFixingEnabledHeaderListener
When columnFixingEnabled property changes, we need to update the header style of the fixed columns |
| pack-priv final TableView2 | |
| private final Pane | |
| private final StackPane | |
| private final Region | |
| private static final String | |
| private final ListChangeListener | fixedColumnsListener
When we fix/unfix some columns, we change the style of the Label header text |
| private final NestedTableColumnHeader | |
| private static final String | |
| private TableColumnHeader | |
| private NestedTableColumnHeader2 | |
| private final InvalidationListener | rowHeaderListener
Whether the Row Header is showing, we need to update the width because some space on the left will be available/used. |
| private double | |
| private static final String | |
| protected BitSet | selectedColumns
When the columns header are clicked, we consider the column as selected. |
| private final InvalidationListener | selectionListener
When we select some cells, we want the header to be highlighted |
| pack-priv final TableView2Skin | |
| private final SouthTableHeaderRow | |
| private double | |
| private final List | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | addStyleHeader(TableColumnHeader header, String style)
Add the fix style of the header Label of the specified column |
| private void | |
| private void | |
| pack-priv void | |
| protected double | computePrefHeight(double width)
Overrides javafx. Computes the preferred height of this region for the given width; Region subclasses should override this method to return an appropriate value based on their content and layout strategy. |
| protected NestedTableColumnHeader | createRootHeader()
Overrides javafx. Creates a new NestedTableColumnHeader instance. |
| private void | |
| public TableColumnHeader | getReorderingRegion()
Overrides javafx. Returns the current |
| public SouthTableHeaderRow | |
| public void | |
| protected void | layoutChildren()
Overrides javafx. Invoked during the layout pass to layout the children in this
|
| private void | removeStyleHeader(TableColumnHeader header, String style)
Remove the fix style of the header Label of the specified column |
| private void | |
| public void | setReorderingRegion(TableColumnHeader reorderingRegion)
Overrides javafx. Sets the |
| private void | |
| private void | |
| private void | |
| private void | |
| protected void | updateScrollX()
Overrides javafx. Called whenever the value of the horizontal scrollbar changes in order to request layout changes, shifting the
|
| protected void | updateTableWidth()
Overrides javafx. Updates the table width when a resize operation occurs. |
| protected void | |
| private void |
| cancelDrag | back to summary |
|---|---|
| private final EventHandler<KeyEvent> cancelDrag When a dragging event to reorder columns starts, reordering is set to true. If ESC is pressed, the event can be cancelled, by setting reordering to false and setting the column to not reorderable. | |
| columnFixingEnabledHeaderListener | back to summary |
|---|---|
| private final InvalidationListener columnFixingEnabledHeaderListener When columnFixingEnabled property changes, we need to update the header style of the fixed columns | |
| control | back to summary |
|---|---|
| pack-priv final TableView2<?> control | |
| cornerRegion | back to summary |
|---|---|
| private final Pane cornerRegion Hides javafx. | |
| dragHeader | back to summary |
|---|---|
| private final StackPane dragHeader | |
| filler | back to summary |
|---|---|
| private final Region filler | |
| FIXED_STYLE | back to summary |
|---|---|
| private static final String FIXED_STYLE | |
| fixedColumnsListener | back to summary |
|---|---|
| private final ListChangeListener<TableColumn<S, T>> fixedColumnsListener When we fix/unfix some columns, we change the style of the Label header text | |
| header | back to summary |
|---|---|
| private final NestedTableColumnHeader header | |
| LEAF_STYLE | back to summary |
|---|---|
| private static final String LEAF_STYLE | |
| reorderingRegion | back to summary |
|---|---|
| private TableColumnHeader reorderingRegion Hides javafx. | |
| rootHeader2 | back to summary |
|---|---|
| private NestedTableColumnHeader2 rootHeader2 | |
| rowHeaderListener | back to summary |
|---|---|
| private final InvalidationListener rowHeaderListener Whether the Row Header is showing, we need to update the width because some space on the left will be available/used. | |
| scrollX | back to summary |
|---|---|
| private double scrollX | |
| SELECTED_STYLE | back to summary |
|---|---|
| private static final String SELECTED_STYLE | |
| selectedColumns | back to summary |
|---|---|
| protected BitSet selectedColumns When the columns header are clicked, we consider the column as selected. This BitSet is reset when a modification on cells is done. | |
| selectionListener | back to summary |
|---|---|
| private final InvalidationListener selectionListener When we select some cells, we want the header to be highlighted | |
| skin | back to summary |
|---|---|
| pack-priv final TableView2Skin<?> skin | |
| southHeaderRow | back to summary |
|---|---|
| private final SouthTableHeaderRow southHeaderRow | |
| tableWidth | back to summary |
|---|---|
| private double tableWidth | |
| visibleLeafHeaders | back to summary |
|---|---|
| private final List<TableColumnHeader> visibleLeafHeaders | |
| working | back to summary |
|---|---|
| private boolean working | |
| TableHeaderRow2 | back to summary |
|---|---|
public TableHeaderRow2(final TableView2Skin<?> skin)
| |
| addStyleHeader | back to summary |
|---|---|
| private void addStyleHeader(TableColumnHeader header, String style) Add the fix style of the header Label of the specified column | |
| addStyleSouthHeader | back to summary |
|---|---|
| private void addStyleSouthHeader(TableColumn<?, ?> column, String style) | |
| buildVisibleLeafColumnHeaders | back to summary |
|---|---|
| private void buildVisibleLeafColumnHeaders(List<TableColumnHeader> colHeaders, List<TableColumnHeader> vlch) | |
| clearSelectedColumns | back to summary |
|---|---|
| pack-priv void clearSelectedColumns() | |
| computePrefHeight | back to summary |
|---|---|
| protected double computePrefHeight(double width) Overrides javafx. Doc from javafx. Computes the preferred height of this region for the given width; Region subclasses should override this method to return an appropriate value based on their content and layout strategy. If the subclass doesn't have a HORIZONTAL content bias, then the width parameter can be ignored.
| |
| createRootHeader | back to summary |
|---|---|
| protected NestedTableColumnHeader createRootHeader() Overrides javafx. Doc from javafx. Creates a new NestedTableColumnHeader instance. By default this method should not be overridden, but in some circumstances it makes sense (e.g. testing, or when extreme customization is desired).
| |
| fixColumnStyle | back to summary |
|---|---|
| private void fixColumnStyle(TableColumn<S, T> column) Fix this column regarding the style | |
| getReorderingRegion | back to summary |
|---|---|
| public TableColumnHeader getReorderingRegion() Overrides javafx. Doc from javafx. Returns the current
| |
| getSouthHeaderRow | back to summary |
|---|---|
| public SouthTableHeaderRow getSouthHeaderRow() | |
| init | back to summary |
|---|---|
| public void init() Public API | |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren() Overrides javafx. Doc from javafx. Invoked during the layout pass to layout the children in this
Subclasses should override this function to layout content as needed.
| |
| removeStyleHeader | back to summary |
|---|---|
| private void removeStyleHeader(TableColumnHeader header, String style) Remove the fix style of the header Label of the specified column | |
| removeStyleSouthHeader | back to summary |
|---|---|
| private void removeStyleSouthHeader(TableColumn<?, ?> column, String style) | |
| setReorderingRegion | back to summary |
|---|---|
| public void setReorderingRegion(TableColumnHeader reorderingRegion) Overrides javafx. Doc from javafx. Sets the
| |
| unfixColumnStyle | back to summary |
|---|---|
| private void unfixColumnStyle(TableColumn<S, T> column) Unfix this column regarding the style | |
| updateColumnHeaderVisibility | back to summary |
|---|---|
| private void updateColumnHeaderVisibility(boolean visible) | |
| updateFixedColumnsStyle | back to summary |
|---|---|
| private void updateFixedColumnsStyle() | |
| updateHighlightSelection | back to summary |
|---|---|
| private void updateHighlightSelection() Highlight the header Label when selection change. | |
| updateScrollX | back to summary |
|---|---|
| protected void updateScrollX() Overrides javafx. Doc from javafx. Called whenever the value of the horizontal scrollbar changes in order to request layout changes, shifting the
For example, if custom components are added around a
| |
| updateTableWidth | back to summary |
|---|---|
| protected void updateTableWidth() Overrides javafx. Doc from javafx. Updates the table width when a resize operation occurs. This method is called continuously when the control width
is resizing in order to properly clip this
Normally, the
| |
| updateVisibleLeafColumnHeaders | back to summary |
|---|---|
| protected void updateVisibleLeafColumnHeaders() | |
| updateVisibleLeafStyle | back to summary |
|---|---|
| private void updateVisibleLeafStyle() | |