Package 

Class HorizontalFlowLayout

  • All Implemented Interfaces:
    java.awt.LayoutManager , java.io.Serializable

    @Deprecated() 
    public final class HorizontalFlowLayout
    extends AFlowLayout
                        

    A vertical layout manager similar to java.awt.FlowLayout. Like FlowLayout components do not expand to fill available space except when the horizontal getAlignment() is BOTH in which case components are stretched horizontally. Unlike FlowLayout, components will not wrap to form another column if there isn't enough space vertically. VerticalLayout can optionally getAnchor() components to the top or bottom of the display area or center them between the top and bottom. Revision date 12th July 2001 Homepage:www.kagi.com/equitysoft - Based on 'FlexLayout' in Java class libraries Vol 2 Chan/Lee Addison-Wesley 1998

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static int CENTER
      public final static int RIGHT
      public final static int LEFT
      public final static int BOTH
      public final static int TOP
    • Constructor Summary

      Constructors 
      Constructor Description
      HorizontalFlowLayout(boolean ordered) Constructs an instance of VerticalLayout with a vertical vgap of 5 pixels, horizontal centering and anchored to the top of the display area.
      HorizontalFlowLayout(int hgap, boolean ordered) Constructs a VerticalLayout instance with horizontal centering, anchored to the top with the specified vgap.
      HorizontalFlowLayout(int hgap, int align, boolean ordered) Constructs a VerticalLayout instance anchored to the top with the specified hgap and horizontal alignment.
      HorizontalFlowLayout(int hgap, int align, int anchor, boolean ordered) Constructs a VerticalLayout instance with the specified vgap, horizontal getAlignment() and anchoring.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void layoutContainer(Container parent)
      • Methods inherited from class it.unibo.alchemist.boundary.swingui.tape.impl.AFlowLayout

        addLayoutComponent, getComponentOrder, getComponentsList, isOrdered, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setComponentOrder, toString
      • Methods inherited from class java.awt.LayoutManager

        addLayoutComponent, layoutContainer, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HorizontalFlowLayout

        HorizontalFlowLayout(boolean ordered)
        Constructs an instance of VerticalLayout with a vertical vgap of 5 pixels, horizontal centering and anchored to the top of the display area.
        Parameters:
        ordered - true if should be ordered
      • HorizontalFlowLayout

        HorizontalFlowLayout(int hgap, boolean ordered)
        Constructs a VerticalLayout instance with horizontal centering, anchored to the top with the specified vgap.
        Parameters:
        hgap - An int value indicating the vertical seperation of the components
        ordered - true if the components must be ordered
      • HorizontalFlowLayout

        HorizontalFlowLayout(int hgap, int align, boolean ordered)
        Constructs a VerticalLayout instance anchored to the top with the specified hgap and horizontal alignment.
        Parameters:
        hgap - An int value indicating the vertical seperation of the components
        align - An int value which is one of RIGHT, LEFT, CENTER, BOTH for the horizontal getAlignment().
        ordered - true if the components must be ordered
      • HorizontalFlowLayout

        HorizontalFlowLayout(int hgap, int align, int anchor, boolean ordered)
        Constructs a VerticalLayout instance with the specified vgap, horizontal getAlignment() and anchoring.
        Parameters:
        hgap - An int value indicating the vertical seperation of the components
        align - An int value which is one of RIGHT, LEFT, CENTER, BOTH for the horizontal getAlignment().
        anchor - An int value which is one of TOP, BOTTOM, CENTER indicating where the components are to appear if the display area exceeds the minimum necessary.
        ordered - true if the components must be ordered