java.lang.Object
javafx.scene.control.SkinBase<C>
javafx.scene.control.skin.VirtualContainerBase<TreeView<T>,TreeCell<T>>
javafx.scene.control.skin.TreeViewSkin<T>
Default skin implementation for the 
TreeView control.- Since:
- 9
- See Also:
- TreeView
- 
Constructor SummaryConstructorsConstructorDescriptionTreeViewSkin(TreeView control)Creates a new TreeViewSkin instance, installing the necessary child nodes into the Controlchildrenlist, as well as the necessary input mappings for handling key, mouse, etc events.
- 
Method SummaryModifier and TypeMethodDescriptionprotected intReturns the total number of items in this container, including those that are currently hidden because they are out of view.protected voidThis method is called when it is possible that the item count has changed (i.e.Methods declared in class javafx.scene.control.skin.VirtualContainerBasecreateVirtualFlow, dispose, getVirtualFlow, markItemCountDirtyMethods declared in class javafx.scene.control.SkinBasecomputeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutChildren, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, registerInvalidationListener, registerListChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners, unregisterInvalidationListeners, unregisterListChangeListeners
- 
Constructor Details- 
TreeViewSkinCreates a new TreeViewSkin instance, installing the necessary child nodes into the Controlchildrenlist, as well as the necessary input mappings for handling key, mouse, etc events.- Parameters:
- control- The control that this skin should be installed onto.
 
 
- 
- 
Method Details- 
getItemCountprotected int getItemCount()Returns the total number of items in this container, including those that are currently hidden because they are out of view.- Specified by:
- getItemCountin class- VirtualContainerBase<TreeView<T>,TreeCell<T>>
- Returns:
- the total number of items in this container
 
- 
updateItemCountprotected void updateItemCount()This method is called when it is possible that the item count has changed (i.e. scrolling has occurred, the control has resized, etc). This method should recalculate the item count and store that for future use by theVirtualContainerBase.getItemCount()method.- Specified by:
- updateItemCountin class- VirtualContainerBase<TreeView<T>,TreeCell<T>>
 
 
-