static class DumpRenderTree.ScrollBarThemeStub extends ScrollBarTheme
BACK_BUTTON_END_PART, BACK_BUTTON_START_PART, BACK_TRACK_PART, FORWARD_BUTTON_END_PART, FORWARD_BUTTON_START_PART, FORWARD_TRACK_PART, HORIZONTAL_SCROLLBAR, NO_PART, SCROLLBAR_BG_PART, THUMB_PART, TRACK_BG_PART, VERTICAL_SCROLLBAR
Constructor and Description |
---|
ScrollBarThemeStub() |
Modifier and Type | Method and Description |
---|---|
protected Ref |
createWidget(long id,
int w,
int h,
int orientation,
int value,
int visibleSize,
int totalSize) |
protected void |
getScrollBarPartRect(long id,
int part,
int[] rect) |
WCSize |
getWidgetSize(Ref widget) |
void |
paint(WCGraphicsContext g,
Ref sbRef,
int x,
int y,
int pressedPart,
int hoveredPart) |
getThickness, setThickness
protected Ref createWidget(long id, int w, int h, int orientation, int value, int visibleSize, int totalSize)
createWidget
in class ScrollBarTheme
protected void getScrollBarPartRect(long id, int part, int[] rect)
getScrollBarPartRect
in class ScrollBarTheme
public void paint(WCGraphicsContext g, Ref sbRef, int x, int y, int pressedPart, int hoveredPart)
paint
in class ScrollBarTheme
public WCSize getWidgetSize(Ref widget)
getWidgetSize
in class ScrollBarTheme