Package

net.sf.jguiraffe.gui.platform.javafx.builder.components

widget

Permalink

package widget

Visibility
  1. Public
  2. All

Type Members

  1. case class JavaFxFont(family: Option[String] = None, size: Option[String] = None, style: Option[String] = None, weight: Option[String] = None, fontDef: Option[String] = None) extends Product with Serializable

    Permalink

    A simple data class representing a font in Java FX.

    A simple data class representing a font in Java FX.

    This is a simple case class holding the various attributes supported by a Java FX font as Option values. All of these properties are optional, in fact the whole object can be fully undefined. The data stored in an instance is used to update the styles definition of a Java FX node. Therefore, all properties are of type String - they directly correspond to style sheet definitions.

    family

    the font family

    size

    the font size

    style

    the font style

    weight

    the font weight

    fontDef

    a kind of meta attribute for a font definition in a single style (this corresponds to the Java FX fx-font attribute)

Ungrouped