public final class RenderThemeImpl extends RenderTheme
Modifier and Type | Class and Description |
---|---|
private static class |
RenderThemeImpl.FormButton |
private static class |
RenderThemeImpl.FormCheckBox |
private static interface |
RenderThemeImpl.FormControl |
private static class |
RenderThemeImpl.FormControlRef |
private static class |
RenderThemeImpl.FormMenuList |
private static class |
RenderThemeImpl.FormMenuListButton |
private static class |
RenderThemeImpl.FormProgressBar |
private static class |
RenderThemeImpl.FormRadioButton |
private static class |
RenderThemeImpl.FormSlider |
private static class |
RenderThemeImpl.FormTextField |
(package private) static class |
RenderThemeImpl.Pool<T extends RenderThemeImpl.Widget>
A pool of controls.
|
(package private) static class |
RenderThemeImpl.ViewListener |
(package private) static interface |
RenderThemeImpl.Widget |
(package private) static class |
RenderThemeImpl.WidgetType |
Modifier and Type | Field and Description |
---|---|
private Accessor |
accessor |
private boolean |
isDefault |
private static java.util.logging.Logger |
log |
private RenderThemeImpl.Pool<RenderThemeImpl.FormControl> |
pool |
BACKGROUND, BUTTON, CHECK_BOX, CHECKED, ENABLED, FOCUSED, FOREGROUND, HOVERED, INDETERMINATE, MENU_LIST, MENU_LIST_BUTTON, METER, PRESSED, PROGRESS_BAR, RADIO_BUTTON, READ_ONLY, SLIDER, TEXT_FIELD
Constructor and Description |
---|
RenderThemeImpl() |
RenderThemeImpl(Accessor accessor) |
Modifier and Type | Method and Description |
---|---|
protected Ref |
createWidget(long id,
int widgetIndex,
int state,
int w,
int h,
int bgColor,
java.nio.ByteBuffer extParams) |
void |
drawWidget(WCGraphicsContext g,
Ref widget,
int x,
int y) |
private void |
ensureNotDefault() |
private java.lang.String |
getMeterStyle(int region) |
protected int |
getRadioButtonSize() |
protected int |
getSelectionColor(int index) |
WCSize |
getWidgetSize(Ref widget) |
private static boolean |
hasState(int state,
int mask) |
private static final java.util.logging.Logger log
private Accessor accessor
private boolean isDefault
private RenderThemeImpl.Pool<RenderThemeImpl.FormControl> pool
public RenderThemeImpl(Accessor accessor)
public RenderThemeImpl()
private void ensureNotDefault()
protected Ref createWidget(long id, int widgetIndex, int state, int w, int h, int bgColor, java.nio.ByteBuffer extParams)
createWidget
in class RenderTheme
private java.lang.String getMeterStyle(int region)
public void drawWidget(WCGraphicsContext g, Ref widget, int x, int y)
drawWidget
in class RenderTheme
public WCSize getWidgetSize(Ref widget)
getWidgetSize
in class RenderTheme
protected int getRadioButtonSize()
getRadioButtonSize
in class RenderTheme
protected int getSelectionColor(int index)
getSelectionColor
in class RenderTheme
private static boolean hasState(int state, int mask)