Interface ViewMixin

All Known Implementing Classes:
FormRenderer, GroupRenderer, GroupRendererBase, SectionRenderer, SimpleBooleanControl, SimpleCheckBoxControl, SimpleComboBoxControl, SimpleControl, SimpleDateControl, SimpleDoubleControl, SimpleIntegerControl, SimpleListViewControl, SimpleNumberControl, SimplePasswordControl, SimpleRadioButtonControl, SimpleTextControl

public interface ViewMixin
This interface defines lifecycle of a FormsFX view.
Author:
Dieter Holz
  • Method Summary

    Modifier and Type Method Description
    default void addStylesheetFiles​(String... stylesheetFile)
    This method adds the stylesheet files to the getStylesheets method.
    List<String> getStylesheets()
    This method holds a list of stylesheets.
    default void init()
    This method calls all the other methods, so that it can be initialized easier.
    void initializeParts()
    This method is used to initializes all the properties of a class.
    default void initializeSelf()
    This method can be used to initialize the parts of the same class.
    void layoutParts()
    This method is used to align the parts of a class.
    default void setupBindings()
    This method is used to configure the bindings of the properties.
    default void setupEventHandlers()
    This method is used to set up event handlers.
    default void setupValueChangedListeners()
    This method is used to set up value change listeners.
  • Method Details

    • getStylesheets

      List<String> getStylesheets()
      This method holds a list of stylesheets.
      Returns:
      List of stylesheets.
    • init

      default void init()
      This method calls all the other methods, so that it can be initialized easier.
    • initializeSelf

      default void initializeSelf()
      This method can be used to initialize the parts of the same class.
    • initializeParts

      void initializeParts()
      This method is used to initializes all the properties of a class.
    • layoutParts

      void layoutParts()
      This method is used to align the parts of a class.
    • setupEventHandlers

      default void setupEventHandlers()
      This method is used to set up event handlers.
    • setupValueChangedListeners

      default void setupValueChangedListeners()
      This method is used to set up value change listeners.
    • setupBindings

      default void setupBindings()
      This method is used to configure the bindings of the properties.
    • addStylesheetFiles

      default void addStylesheetFiles​(String... stylesheetFile)
      This method adds the stylesheet files to the getStylesheets method.
      Parameters:
      stylesheetFile - List of stylesheet files