public abstract static class ScrollBar.ScrollBarRenderer extends Object implements ComponentRenderer<ScrollBar>
ScrollBar
renderers a little bit cleanerConstructor and Description |
---|
ScrollBarRenderer() |
Modifier and Type | Method and Description |
---|---|
TerminalSize |
getPreferredSize(ScrollBar component)
Given the supplied component, how large does this renderer want the component to be? Notice that this is the
responsibility of the renderer and not the component itself, since the component has no idea what its visual
representation looks like.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
drawComponent
public TerminalSize getPreferredSize(ScrollBar component)
ComponentRenderer
getPreferredSize
in interface ComponentRenderer<ScrollBar>
component
- Component to calculate the preferred size ofCopyright © 2016. All rights reserved.