public final class ScrollBarThemeImpl 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 |
|---|
ScrollBarThemeImpl(Accessor accessor) |
| 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, setThicknesspublic ScrollBarThemeImpl(Accessor accessor)
protected Ref createWidget(long id, int w, int h, int orientation, int value, int visibleSize, int totalSize)
createWidget in class ScrollBarThemepublic void paint(WCGraphicsContext g, Ref sbRef, int x, int y, int pressedPart, int hoveredPart)
paint in class ScrollBarThemepublic WCSize getWidgetSize(Ref widget)
getWidgetSize in class ScrollBarThemeprotected void getScrollBarPartRect(long id,
int part,
int[] rect)
getScrollBarPartRect in class ScrollBarThemeCopyright © 2025. All rights reserved.