Class NavigationDrawer.Footer

  • All Implemented Interfaces:
    Styleable, EventTarget, Skinnable
    Enclosing class:
    NavigationDrawer

    public static final class NavigationDrawer.Footer
    extends Control
    A convenience class for creating a default footer for NavigationDrawer with styled implementations according to Material Design Guidelines. A footer is generally used for showing secondary items like help, settings, and feedback.
    Since:
    2.0.0
    • Constructor Detail

      • Footer

        public Footer​(String title)
        Allocates a new footer object with title assigned from the specified String.
        Parameters:
        title - A String representing the title of the Footer.
      • Footer

        public Footer​(String title,
                      Node graphic)
        Allocates a new footer object with title and graphic.
        Parameters:
        title - A String representing the title of the Footer.
        graphic - A node representing icon of the Footer.
    • Method Detail

      • getTitle

        public final String getTitle()
        Returns a String with the title of the Footer.
        Returns:
        A String representing the title of the Footer.
      • setTitle

        public final void setTitle​(String title)
        Sets the current title of the Footer.
        Parameters:
        title - The current title to be set.
      • getGraphic

        public final Node getGraphic()
        Returns a node which is used as the icon in the Footer.
        Returns:
        A Node containing the icon of the Footer.
      • setGraphic

        public final void setGraphic​(Node graphic)
        Sets a node as the icon of the Footer.
        Parameters:
        graphic - A Node to set as the icon of the Footer.