Interface AdaptedActionVisualFactoryContext

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <N extends javafx.scene.Node>
      N
      addNode​(javafx.scene.layout.Pane parent, N node)
      Add the Node to the parent Pane returning it.
      javafx.scene.Node createImageWithHover​(java.lang.Class<?> resourceClass, java.lang.String imageFilePath, java.lang.String hoverImageFilePath)
      Convenience method to create a Node with Image and hover Image.
    • Method Detail

      • addNode

        <N extends javafx.scene.Node> N addNode​(javafx.scene.layout.Pane parent,
                                                N node)

        Add the Node to the parent Pane returning it.

        This allows for convenient adding new Node instances to Pane.

        Type Parameters:
        N - Node type.
        Parameters:
        parent - Parent Pane.
        node - Node.
        Returns:
        Input Node
      • createImageWithHover

        javafx.scene.Node createImageWithHover​(java.lang.Class<?> resourceClass,
                                               java.lang.String imageFilePath,
                                               java.lang.String hoverImageFilePath)
        Convenience method to create a Node with Image and hover Image. Typically this is to create button for the action.
        Parameters:
        resourceClass - Class within the class path containing the images.
        imageFilePath - Path to the Image.
        hoverImageFilePath - Path to the hover Image.
        Returns:
        Node for the Image with hover.
        See Also:
        DefaultImages