ComponentRenderer<ScrollBar>
ScrollBar.DefaultScrollBarRenderer
public abstract static class ScrollBar.ScrollBarRenderer extends Object implements ComponentRenderer<ScrollBar>
ScrollBar
renderers a little bit cleanerConstructor | Description |
---|---|
ScrollBarRenderer() |
Modifier and Type | Method | Description |
---|---|---|
TerminalSize |
getPreferredSize(ScrollBar component) |
Given the supplied component, how large does this renderer want the component to be?
|
drawComponent
public TerminalSize getPreferredSize(ScrollBar component)
ComponentRenderer
getPreferredSize
in interface ComponentRenderer<ScrollBar>
component
- Component to calculate the preferred size ofCopyright © 2020. All rights reserved.