Module javafx.controls
Package javafx.scene.control.skin
Class TableRowSkinBase<T,C extends IndexedCell,R extends IndexedCell>
java.lang.Object
javafx.scene.control.SkinBase<C>
javafx.scene.control.skin.LabeledSkinBase<C>
javafx.scene.control.skin.CellSkinBase<C>
javafx.scene.control.skin.TableRowSkinBase<T,C,R>
- Type Parameters:
- T- The type of the cell (i.e. the generic type of the- IndexedCellsubclass).
- C- The cell type (e.g. TableRow or TreeTableRow)
- R- The type of cell that is contained within each row (e.g.- TableCellor- TreeTableCell).
- All Implemented Interfaces:
- Skin<C>
- Direct Known Subclasses:
- TableRowSkin,- TreeTableRowSkin
public abstract class TableRowSkinBase<T,C extends IndexedCell,R extends IndexedCell> extends CellSkinBase<C>
TableRowSkinBase is the base skin class used by controls such as
 
TableRow and TreeTableRow
 (the concrete classes are TableRowSkin and TreeTableRowSkin,
 respectively).- Since:
- 9
- See Also:
- TableRow,- TreeTableRow,- TableRowSkin,- TreeTableRowSkin
- 
Property SummaryProperties Type Property Description protected ObjectProperty<Node>graphicReturns the graphic to draw on the inside of the disclosure node.Properties declared in class javafx.scene.control.skin.CellSkinBasecellSize
- 
Constructor SummaryConstructors Constructor Description TableRowSkinBase(C control)Creates a new instance of TableRowSkinBase, although note that this instance does not handle any behavior / input mappings - this needs to be handled appropriately by subclasses.
- 
Method SummaryModifier and Type Method Description protected abstract RcreateCell(TableColumnBase<T,?> tc)Creates a new cell instance that is suitable for representing the given table column instance.protected abstract TableColumnBase<T,?>getTableColumn(R cell)Returns theTableColumnBaseinstance for the given cell instance.protected abstract ObservableList<? extends TableColumnBase>getVisibleLeafColumns()Returns an unmodifiable list containing the currently visible leaf columns.protected ObjectProperty<Node>graphicProperty()Returns the graphic to draw on the inside of the disclosure node.protected abstract voidupdateCell(R cell, C row)A method to allow the given cell to be told that it is a member of the given row.Methods declared in class javafx.scene.control.skin.CellSkinBasecellSizeProperty, getCellSize, getClassCssMetaDataMethods declared in class javafx.scene.control.skin.LabeledSkinBasecomputeMinWidth, layoutChildren, layoutLabelInArea, layoutLabelInArea, updateChildrenMethods declared in class javafx.scene.control.SkinBasecomputeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computePrefHeight, computePrefWidth, consumeMouseEvents, executeAccessibleAction, getChildren, getCssMetaData, 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, unregisterListChangeListenersMethods declared in class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods declared in interface javafx.scene.control.Skindispose, getNode, getSkinnable
- 
Property Details- 
graphicReturns the graphic to draw on the inside of the disclosure node. Null is acceptable when no graphic should be shown. Commonly this is the graphic associated with a TreeItem (i.e. treeItem.getGraphic()), rather than a graphic associated with a cell.
 
- 
- 
Constructor Details- 
TableRowSkinBaseCreates a new instance of TableRowSkinBase, although note that this instance does not handle any behavior / input mappings - this needs to be handled appropriately by subclasses.- Parameters:
- control- The control that this skin should be installed onto.
 
 
- 
- 
Method Details- 
createCellCreates a new cell instance that is suitable for representing the given table column instance.- Parameters:
- tc- the table column
- Returns:
- the created cell
 
- 
updateCellA method to allow the given cell to be told that it is a member of the given row. How this is implemented is dependent on the actual cell implementation.- Parameters:
- cell- The cell for which we want to inform it of its owner row.
- row- The row which will be set on the given cell.
 
- 
getTableColumnReturns theTableColumnBaseinstance for the given cell instance.- Parameters:
- cell- The cell for which a TableColumn is desired.
- Returns:
- the table column
 
- 
getVisibleLeafColumnsReturns an unmodifiable list containing the currently visible leaf columns.- Returns:
- the list of visible leaf columns
 
- 
graphicPropertyReturns the graphic to draw on the inside of the disclosure node. Null is acceptable when no graphic should be shown. Commonly this is the graphic associated with a TreeItem (i.e. treeItem.getGraphic()), rather than a graphic associated with a cell.
 
-