Class SelectCellCommand

  • All Implemented Interfaces:
    ILayerCommand

    public class SelectCellCommand
    extends AbstractPositionCommand
    Event indicating that the user has selected a specific cell in the data grid. This command should be used for implementing all selection handling by layers. Note that this command takes a Grid PositionCoordinate describing a cell on the screen on which the user has clicked. Do not pass it anything else or you will introduce very subtle and very difficult to debug bugs into the code and then we will have to pay you a visit on one random Sunday morning when you least expect it.
    • Constructor Detail

      • SelectCellCommand

        public SelectCellCommand​(ILayer layer,
                                 int columnPosition,
                                 int rowPosition,
                                 boolean shiftMask,
                                 boolean controlMask)
    • Method Detail

      • isShiftMask

        public boolean isShiftMask()
      • isControlMask

        public boolean isControlMask()
      • isForcingEntireCellIntoViewport

        public boolean isForcingEntireCellIntoViewport()
      • setForcingEntireCellIntoViewport

        public void setForcingEntireCellIntoViewport​(boolean forcingEntireCellIntoViewport)