Class HorizontalLayoutAlgorithm

All Implemented Interfaces:
LayoutAlgorithm, LayoutAlgorithm.Zest1, Stoppable

@Deprecated(since="2.0", forRemoval=true) public class HorizontalLayoutAlgorithm extends GridLayoutAlgorithm.Zest1
Deprecated, for removal: This API element is subject to removal in a future version.
No longer used in Zest 2.x. This class will be removed in a future release. Use BoxLayoutAlgorithm with SWT.HORIZONTAL instead.
@noextend
This class is not intended to be subclassed by clients.
@noreference
This class is not intended to be referenced by clients.
@noinstantiate
This class is not intended to be instantiated by clients.
  • Constructor Details

    • HorizontalLayoutAlgorithm

      public HorizontalLayoutAlgorithm(int styles)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • HorizontalLayoutAlgorithm

      public HorizontalLayoutAlgorithm()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Horizontal Layout Algorithm constructor. Sets the Style to none.
  • Method Details

    • calculateNumberOfRowsAndCols

      protected int[] calculateNumberOfRowsAndCols(int numChildren, double boundX, double boundY, double boundWidth, double boundHeight)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Calculates and returns an array containing the number of columns, followed by the number of rows
      Overrides:
      calculateNumberOfRowsAndCols in class GridLayoutAlgorithm.Zest1
    • isValidConfiguration

      protected boolean isValidConfiguration(boolean asynchronous, boolean continueous)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: AbstractLayoutAlgorithm.Zest1
      Determines if the configuration is valid for this layout
      Overrides:
      isValidConfiguration in class GridLayoutAlgorithm.Zest1
      Parameters:
      asynchronous -
      continueous -