Module MaterialFX

Class MFXLegacyListView<T>

All Implemented Interfaces:
Styleable, EventTarget, Skinnable

public class MFXLegacyListView<T> extends ListView<T>
This is the implementation of a ListView restyled to comply with modern standards.

Extends ListView, redefines the style class to "mfx-legacy-list-view for usage in CSS, for cells it uses MFXLegacyListCell by default.

  • Property Details

  • Constructor Details

    • MFXLegacyListView

      public MFXLegacyListView()
    • MFXLegacyListView

      public MFXLegacyListView(ObservableList<T> observableList)
  • Method Details

    • getTrackColor

      public Paint getTrackColor()
      Gets the value of the property trackColor.
      Property description:
      Specifies the color of the scrollbars' track.
    • trackColorProperty

      public ObjectProperty<Paint> trackColorProperty()
      Specifies the color of the scrollbars' track.
      See Also:
    • setTrackColor

      public void setTrackColor(Paint trackColor)
      Sets the value of the property trackColor.
      Property description:
      Specifies the color of the scrollbars' track.
    • getThumbColor

      public Paint getThumbColor()
      Gets the value of the property thumbColor.
      Property description:
      Specifies the color of the scrollbars' thumb.
    • thumbColorProperty

      public ObjectProperty<Paint> thumbColorProperty()
      Specifies the color of the scrollbars' thumb.
      See Also:
    • setThumbColor

      public void setThumbColor(Paint thumbColor)
      Sets the value of the property thumbColor.
      Property description:
      Specifies the color of the scrollbars' thumb.
    • getThumbHoverColor

      public Paint getThumbHoverColor()
      Gets the value of the property thumbHoverColor.
      Property description:
      Specifies the color of the scrollbars' thumb when mouse hover.
    • thumbHoverColorProperty

      public ObjectProperty<Paint> thumbHoverColorProperty()
      Specifies the color of the scrollbars' thumb when mouse hover.
      See Also:
    • setThumbHoverColor

      public void setThumbHoverColor(Paint thumbHoverColor)
      Sets the value of the property thumbHoverColor.
      Property description:
      Specifies the color of the scrollbars' thumb when mouse hover.
    • getHideAfter

      public Duration getHideAfter()
      Gets the value of the property hideAfter.
      Property description:
      Specifies the time after which the scrollbars are hidden.
    • hideAfterProperty

      public ObjectProperty<Duration> hideAfterProperty()
      Specifies the time after which the scrollbars are hidden.
      See Also:
    • setHideAfter

      public void setHideAfter(Duration hideAfter)
      Sets the value of the property hideAfter.
      Property description:
      Specifies the time after which the scrollbars are hidden.
    • isHideScrollBars

      public boolean isHideScrollBars()
      Gets the value of the property hideScrollBars.
      Property description:
      Specifies if the scrollbars should be hidden when the mouse is not on the list.
    • hideScrollBarsProperty

      public StyleableBooleanProperty hideScrollBarsProperty()
      Specifies if the scrollbars should be hidden when the mouse is not on the list.
      See Also:
    • setHideScrollBars

      public void setHideScrollBars(boolean hideScrollBars)
      Sets the value of the property hideScrollBars.
      Property description:
      Specifies if the scrollbars should be hidden when the mouse is not on the list.
    • getDepthLevel

      public DepthLevel getDepthLevel()
      Gets the value of the property depthLevel.
      Property description:
      Specifies the shadow strength around the control.
    • depthLevelProperty

      public StyleableObjectProperty<DepthLevel> depthLevelProperty()
      Specifies the shadow strength around the control.
      See Also:
    • setDepthLevel

      public void setDepthLevel(DepthLevel depthLevel)
      Sets the value of the property depthLevel.
      Property description:
      Specifies the shadow strength around the control.
    • getControlCssMetaDataList

      public static List<CssMetaData<? extends Styleable,?>> getControlCssMetaDataList()
    • createDefaultSkin

      protected Skin<?> createDefaultSkin()
      Overrides:
      createDefaultSkin in class ListView<T>
    • getUserAgentStylesheet

      public String getUserAgentStylesheet()
      Overrides:
      getUserAgentStylesheet in class Region
    • getControlCssMetaData

      public List<CssMetaData<? extends Styleable,?>> getControlCssMetaData()
      Overrides:
      getControlCssMetaData in class ListView<T>