Package | Description |
---|---|
com.googlecode.lanterna.gui2 |
Modifier and Type | Class | Description |
---|---|---|
static class |
BorderLayout.Location |
This type is what you use as the layout data for components added to a panel using
BorderLayout for its
layout manager. |
Modifier and Type | Method | Description |
---|---|---|
static LayoutData |
GridLayout.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 horizontally
|
static LayoutData |
GridLayout.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 LayoutData |
GridLayout.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 vertically
|
static LayoutData |
GridLayout.createLayoutData(GridLayout.Alignment horizontalAlignment,
GridLayout.Alignment verticalAlignment) |
Creates a layout data object for
GridLayout :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 LayoutData |
GridLayout.createLayoutData(GridLayout.Alignment horizontalAlignment,
GridLayout.Alignment verticalAlignment,
boolean grabExtraHorizontalSpace,
boolean grabExtraVerticalSpace) |
Creates a layout data object for
GridLayout :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 LayoutData |
GridLayout.createLayoutData(GridLayout.Alignment horizontalAlignment,
GridLayout.Alignment verticalAlignment,
boolean grabExtraHorizontalSpace,
boolean grabExtraVerticalSpace,
int horizontalSpan,
int verticalSpan) |
Creates a layout data object for
GridLayout :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 LayoutData |
LinearLayout.createLayoutData(LinearLayout.Alignment alignment) |
Creates a
LayoutData for LinearLayout that assigns a component to a particular alignment on its
counter-axis, meaning the horizontal alignment on vertical LinearLayout s and vertical alignment on
horizontal LinearLayout s. |
LayoutData |
AbstractBorder.getLayoutData() |
|
LayoutData |
AbstractComponent.getLayoutData() |
|
LayoutData |
Component.getLayoutData() |
Returns the layout data associated with this component.
|
Modifier and Type | Method | Description |
---|---|---|
Panel |
Panel.addComponent(Component component,
LayoutData layoutData) |
This method is a shortcut for calling:
|
Border |
AbstractBorder.setLayoutData(LayoutData ld) |
|
T |
AbstractComponent.setLayoutData(LayoutData data) |
|
Component |
Component.setLayoutData(LayoutData data) |
Sets optional layout data associated with this component.
|
Copyright © 2020. All rights reserved.