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, setGap
public VerticalLayoutUIResource()
public VerticalLayoutUIResource(int gap)
gap
- the gap between componentspublic void addLayoutComponent(String name, Component comp)
This implementation does nothing.
addLayoutComponent
in interface LayoutManager
public void removeLayoutComponent(Component comp)
This implementation does nothing.
removeLayoutComponent
in interface LayoutManager
public Dimension minimumLayoutSize(Container parent)
This implementation defers to LayoutManager.preferredLayoutSize(Container)
.
minimumLayoutSize
in interface LayoutManager
Copyright © 2017. All rights reserved.