Class FilterPanelLayout
java.lang.Object
docking.widgets.table.constraint.dialog.FilterPanelLayout
- All Implemented Interfaces:
LayoutManager
Specialized layout for the TableFilterDialog panels. It is intended for a container with
exactly three components. The first two components are sized to the width specified and the
last component gets its preferred width. When laying out the components, the first two are
always sized to the specified width and the 3rd component gets all remaining size;
-
Constructor Summary
ConstructorDescriptionFilterPanelLayout
(int componentWidth, int hgap) Construct layout where first two components always have given width. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLayoutComponent
(String name, Component comp) void
layoutContainer
(Container parent) minimumLayoutSize
(Container parent) preferredLayoutSize
(Container parent) void
-
Constructor Details
-
FilterPanelLayout
public FilterPanelLayout(int componentWidth, int hgap) Construct layout where first two components always have given width.- Parameters:
componentWidth
- the width of each of the first two components.hgap
- the space between componennts.
-
-
Method Details
-
addLayoutComponent
- Specified by:
addLayoutComponent
in interfaceLayoutManager
-
removeLayoutComponent
- Specified by:
removeLayoutComponent
in interfaceLayoutManager
-
preferredLayoutSize
- Specified by:
preferredLayoutSize
in interfaceLayoutManager
-
minimumLayoutSize
- Specified by:
minimumLayoutSize
in interfaceLayoutManager
-
layoutContainer
- Specified by:
layoutContainer
in interfaceLayoutManager
-