Class AbstractPreferenceStyler.PreferenceConfiguration

  • Enclosing class:
    AbstractPreferenceStyler

    protected static class AbstractPreferenceStyler.PreferenceConfiguration
    extends java.lang.Object
    Preference configuration.
    • Constructor Summary

      Constructors 
      Constructor Description
      PreferenceConfiguration​(java.lang.String preferenceId, javafx.scene.Node visual, java.lang.String defaultStyle, javafx.beans.property.Property<java.lang.String> styleUpdater, javafx.scene.layout.Pane preview, java.util.function.Function<java.lang.String,​java.lang.String> translateStyle)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PreferenceConfiguration

        public PreferenceConfiguration​(java.lang.String preferenceId,
                                       javafx.scene.Node visual,
                                       java.lang.String defaultStyle,
                                       javafx.beans.property.Property<java.lang.String> styleUpdater,
                                       javafx.scene.layout.Pane preview,
                                       java.util.function.Function<java.lang.String,​java.lang.String> translateStyle)
        Parameters:
        preferenceId - Identifier of preference being configured.
        visual - Visual being configured. This allows for details of structure.
        defaultStyle - Default style.
        styleUpdater - Allows updating the style of the visual.
        preview - Preview pane for the visual. This is optional.
        translateStyle - Translates the raw style. This is optional.