net.sf.jguiraffe.gui.platform.javafx.layout
Type declaration for a function that transforms the panel created by a ContainerWrapper before it is passed to the caller.
Type declaration for a function that can initialize a text node with a font.
Type declaration for a function that can initialize a text node with a font. This function is used to determine the font size of this container. The way how the container's font is initialized is irrelevant for this object; by using this type, this logic can be extracted.
A font initializer for the default font.
Convenience method for converting a plain object to an instance of ContainerWrapper.
Convenience method for converting a plain object to an instance of ContainerWrapper. Because of the generic nature of the JGUIraffe library containers are often passed around as objects. When dealing with them a conversion has to be performed. This is done by this method. If the passed in object is a ContainerWrapper instance, it is cast and returned. Otherwise an exception is thrown.
the object to be converted
the object cast as ContainerWrapper
IllegalArgumentException
if the object cannot be cast
Interprets the passed in component and tries to obtain a Node from it.
Interprets the passed in component and tries to obtain a Node from it. In some situations the library has to deal with objects with can either by JavaFX nodes or containers that wrap other nodes. This method allows handling such objects transparently by automatically extracting the referenced Node instance: if the passed in object is already a node, it is returned. Otherwise, it has to be a ContainerWrapper; in this case, the container pane is created and returned. All other input causes an exception.
the component to be inspected
the Node extracted from this component
FormBuilderException
if the component is not supported
The companion object for ContainerWrapper.