Module MaterialFX

Class MFXTableRowCellSkin<T,E>

java.lang.Object
javafx.scene.control.SkinBase<MFXTableRowCell<T,E>>
io.github.palexdev.materialfx.skins.MFXTableRowCellSkin<T,E>
All Implemented Interfaces:
Skin<MFXTableRowCell<T,E>>

public class MFXTableRowCellSkin<T,E> extends SkinBase<MFXTableRowCell<T,E>>
Default skin implementation for MFXTableRowCell.

Simply an HBox which contains a label used to show the cell's text, the leading and the trailing nodes specified by MFXTableRowCell.leadingGraphicProperty(), MFXTableRowCell.trailingGraphicProperty()

  • Constructor Details

  • Method Details

    • clip

      protected void clip()
      Responsible for clipping the cell. This is needed for nodes that are not text nodes, to also hide graphic.
    • computePrefWidth

      protected double computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
      Overrides:
      computePrefWidth in class SkinBase<MFXTableRowCell<T,E>>