protected class BasicTaskPaneContainerUI.VerticalLayoutUIResource extends VerticalLayout implements UIResource
UIResource implementation of VerticalLayout.| Constructor and Description |
|---|
VerticalLayoutUIResource()
The default layout.
|
VerticalLayoutUIResource(int gap)
Defines a layout with the specified gap.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLayoutComponent(String name,
Component comp) |
Dimension |
minimumLayoutSize(Container parent) |
void |
removeLayoutComponent(Component comp) |
getGap, layoutContainer, preferredLayoutSize, setGappublic VerticalLayoutUIResource()
public VerticalLayoutUIResource(int gap)
gap - the gap between componentspublic void addLayoutComponent(String name, Component comp)
This implementation does nothing.
addLayoutComponent in interface LayoutManagerpublic void removeLayoutComponent(Component comp)
This implementation does nothing.
removeLayoutComponent in interface LayoutManagerpublic Dimension minimumLayoutSize(Container parent)
This implementation defers to LayoutManager.preferredLayoutSize(Container).
minimumLayoutSize in interface LayoutManagerCopyright © 2017. All Rights Reserved.