Package ej.mwt.style
Class DefaultStyle
- java.lang.Object
-
- ej.mwt.style.DefaultStyle
-
public class DefaultStyle extends java.lang.ObjectDefines the value of each field of the default style.The default style has:
- no dimension,
- left horizontal alignment,
- top vertical alignment,
- no margin,
- no border,
- no padding,
- white rectangular background,
- black color,
- default font,
- no extra field.
- See Also:
Font.getDefaultFont()
-
-
Field Summary
Fields Modifier and Type Field Description static BackgroundBACKGROUNDThe background of the default style.static OutlineBORDERThe border of the default style.static intCOLORThe color of the default style.static DimensionDIMENSIONThe dimension of the default style.static intHORIZONTAL_ALIGNMENTThe horizontal alignment of the default style.static OutlineMARGINThe margin of the default style.static OutlinePADDINGThe padding of the default style.static intVERTICAL_ALIGNMENTThe vertical alignment of the default style.
-
-
-
Field Detail
-
DIMENSION
public static final Dimension DIMENSION
The dimension of the default style.
-
HORIZONTAL_ALIGNMENT
public static final int HORIZONTAL_ALIGNMENT
The horizontal alignment of the default style.- See Also:
- Constant Field Values
-
VERTICAL_ALIGNMENT
public static final int VERTICAL_ALIGNMENT
The vertical alignment of the default style.- See Also:
- Constant Field Values
-
MARGIN
public static final Outline MARGIN
The margin of the default style.
-
BORDER
public static final Outline BORDER
The border of the default style.
-
PADDING
public static final Outline PADDING
The padding of the default style.
-
BACKGROUND
public static final Background BACKGROUND
The background of the default style.
-
COLOR
public static final int COLOR
The color of the default style.- See Also:
- Constant Field Values
-
-