TableViewSkinBase.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private Region | |
| private boolean | |
| pack-priv final LambdaMultiplePropertyChangeListenerHandler | |
| pack-priv int | |
| pack-priv Region | |
| private static final EventHandler | |
| pack-priv static final double | |
| pack-priv static final String | |
| private double | |
| pack-priv boolean | |
| private boolean | |
| private boolean | |
| pack-priv Label | |
| private static final EventHandler | |
| private static final EventHandler | |
| private static final EventHandler | |
| private NestedTableColumnHeader | |
| private int | |
| private NestedTableColumnHeader | |
| private static boolean | |
| private static final PseudoClass | |
| private DoubleProperty | |
| private Node | |
| private HBox | |
| private Label | |
| private ListChangeListener | |
| pack-priv int | |
| private ListChangeListener | |
| private ReadOnlyObjectWrapper | tableColumn
A property that refers to the |
| private TableHeaderRow | |
| private ListChangeListener | |
| private WeakListChangeListener | |
| private final WeakListChangeListener | |
| private final WeakListChangeListener |
| Access | Constructor and Description |
|---|---|
| public | TableColumnHeader(final TableColumnBase<S, T>
The table column to be visually represented by this instance. tc)Creates a new TableColumnHeader instance to visually represent the given
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| protected double | computeMinHeight(double width)
Overrides javafx. Computes the minimum height of this region. |
| 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 double | computePrefWidth(double height)
Overrides javafx. Computes the preferred width of this region for the given height. |
| private <T> TableRow | createMeasureRow(TableView<T> tv, TableViewSkinBase<M, S, C extends Control, I extends IndexedCell<M>, TC extends TableColumnBase<S, ?>> tableSkin, Callback<TableView<T>, TableRow<T>> rowFactory)
|
| private <T> TreeTableRow | createMeasureRow(TreeTableView<T> ttv, TableViewSkinBase<M, S, C extends Control, I extends IndexedCell<M>, TC extends TableColumnBase<S, ?>> tableSkin, Callback<TreeTableView<T>, TreeTableRow<T>> rowFactory)
|
| pack-priv void | |
| private void | |
| public static List | Returns: the CssMetaData associated with this class, which may include the CssMetaData of its superclassesHides javafx. Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses. |
| private ObservableList | |
| public List | getCssMetaData()
Overrides javafx. Implements javafx. This method should delegate to |
| pack-priv double | |
| private int | |
| pack-priv NestedTableColumnHeader | |
| pack-priv NestedTableColumnHeader | |
| private final double | |
| private int | |
| public final TableColumnBase | |
| protected TableHeaderRow | Returns: theTableHeaderRow associated with this TableColumnHeaderReturns the |
| protected TableViewSkinBase | Returns: theTableViewSkinBase in which this TableColumnHeader is inserted, or nullReturns the |
| private int | |
| private List | |
| pack-priv void | |
| private void | |
| pack-priv void | |
| private boolean | |
| private boolean | |
| protected void | layoutChildren()
Overrides javafx. Invoked during the layout pass to layout the children in this
|
| pack-priv void | |
| public Object | queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters)
Overrides javafx. This method is called by the assistive technology to request the value for an attribute. |
| pack-priv boolean | |
| protected void | resizeColumnToFitContent(int
the number of rows considered when resizing. If -1 is given, all rows are considered. maxRows)Resizes this |
| private <T, S> void | resizeColumnToFitContent(TableView<T> tv, TableColumn<T, S> tc, TableViewSkinBase<M, S, C extends Control, I extends IndexedCell<M>, TC extends TableColumnBase<S, ?>> tableSkin, int maxRows)
|
| private <T, S> void | resizeColumnToFitContent(TreeTableView<T> ttv, TreeTableColumn<T, S> tc, TableViewSkinBase<M, S, C extends Control, I extends IndexedCell<M>, TC extends TableColumnBase<S, ?>> tableSkin, int maxRows)
|
| pack-priv void | |
| pack-priv void | |
| private final void | |
| pack-priv void | |
| private final DoubleProperty | |
| private void | |
| public final ReadOnlyObjectProperty | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| arrow | back to summary |
|---|---|
| private Region arrow | |
| autoSizeComplete | back to summary |
|---|---|
| private boolean autoSizeComplete | |
| changeListenerHandler | back to summary |
|---|---|
| pack-priv final LambdaMultiplePropertyChangeListenerHandler changeListenerHandler | |
| columnIndex | back to summary |
|---|---|
| pack-priv int columnIndex | |
| columnReorderLine | back to summary |
|---|---|
| pack-priv Region columnReorderLine | |
| contextMenuRequestedHandler | back to summary |
|---|---|
| private static final EventHandler<ContextMenuEvent> contextMenuRequestedHandler | |
| DEFAULT_COLUMN_WIDTH | back to summary |
|---|---|
| pack-priv static final double DEFAULT_COLUMN_WIDTH | |
| DEFAULT_STYLE_CLASS | back to summary |
|---|---|
| pack-priv static final String DEFAULT_STYLE_CLASS | |
| dragOffset | back to summary |
|---|---|
| private double dragOffset | |
| isLastVisibleColumn | back to summary |
|---|---|
| pack-priv boolean isLastVisibleColumn | |
| isSizeDirty | back to summary |
|---|---|
| private boolean isSizeDirty | |
| isSortColumn | back to summary |
|---|---|
| private boolean isSortColumn | |
| label | back to summary |
|---|---|
| pack-priv Label label | |
| mouseDraggedHandler | back to summary |
|---|---|
| private static final EventHandler<MouseEvent> mouseDraggedHandler | |
| mousePressedHandler | back to summary |
|---|---|
| private static final EventHandler<MouseEvent> mousePressedHandler | |
| mouseReleasedHandler | back to summary |
|---|---|
| private static final EventHandler<MouseEvent> mouseReleasedHandler | |
| nestedColumnHeader | back to summary |
|---|---|
| private NestedTableColumnHeader nestedColumnHeader | |
| newColumnPos | back to summary |
|---|---|
| private int newColumnPos | |
| parentHeader | back to summary |
|---|---|
| private NestedTableColumnHeader parentHeader | |
| popupTriggeredOnMousePressed | back to summary |
|---|---|
| private static boolean popupTriggeredOnMousePressed | |
| PSEUDO_CLASS_LAST_VISIBLE | back to summary |
|---|---|
| private static final PseudoClass PSEUDO_CLASS_LAST_VISIBLE | |
| size | back to summary |
|---|---|
| private DoubleProperty size | |
| sortArrow | back to summary |
|---|---|
| private Node sortArrow | |
| sortOrderDots | back to summary |
|---|---|
| private HBox sortOrderDots | |
| sortOrderLabel | back to summary |
|---|---|
| private Label sortOrderLabel | |
| sortOrderListener | back to summary |
|---|---|
| private ListChangeListener<TableColumnBase<?, ?>> sortOrderListener | |
| sortPos | back to summary |
|---|---|
| pack-priv int sortPos | |
| styleClassListener | back to summary |
|---|---|
| private ListChangeListener<String> styleClassListener | |
| tableColumn | back to summary |
|---|---|
| private ReadOnlyObjectWrapper<TableColumnBase<?, ?>> tableColumn A property that refers to the | |
| tableHeaderRow | back to summary |
|---|---|
| private TableHeaderRow tableHeaderRow | |
| visibleLeafColumnsListener | back to summary |
|---|---|
| private ListChangeListener<TableColumnBase<?, ?>> visibleLeafColumnsListener | |
| weakSortOrderListener | back to summary |
|---|---|
| private WeakListChangeListener<TableColumnBase<?, ?>> weakSortOrderListener | |
| weakStyleClassListener | back to summary |
|---|---|
| private final WeakListChangeListener<String> weakStyleClassListener | |
| weakVisibleLeafColumnsListener | back to summary |
|---|---|
| private final WeakListChangeListener<TableColumnBase<?, ?>> weakVisibleLeafColumnsListener | |
| TableColumnHeader | back to summary |
|---|---|
| public TableColumnHeader(final TableColumnBase<S, T> tc) Creates a new TableColumnHeader instance to visually represent the given
| |
| columnReordering | back to summary |
|---|---|
| pack-priv void columnReordering(double sceneX, double sceneY) | |
| columnReorderingComplete | back to summary |
|---|---|
| pack-priv void columnReorderingComplete() | |
| columnReorderingStarted | back to summary |
|---|---|
| pack-priv void columnReorderingStarted(double dragOffset) | |
| computeMinHeight | back to summary |
|---|---|
| protected double computeMinHeight(double width) Overrides javafx. Doc from javafx. Computes the minimum height of this region. Returns the sum of the top and bottom insets by default. 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.
| |
| 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.
| |
| computePrefWidth | back to summary |
|---|---|
| protected double computePrefWidth(double height) Overrides javafx. Doc from javafx. Computes the preferred width of this region for the given height. 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 VERTICAL content bias, then the height parameter can be ignored.
| |
| createMeasureRow | back to summary |
|---|---|
| private <T> TableRow | |
| createMeasureRow | back to summary |
|---|---|
| private <T> TreeTableRow | |
| dispose | back to summary |
|---|---|
| pack-priv void dispose() | |
| doColumnAutoSize | back to summary |
|---|---|
| private void doColumnAutoSize(int cellsToMeasure) | |
| getClassCssMetaData | back to summary |
|---|---|
| public static List Hides javafx. Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses.
| |
| getColumns | back to summary |
|---|---|
| private ObservableList | |
| getCssMetaData | back to summary |
|---|---|
| public List Overrides javafx. Implements javafx. Doc from javafx. This method should delegate to
| |
| getDragRectHeight | back to summary |
|---|---|
| pack-priv double getDragRectHeight() | |
| getIndex | back to summary |
|---|---|
| private int getIndex(TableColumnBase<?, ?> column) | |
| getNestedColumnHeader | back to summary |
|---|---|
| pack-priv NestedTableColumnHeader getNestedColumnHeader() | |
| getParentHeader | back to summary |
|---|---|
| pack-priv NestedTableColumnHeader getParentHeader() | |
| getSize | back to summary |
|---|---|
| private final double getSize() | |
| getSortPosition | back to summary |
|---|---|
| private int getSortPosition() | |
| getTableColumn | back to summary |
|---|---|
| public final TableColumnBase | |
| getTableHeaderRow | back to summary |
|---|---|
| protected TableHeaderRow getTableHeaderRow() Returns the
| |
| getTableSkin | back to summary |
|---|---|
| protected TableViewSkinBase Returns the
| |
| getVisibleSortOrderColumnCount | back to summary |
|---|---|
| private int getVisibleSortOrderColumnCount() | |
| getVisibleSortOrderColumns | back to summary |
|---|---|
| private List | |
| initStyleClasses | back to summary |
|---|---|
| pack-priv void initStyleClasses() | |
| initUI | back to summary |
|---|---|
| private void initUI() | |
| installTableColumnStyleClassListener | back to summary |
|---|---|
| pack-priv void installTableColumnStyleClassListener() | |
| isColumnReorderingEnabled | back to summary |
|---|---|
| private boolean isColumnReorderingEnabled() | |
| isSortingEnabled | back to summary |
|---|---|
| private boolean isSortingEnabled() | |
| 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.
| |
| moveColumn | back to summary |
|---|---|
| pack-priv void moveColumn(TableColumnBase<S, T> column, final int newColumnPos) | |
| queryAccessibleAttribute | back to summary |
|---|---|
| public Object queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters) Overrides javafx. Doc from javafx. This method is called by the assistive technology to request the value for an attribute.
This method is commonly overridden by subclasses to implement
attributes that are required for a specific role.
| |
| represents | back to summary |
|---|---|
| pack-priv boolean represents(TableColumnBase<?, ?> column) | |
| resizeColumnToFitContent | back to summary |
|---|---|
| protected void resizeColumnToFitContent(int maxRows) Resizes this Implementation Specification The resulting column width for this implementation is the maximum of the preferred width of the header
cell and the preferred width of the first
Subclasses can either use this method or override it (without the need to call
| |
| resizeColumnToFitContent | back to summary |
|---|---|
| private <T, S> void resizeColumnToFitContent(TableView<T> tv, TableColumn<T, S> tc, TableViewSkinBase<M, S, C extends Control, I extends IndexedCell<M>, TC extends TableColumnBase<S, ?>> tableSkin, int maxRows) | |
| resizeColumnToFitContent | back to summary |
|---|---|
| private <T, S> void resizeColumnToFitContent(TreeTableView<T> ttv, TreeTableColumn<T, S> tc, TableViewSkinBase<M, S, C extends Control, I extends IndexedCell<M>, TC extends TableColumnBase<S, ?>> tableSkin, int maxRows) | |
| setNestedColumnHeader | back to summary |
|---|---|
| pack-priv void setNestedColumnHeader(NestedTableColumnHeader nch) | |
| setParentHeader | back to summary |
|---|---|
| pack-priv void setParentHeader(NestedTableColumnHeader ph) | |
| setTableColumn | back to summary |
|---|---|
| private final void setTableColumn(TableColumnBase<?, ?> column) | |
| setTableHeaderRow | back to summary |
|---|---|
| pack-priv void setTableHeaderRow(TableHeaderRow thr) | |
| sizeProperty | back to summary |
|---|---|
| private final DoubleProperty sizeProperty() | |
| sortColumn | back to summary |
|---|---|
| private void sortColumn(final boolean addColumn) | |
| tableColumnProperty | back to summary |
|---|---|
| public final ReadOnlyObjectProperty | |
| updateAllHeaders | back to summary |
|---|---|
| private void updateAllHeaders(TableColumnHeader header) | |
| updateColumnIndex | back to summary |
|---|---|
| private void updateColumnIndex() | |
| updateScene | back to summary |
|---|---|
| private void updateScene() | |
| updateSortGrid | back to summary |
|---|---|
| private void updateSortGrid() | |
| updateSortOrderDots | back to summary |
|---|---|
| private void updateSortOrderDots(int sortPos) | |
| updateSortPosition | back to summary |
|---|---|
| private void updateSortPosition() | |
| updateTableSkin | back to summary |
|---|---|
| private void updateTableSkin() | |
| Modifier and Type | Field and Description |
|---|---|
| private static final CssMetaData | |
| private static final List |
| Access | Constructor and Description |
|---|---|
| private |
| SIZE | back to summary |
|---|---|
| private static final CssMetaData<TableColumnHeader, Number> SIZE | |
| STYLEABLES | back to summary |
|---|---|
| private static final List<CssMetaData<? extends Styleable, ?>> STYLEABLES | |
| StyleableProperties | back to summary |
|---|---|
| private StyleableProperties() | |