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.gui2Subclasses with type arguments of type Panel in com.googlecode.lanterna.gui2Modifier and TypeClassDescriptionclassThis class is the basic building block for creating user interfaces, being the standard implementation ofContainerthat supports multiple children.Classes in com.googlecode.lanterna.gui2 that implement interfaces with type arguments of type PanelFields 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 PanelCreates a newPanelwith aGridLayoutlayout manager and adds all the components passed instatic PanelPanels.horizontal(Component... components) Creates a newPanelwith aLinearLayoutlayout 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 PanelCreates a newPanelwith aLinearLayoutlayout 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)voidPanel.DefaultPanelRenderer.drawComponent(TextGUIGraphics graphics, Panel panel) Panel.DefaultPanelRenderer.getPreferredSize(Panel component)