Package | Description |
---|---|
com.googlecode.lanterna.gui2 |
Modifier and Type | Method | Description |
---|---|---|
Panel |
Panel.addComponent(int index,
Component component) |
Adds a new child component to the panel.
|
Panel |
Panel.addComponent(Component component) |
Adds a new child component to the panel.
|
Panel |
Panel.addComponent(Component component,
LayoutData layoutData) |
This method is a shortcut for calling:
|
static Panel |
Panels.grid(int columns,
Component... components) |
Creates a new
Panel with a GridLayout layout manager and adds all the components passed in |
static Panel |
Panels.horizontal(Component... components) |
Creates a new
Panel with a LinearLayout layout manager in horizontal mode and adds all the
components passed in |
Panel |
Panel.removeAllComponents() |
Removes all child components from this panel
|
Panel |
Panel.setLayoutManager(LayoutManager layoutManager) |
Assigns a new layout manager to this panel, replacing the previous layout manager assigned.
|
static Panel |
Panels.vertical(Component... components) |
Creates a new
Panel with a LinearLayout layout manager in vertical mode and adds all the
components passed in |
Modifier and Type | Method | Description |
---|---|---|
protected ComponentRenderer<Panel> |
Panel.createDefaultRenderer() |
Modifier and Type | Method | Description |
---|---|---|
T |
AbstractComponent.addTo(Panel panel) |
|
Component |
Component.addTo(Panel panel) |
Same as calling
panel.addComponent(thisComponent) |
void |
Panel.DefaultPanelRenderer.drawComponent(TextGUIGraphics graphics,
Panel panel) |
|
TerminalSize |
Panel.DefaultPanelRenderer.getPreferredSize(Panel component) |
Copyright © 2020. All rights reserved.