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 RenderTheme
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
Copyright © 2020. All rights reserved.