Package

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

components

Permalink

package components

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. components
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. class JavaFxComponentManager extends ComponentManager with FormContextListener with ToolTipCreationSupport with ButtonHandlerFactory

    Permalink

    The Java FX-based implementation of the ComponentManager interface.

  2. trait SplitPaneFactory extends AnyRef

    Permalink

    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.

  3. trait TextLengthRestriction extends TextInputControl

    Permalink

    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.

Value Members

  1. object JavaFxComponentManager

    Permalink

    The companion object for JavaFxComponentManager.

  2. val PlacementMapping: Map[Placement, Side]

    Permalink

    A mapping between JavaFX Side literals and JGUIraffe Placement constants.

  3. package cell

    Permalink
  4. def convertAlignment(al: TextIconAlignment): ContentDisplay

    Permalink

    Converts a TextIconAlignment enumeration value to the corresponding Java FX ContentDisplay value.

    Converts a TextIconAlignment enumeration value to the corresponding Java FX ContentDisplay value.

    al

    the alignment to be converted

    returns

    the corresponding ContentDisplay value

  5. def convertContentDisplay(cd: ContentDisplay): TextIconAlignment

    Permalink

    Converts a ContentDisplay enumeration literal to the corresponding JGUIraffe TextIconAlignment value.

    Converts a ContentDisplay enumeration literal to the corresponding JGUIraffe TextIconAlignment value.

    cd

    the ContentDisplay to be converted

    returns

    the corresponding TextIconAlignment value

  6. def convertOrientation(or: Orientation): Orientation

    Permalink

    Converts the given JGUIraffe Orientation value to a JavaFX Orientation value.

    Converts the given JGUIraffe Orientation value to a JavaFX Orientation value.

    or

    the input orientation

    returns

    the converted orientation

  7. def convertPlacementToSide(pl: Placement): Side

    Permalink

    Converts a JGUIraffe Placement enumeration literal to the corresponding Side value.

    Converts a JGUIraffe Placement enumeration literal to the corresponding Side value.

    pl

    the Placement literal to be converted

    returns

    the corresponding Side value

  8. def initNodeProperties(node: Node, properties: NodeProperties): Node

    Permalink

    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.

    node

    the node to be initialized

    properties

    the properties to be set

    returns

    the modified node object

  9. package table

    Permalink
  10. def toFont(ft: AnyRef): Option[JavaFxFont]

    Permalink

    Tries to convert the specified object into a font.

    Tries to convert the specified object into a font.

    ft

    the object to be converted

    returns

    an option with the resulting JavaFxFont

  11. package tree

    Permalink
  12. package widget

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped