Top Fields Constructors Methods
impl.org.controlsfx.tableview2

public Class SouthTableHeaderRow

extends Region
Class Inheritance
Imports
javafx.beans.InvalidationListener, .WeakInvalidationListener, javafx.collections.FXCollections, .ListChangeListener, .ObservableList, .WeakListChangeListener, javafx.scene.control.TableColumn, .TableColumnBase, javafx.scene.layout.Region, org.controlsfx.control.tableview2.TableView2, java.util.stream.Collectors

Field Summary

Modifier and TypeField and Description
private final TableView2<?>
private SouthTableHeaderRow
private final TableView2Skin<?>
public static final String
private ObservableList<SouthTableColumnHeader>
private final InvalidationListener
private final ListChangeListener<E>
private final WeakInvalidationListener
private final WeakListChangeListener<E>
Inherited from javafx.scene.layout.Region:
USE_COMPUTED_SIZEUSE_PREF_SIZE

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected double
computePrefHeight(double width)

Overrides javafx.scene.layout.Region.computePrefHeight.

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.

public SouthTableColumnHeader
public ObservableList<SouthTableColumnHeader>
getSouthColumnHeaders()

Returns: ObservableList

private void
init()

protected void
layoutChildren()

Overrides javafx.scene.Parent.layoutChildren.

Invoked during the layout pass to layout the children in this Parent.

protected void
private void
private void
updateSouthHeaders()

Private Implementation *

Inherited from javafx.scene.layout.Region:
backgroundPropertyborderPropertycacheShapePropertycenterShapePropertycomputeMaxHeightcomputeMaxWidthcomputeMinHeightcomputeMinWidthcomputePrefWidthgetBackgroundgetBordergetClassCssMetaDatagetCssMetaDatagetHeightgetInsetsgetMaxHeightgetMaxWidthgetMinHeightgetMinWidthgetOpaqueInsetsgetPaddinggetPrefHeightgetPrefWidthgetShapegetUserAgentStylesheetgetWidthheightPropertyinsetsPropertyisCacheShapeisCenterShapeisResizableisScaleShapeisSnapToPixellayoutInArealayoutInArealayoutInArealayoutInAreamaxHeightmaxHeightPropertymaxWidthmaxWidthPropertyminHeightminHeightPropertyminWidthminWidthPropertyopaqueInsetsPropertypaddingPropertypositionInAreapositionInAreaprefHeightprefHeightPropertyprefWidthprefWidthPropertyresizescaleShapePropertysetBackgroundsetBordersetCacheShapesetCenterShapesetHeightsetMaxHeightsetMaxSizesetMaxWidthsetMinHeightsetMinSizesetMinWidthsetOpaqueInsetssetPaddingsetPrefHeightsetPrefSizesetPrefWidthsetScaleShapesetShapesetSnapToPixelsetWidthshapePropertysnappedBottomInsetsnappedLeftInsetsnappedRightInsetsnappedTopInsetsnapPositionsnapPositionXsnapPositionYsnapSizesnapSizeXsnapSizeYsnapSpacesnapSpaceXsnapSpaceYsnapToPixelPropertywidthProperty

Field Detail

controlback to summary
private final TableView2<?> control
parentSouthHeaderback to summary
private SouthTableHeaderRow parentSouthHeader
skinback to summary
private final TableView2Skin<?> skin
SOUTH_HEADER_STYLEback to summary
public static final String SOUTH_HEADER_STYLE
southColumnHeadersback to summary
private ObservableList<SouthTableColumnHeader> southColumnHeaders
southHeaderBlendedListenerback to summary
private final InvalidationListener southHeaderBlendedListener
tableColumnsListenerback to summary
private final ListChangeListener<E> tableColumnsListener

Listeners *

weakSouthHeaderBlendedListenerback to summary
private final WeakInvalidationListener weakSouthHeaderBlendedListener
weakTableColumnsListenerback to summary
private final WeakListChangeListener<E> weakTableColumnsListener

Constructor Detail

SouthTableHeaderRowback to summary
public SouthTableHeaderRow(TableView2Skin<?> skin)

Method Detail

computePrefHeightback to summary
protected double computePrefHeight(double width)

Overrides javafx.scene.layout.Region.computePrefHeight.

Doc from javafx.scene.layout.Region.computePrefHeight.

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.

Annotations
@Override
getSouthColumnHeaderForback to summary
public SouthTableColumnHeader getSouthColumnHeaderFor(final TableColumnBase<?, ?> col)
getSouthColumnHeadersback to summary
public ObservableList<SouthTableColumnHeader> getSouthColumnHeaders()
Returns:ObservableList<SouthTableColumnHeader>

ObservableList

initback to summary
private void init()
layoutChildrenback to summary
protected void layoutChildren()

Overrides javafx.scene.Parent.layoutChildren.

Doc from javafx.scene.Parent.layoutChildren.

Invoked during the layout pass to layout the children in this Parent. By default it will only set the size of managed, resizable content to their preferred sizes and does not do any node positioning.

Subclasses should override this function to layout content as needed.

Annotations
@Override
updateScrollXback to summary
protected void updateScrollX()
updateSouthHeaderRowStyleback to summary
private void updateSouthHeaderRowStyle()
updateSouthHeadersback to summary
private void updateSouthHeaders()

Private Implementation *