ComponentRenderer<Separator>
public static class Separator.DefaultSeparatorRenderer extends Separator.SeparatorRenderer
Separator
Constructor | Description |
---|---|
DefaultSeparatorRenderer() |
Modifier and Type | Method | Description |
---|---|---|
void |
drawComponent(TextGUIGraphics graphics,
Separator component) |
Using the supplied graphics object, draws the component passed in.
|
TerminalSize |
getPreferredSize(Separator component) |
Given the supplied component, how large does this renderer want the component to be?
|
public TerminalSize getPreferredSize(Separator component)
ComponentRenderer
component
- Component to calculate the preferred size ofpublic void drawComponent(TextGUIGraphics graphics, Separator component)
ComponentRenderer
graphics
- Graphics object to use for drawingcomponent
- Component to drawCopyright © 2020. All rights reserved.