Class FreezePositionStrategy

    • Constructor Detail

      • FreezePositionStrategy

        public FreezePositionStrategy​(FreezeLayer freezeLayer,
                                      int columnPosition,
                                      int rowPosition)
      • FreezePositionStrategy

        public FreezePositionStrategy​(FreezeLayer freezeLayer,
                                      ViewportLayer viewportLayer,
                                      int columnPosition,
                                      int rowPosition)
        Parameters:
        freezeLayer - The FreezeLayer for the PositionCoordinate.
        viewportLayer - The ViewportLayer needed to calculate the viewport relative position.
        columnPosition - The column position based on the CompositeFreezeLayer.
        rowPosition - The row position based on the CompositeFreezeLayer.
        Since:
        1.5
      • FreezePositionStrategy

        public FreezePositionStrategy​(FreezeLayer freezeLayer,
                                      ViewportLayer viewportLayer,
                                      int columnPosition,
                                      int rowPosition,
                                      boolean include)
        Parameters:
        freezeLayer - The FreezeLayer for the PositionCoordinate.
        viewportLayer - The ViewportLayer needed to calculate the viewport relative position.
        columnPosition - The column position based on the CompositeFreezeLayer.
        rowPosition - The row position based on the CompositeFreezeLayer.
        include - Whether the last selected cell should be included in the freeze region or not. Include means the freeze borders will be to the right and bottom, while exclude means the freeze borders are to the left and top. Default is false.
        Since:
        1.6