Uses of Interface
com.googlecode.lanterna.gui2.LayoutData
Packages that use LayoutData
-
Uses of LayoutData in com.googlecode.lanterna.gui2
Classes in com.googlecode.lanterna.gui2 that implement LayoutDataModifier and TypeClassDescriptionstatic enumThis type is what you use as the layout data for components added to a panel usingBorderLayoutfor its layout manager.(package private) static classprivate static classFields in com.googlecode.lanterna.gui2 declared as LayoutDataMethods in com.googlecode.lanterna.gui2 that return LayoutDataModifier and TypeMethodDescriptionstatic LayoutDataGridLayout.createHorizontallyEndAlignedLayoutData(int horizontalSpan) This is a shortcut method that will create a grid layout data object that will expand its cell as much as is can vertically and make the component occupy the whole area vertically and center it horizontallystatic LayoutDataGridLayout.createHorizontallyFilledLayoutData()This is a shortcut method that will create a grid layout data object that will expand its cell as much as is can horizontally and make the component occupy the whole area horizontally and center it vertically, spanning 1 cell.static LayoutDataGridLayout.createHorizontallyFilledLayoutData(int horizontalSpan) This is a shortcut method that will create a grid layout data object that will expand its cell as much as is can horizontally and make the component occupy the whole area horizontally and center it verticallystatic LayoutDataGridLayout.createLayoutData(GridLayout.Alignment horizontalAlignment, GridLayout.Alignment verticalAlignment) Creates a layout data object forGridLayout:s that specify the horizontal and vertical alignment for the component in case the cell space is larger than the preferred size of the componentstatic LayoutDataGridLayout.createLayoutData(GridLayout.Alignment horizontalAlignment, GridLayout.Alignment verticalAlignment, boolean grabExtraHorizontalSpace, boolean grabExtraVerticalSpace) Creates a layout data object forGridLayout:s that specify the horizontal and vertical alignment for the component in case the cell space is larger than the preferred size of the component.static LayoutDataGridLayout.createLayoutData(GridLayout.Alignment horizontalAlignment, GridLayout.Alignment verticalAlignment, boolean grabExtraHorizontalSpace, boolean grabExtraVerticalSpace, int horizontalSpan, int verticalSpan) Creates a layout data object forGridLayout:s that specify the horizontal and vertical alignment for the component in case the cell space is larger than the preferred size of the component.static LayoutDataLinearLayout.createLayoutData(LinearLayout.Alignment alignment) Creates aLayoutDataforLinearLayoutthat assigns a component to a particular alignment on its counter-axis, meaning the horizontal alignment on verticalLinearLayouts and vertical alignment on horizontalLinearLayouts.static LayoutDataLinearLayout.createLayoutData(LinearLayout.Alignment alignment, LinearLayout.GrowPolicy growPolicy) Creates aLayoutDataforLinearLayoutthat assigns a component to a particular alignment on its counter-axis, meaning the horizontal alignment on verticalLinearLayouts and vertical alignment on horizontalLinearLayouts.AbstractBorder.getLayoutData()AbstractComponent.getLayoutData()Component.getLayoutData()Returns the layout data associated with this component.Methods in com.googlecode.lanterna.gui2 with parameters of type LayoutDataModifier and TypeMethodDescriptionPanel.addComponent(Component component, LayoutData layoutData) This method is a shortcut for calling:AbstractBorder.setLayoutData(LayoutData ld) AbstractComponent.setLayoutData(LayoutData data) Component.setLayoutData(LayoutData data) Sets optional layout data associated with this component.