Package ej.mwt.stylesheet
Interface Stylesheet
-
- All Known Implementing Classes:
CachedStylesheet,CascadingStylesheet,VoidStylesheet
public interface StylesheetRepresents a stylesheet.A stylesheet associates a style to a widget.
By default, every widget has the same style:
- black color,
- white plain rectangular background,
- no border,
- no padding,
- no margin,
- no dimension,
- default font,
- left horizontal alignment,
- top vertical alignment,
- no extra field.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StylegetStyle(Widget widget)Gets the style for a widget.
-