Module org.jhotdraw8.fxcontrols
Class FontFamilyChooserController
java.lang.Object
org.jhotdraw8.fxcontrols.fontchooser.FontFamilyChooserController
- Direct Known Subclasses:
FontChooserController
-
Property Summary
PropertiesTypePropertyDescription@NonNull javafx.beans.property.ObjectProperty<FontChooserModel> @NonNull javafx.beans.property.ObjectProperty<javafx.event.EventHandler<javafx.event.ActionEvent>> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetModel()Gets the value of themodelproperty.javafx.event.EventHandler<javafx.event.ActionEvent> Gets the value of theonActionproperty.@NonNull javafx.beans.property.ObjectProperty<FontChooserModel> @NonNull javafx.beans.property.ObjectProperty<javafx.event.EventHandler<javafx.event.ActionEvent>> voidsetFontName(String fontName) voidsetFontSize(double size) voidsetModel(FontChooserModel value) Sets the value of themodelproperty.voidsetOnAction(javafx.event.EventHandler<javafx.event.ActionEvent> value) Sets the value of theonActionproperty.protected void
-
Property Details
-
model
- See Also:
-
onAction
public @NonNull javafx.beans.property.ObjectProperty<javafx.event.EventHandler<javafx.event.ActionEvent>> onActionProperty- See Also:
-
-
Field Details
-
fontSize
protected final javafx.beans.property.DoubleProperty fontSize
-
-
Constructor Details
-
FontFamilyChooserController
public FontFamilyChooserController()
-
-
Method Details
-
getFontSize
public double getFontSize() -
getModel
Gets the value of themodelproperty.- Property description:
- Returns:
- the value of the
modelproperty - See Also:
-
setFontSize
public void setFontSize(double size) -
setModel
Sets the value of themodelproperty.- Property description:
- Parameters:
value- the value for themodelproperty- See Also:
-
getOnAction
public javafx.event.EventHandler<javafx.event.ActionEvent> getOnAction()Gets the value of theonActionproperty.- Property description:
- Returns:
- the value of the
onActionproperty - See Also:
-
setOnAction
public void setOnAction(javafx.event.EventHandler<javafx.event.ActionEvent> value) Sets the value of theonActionproperty.- Property description:
- Parameters:
value- the value for theonActionproperty- See Also:
-
getSelectedFontName
-
updatePreviewTextArea
protected void updatePreviewTextArea() -
modelProperty
- Returns:
- the
modelproperty - See Also:
-
onActionProperty
public @NonNull javafx.beans.property.ObjectProperty<javafx.event.EventHandler<javafx.event.ActionEvent>> onActionProperty()- Returns:
- the
onActionproperty - See Also:
-
setFontName
-