Package | Description |
---|---|
com.googlecode.lanterna.gui2 |
Modifier and Type | Method | Description |
---|---|---|
ScrollBar |
ScrollBar.setScrollMaximum(int maximum) |
Sets the maximum value the scrollbar's position (minus the view size) can have
|
ScrollBar |
ScrollBar.setScrollPosition(int position) |
Sets the scrollbar's position, should be a value between 0 and
maximum - view size |
ScrollBar |
ScrollBar.setViewSize(int viewSize) |
Sets the view size of the scrollbar, determining how big the scrollbar's tracker should be and also affecting the
maximum value of tracker's position
|
Modifier and Type | Method | Description |
---|---|---|
protected ComponentRenderer<ScrollBar> |
ScrollBar.createDefaultRenderer() |
Modifier and Type | Method | Description |
---|---|---|
void |
ScrollBar.DefaultScrollBarRenderer.drawComponent(TextGUIGraphics graphics,
ScrollBar component) |
|
TerminalSize |
ScrollBar.ScrollBarRenderer.getPreferredSize(ScrollBar component) |
Copyright © 2020. All rights reserved.