| java.lang.Object org.apache.harmony.awt.theme.DefaultStyle
All known Subclasses: org.apache.harmony.awt.theme.DefaultList, org.apache.harmony.awt.theme.DefaultButton, org.apache.harmony.awt.theme.DefaultTextComponent, org.apache.harmony.awt.theme.DefaultScrollbar, org.apache.harmony.awt.theme.DefaultLabel, org.apache.harmony.awt.theme.DefaultChoice, org.apache.harmony.awt.theme.DefaultCheckbox,
DefaultStyle | public class DefaultStyle (Code) | | Common functionality for default visual style
|
ABS_MARGIN | final static int ABS_MARGIN(Code) | | |
CB_SIZE | final static int CB_SIZE(Code) | | |
REL_MARGIN | final static double REL_MARGIN(Code) | | |
drawDisabledString | public static void drawDisabledString(Graphics g, String label, int baseX, int baseY)(Code) | | Draw text for disabled standard component.
It's assumed that desired font is already selected in passed Graphics
Parameters: g - Parameters: label - Parameters: baseX - Parameters: baseY - |
drawFocusRect | public static void drawFocusRect(Graphics g, int x, int y, int w, int h)(Code) | | Draw dotted rectangle that indicates the focused component
|
|
|