Interface DirtyStyleable<T extends org.nield.dirtyfx.tracking.DirtyProperty>

Type Parameters:
T - Property implementing DirtyProperty interface
All Superinterfaces:
javafx.css.Styleable
All Known Implementing Classes:
DirtyJFXTableRow, DirtyMFXTableRow

public interface DirtyStyleable<T extends org.nield.dirtyfx.tracking.DirtyProperty> extends javafx.css.Styleable

Interface for listening changes on dirty property. Add or remove dirty style class in this Styleable based on dirty property value. Adds when the property is dirty. Removes when the property is not dirty.

  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    initDirtyPropertyChangeListener(org.reactfx.value.Val<T> itemProperty, String dirtyClassStyle)
     
    default void
    updateDirtyClassStyle(Boolean dirtyProperty, String dirtyClassStyle)
     

    Methods inherited from interface javafx.css.Styleable

    getCssMetaData, getId, getPseudoClassStates, getStyle, getStyleableNode, getStyleableParent, getStyleClass, getTypeSelector
  • Method Details

    • initDirtyPropertyChangeListener

      default void initDirtyPropertyChangeListener(org.reactfx.value.Val<T> itemProperty, String dirtyClassStyle)
    • updateDirtyClassStyle

      default void updateDirtyClassStyle(Boolean dirtyProperty, String dirtyClassStyle)