The Java FX-based implementation of the ComponentManager interface.
A trait for creating SplitPane components.
A trait for creating SplitPane components.
An object implementing this trait is associated with the net.sf.jguiraffe.gui.platform.javafx.builder.components.JavaFxComponentManager; it is invoked whenever a SplitPane is requested. All properties of the new SplitPane are defined by the passed in tag.
An implementation of this trait also has to ensure that a SplitPane behaves correctly when it is resized, i.e. additional size is correctly distributed on the managed components.
A trait that can be mixed into a Java FX text component to restrict the maximum text length.
A trait that can be mixed into a Java FX text component to restrict the maximum text length.
Per default, Java FX text components do not have a property for setting a maximum text length. The user can enter an arbitrary number of characters into a text field. If the data entered in the field has a length restriction - for instance if it should be stored in a database columns with a specific length -, validation has to be applied to ensure that the length restriction is not violated. However, it would be handy to tell the input field to only accept a given number of characters.
This trait adds this feature to arbitrary Java FX text input controls derived from TextInputControl. It introduces a new property for setting a maximum text length. If it is set to a value greater than 0, all user input is intercepted and checked against the length restriction. It is only processed if the restriction is not violated. This also works with selected text and copy & paste.
The companion object for JavaFxComponentManager.
A mapping between JavaFX Side literals and JGUIraffe Placement constants.
Converts a TextIconAlignment enumeration value to the corresponding Java FX ContentDisplay value.
Converts a TextIconAlignment enumeration value to the corresponding Java FX ContentDisplay value.
the alignment to be converted
the corresponding ContentDisplay value
Converts a ContentDisplay enumeration literal to the corresponding JGUIraffe TextIconAlignment value.
Converts a ContentDisplay enumeration literal to the corresponding JGUIraffe TextIconAlignment value.
the ContentDisplay to be converted
the corresponding TextIconAlignment value
Converts the given JGUIraffe Orientation value to a JavaFX Orientation value.
Converts the given JGUIraffe Orientation value to a JavaFX Orientation value.
the input orientation
the converted orientation
Converts a JGUIraffe Placement enumeration literal to the corresponding Side value.
Converts a JGUIraffe Placement enumeration literal to the corresponding Side value.
the Placement literal to be converted
the corresponding Side value
Initializes the specified node with the properties defined by the passed in properties object.
Initializes the specified node with the properties defined by the passed in properties object.
the node to be initialized
the properties to be set
the modified node object
Tries to convert the specified object into a font.
Tries to convert the specified object into a font.
the object to be converted
an option with the resulting JavaFxFont