Class FilterPanelLayout

  • All Implemented Interfaces:
    java.awt.LayoutManager

    public class FilterPanelLayout
    extends java.lang.Object
    implements java.awt.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

      Constructors 
      Constructor Description
      FilterPanelLayout​(int componentWidth, int hgap)
      Construct layout where first two components always have given width.
    • Constructor Detail

      • 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 Detail

      • addLayoutComponent

        public void addLayoutComponent​(java.lang.String name,
                                       java.awt.Component comp)
        Specified by:
        addLayoutComponent in interface java.awt.LayoutManager
      • removeLayoutComponent

        public void removeLayoutComponent​(java.awt.Component comp)
        Specified by:
        removeLayoutComponent in interface java.awt.LayoutManager
      • preferredLayoutSize

        public java.awt.Dimension preferredLayoutSize​(java.awt.Container parent)
        Specified by:
        preferredLayoutSize in interface java.awt.LayoutManager
      • minimumLayoutSize

        public java.awt.Dimension minimumLayoutSize​(java.awt.Container parent)
        Specified by:
        minimumLayoutSize in interface java.awt.LayoutManager
      • layoutContainer

        public void layoutContainer​(java.awt.Container parent)
        Specified by:
        layoutContainer in interface java.awt.LayoutManager