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
ConstructorsConstructorDescriptionFilterPanelLayout(int componentWidth, int hgap) Construct layout where first two components always have given width. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLayoutComponent(String name, Component comp) voidlayoutContainer(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:
addLayoutComponentin interfaceLayoutManager
-
removeLayoutComponent
- Specified by:
removeLayoutComponentin interfaceLayoutManager
-
preferredLayoutSize
- Specified by:
preferredLayoutSizein interfaceLayoutManager
-
minimumLayoutSize
- Specified by:
minimumLayoutSizein interfaceLayoutManager
-
layoutContainer
- Specified by:
layoutContainerin interfaceLayoutManager
-