Class FreezePositionStrategy

java.lang.Object
org.eclipse.nebula.widgets.nattable.freeze.command.FreezePositionStrategy
All Implemented Interfaces:
IFreezeCoordinatesProvider

public class FreezePositionStrategy extends Object implements IFreezeCoordinatesProvider
  • Constructor Details

    • 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
  • Method Details