Package ej.mwt.stylesheet
Class VoidStylesheet
- java.lang.Object
-
- ej.mwt.stylesheet.VoidStylesheet
-
- All Implemented Interfaces:
Stylesheet
public class VoidStylesheet extends java.lang.Object implements Stylesheet
Stylesheet that always returns the default style.
-
-
Constructor Summary
Constructors Constructor Description VoidStylesheet()Creates a void stylesheet.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StylegetStyle(Widget widget)Gets the style for a widget.
-
-
-
Method Detail
-
getStyle
public Style getStyle(Widget widget)
Description copied from interface:StylesheetGets the style for a widget.- Specified by:
getStylein interfaceStylesheet- Parameters:
widget- the widget to get the style for.- Returns:
- the style applied to the widget.
-
-