Class LegendTitle

    • Method Detail

      • getFontContainer

        public FontContainer getFontContainer()
        Description copied from interface: HasFont
        Returns a font container instance to use in the default methods of this interface.
        Specified by:
        getFontContainer in interface HasFont
        Returns:
        a font container instance
      • getPadding

        public Padding getPadding()
        Returns the padding to apply around labels. Only top and bottom are implemented.
        Specified by:
        getPadding in interface IsDefaultLegendTitle
        Returns:
        padding to apply around labels. Only top and bottom are implemented.
      • setDisplay

        public void setDisplay​(boolean display)
        Sets true if the title is shown.
        Parameters:
        display - if true the title is shown.
      • isDisplay

        public boolean isDisplay()
        Returns true if the title is shown.
        Specified by:
        isDisplay in interface IsDefaultLegendTitle
        Returns:
        if true the title is shown.