public final class RenderThemeImpl extends RenderTheme
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,
ByteBuffer extParams) |
void |
drawWidget(WCGraphicsContext g,
Ref widget,
int x,
int y) |
protected int |
getRadioButtonSize() |
protected int |
getSelectionColor(int index) |
WCSize |
getWidgetSize(Ref widget) |
public RenderThemeImpl(Accessor accessor)
public RenderThemeImpl()
protected Ref createWidget(long id, int widgetIndex, int state, int w, int h, int bgColor, ByteBuffer extParams)
createWidget in class RenderThemepublic void drawWidget(WCGraphicsContext g, Ref widget, int x, int y)
drawWidget in class RenderThemepublic WCSize getWidgetSize(Ref widget)
getWidgetSize in class RenderThemeprotected int getRadioButtonSize()
getRadioButtonSize in class RenderThemeprotected int getSelectionColor(int index)
getSelectionColor in class RenderThemeCopyright © 2025. All rights reserved.