Uses of Class
com.googlecode.lanterna.gui2.Panel
Packages that use Panel
-
Uses of Panel in com.googlecode.lanterna.gui2
Subclasses of Panel in com.googlecode.lanterna.gui2Fields in com.googlecode.lanterna.gui2 declared as PanelMethods in com.googlecode.lanterna.gui2 that return PanelModifier and TypeMethodDescriptionPanel.addComponent
(int index, Component component) Adds a new child component to the panel.Panel.addComponent
(Component component) Adds a new child component to the panel.Panel.addComponent
(Component component, LayoutData layoutData) This method is a shortcut for calling:static Panel
Creates a newPanel
with aGridLayout
layout manager and adds all the components passed instatic Panel
Panels.horizontal
(Component... components) Creates a newPanel
with aLinearLayout
layout manager in horizontal mode and adds all the components passed inPanel.removeAllComponents()
Removes all child components from this panelPanel.setLayoutManager
(LayoutManager layoutManager) Assigns a new layout manager to this panel, replacing the previous layout manager assigned.static Panel
Creates a newPanel
with aLinearLayout
layout manager in vertical mode and adds all the components passed inMethods in com.googlecode.lanterna.gui2 that return types with arguments of type PanelModifier and TypeMethodDescriptionprotected ComponentRenderer
<Panel> Panel.createDefaultRenderer()
Methods in com.googlecode.lanterna.gui2 with parameters of type PanelModifier and TypeMethodDescriptionSame as callingpanel.addComponent(thisComponent)
void
Panel.DefaultPanelRenderer.drawComponent
(TextGUIGraphics graphics, Panel panel) Panel.DefaultPanelRenderer.getPreferredSize
(Panel component)