Class VoidStylesheet

  • All Implemented Interfaces:
    Stylesheet

    public class VoidStylesheet
    extends Object
    implements Stylesheet
    Stylesheet that always returns the default style.
    • Constructor Detail

      • VoidStylesheet

        public VoidStylesheet()
        Creates a void stylesheet.
    • Method Detail

      • getStyle

        public Style getStyle​(Widget widget)
        Description copied from interface: Stylesheet
        Gets the style for a widget.
        Specified by:
        getStyle in interface Stylesheet
        Parameters:
        widget - the widget to get the style for.
        Returns:
        the style applied to the widget.