Class FontFamilyChooserController

java.lang.Object
org.jhotdraw8.fxcontrols.fontchooser.FontFamilyChooserController
Direct Known Subclasses:
FontChooserController

public class FontFamilyChooserController extends Object
  • Property Details

  • Field Details

    • fontSize

      protected final javafx.beans.property.DoubleProperty fontSize
  • Constructor Details

    • FontFamilyChooserController

      public FontFamilyChooserController()
  • Method Details

    • getFontSize

      public double getFontSize()
    • getModel

      public FontChooserModel getModel()
      Gets the value of the model property.
      Property description:
      Returns:
      the value of the model property
      See Also:
    • setFontSize

      public void setFontSize(double size)
    • setModel

      public void setModel(FontChooserModel value)
      Sets the value of the model property.
      Property description:
      Parameters:
      value - the value for the model property
      See Also:
    • getOnAction

      public javafx.event.EventHandler<javafx.event.ActionEvent> getOnAction()
      Gets the value of the onAction property.
      Property description:
      Returns:
      the value of the onAction property
      See Also:
    • setOnAction

      public void setOnAction(javafx.event.EventHandler<javafx.event.ActionEvent> value)
      Sets the value of the onAction property.
      Property description:
      Parameters:
      value - the value for the onAction property
      See Also:
    • getSelectedFontName

      public @Nullable String getSelectedFontName()
    • updatePreviewTextArea

      protected void updatePreviewTextArea()
    • modelProperty

      public javafx.beans.property.ObjectProperty<FontChooserModel> modelProperty()
      Returns:
      the model property
      See Also:
    • onActionProperty

      public javafx.beans.property.ObjectProperty<javafx.event.EventHandler<javafx.event.ActionEvent>> onActionProperty()
      Returns:
      the onAction property
      See Also:
    • setFontName

      public void setFontName(String fontName)