org.eclipse.nebula.widgets.nattable.selection
Class CellSelectionTest

java.lang.Object
  extended by org.eclipse.nebula.widgets.nattable.selection.CellSelectionTest

public class CellSelectionTest
extends Object


Constructor Summary
CellSelectionTest()
           
 
Method Summary
 void cleanUp()
           
 void moveCellWhenARangeOfCellsIsSelected()
          If a range of cells is selected - clear selection and move anchor to the next cell in the direction moved
 void onlyOneCellSelectedAtAnyTime()
           
 void setUp()
           
 void shouldExtendSelectionOnePageDownUsingPageDownAndShiftKeys()
           
 void shouldExtendSelectionOnePageUpUsingThePageUpAndShiftKeys()
           
 void shouldExtendTheSelectionDownUsingDownArrowAndShiftKeys()
           
 void shouldExtendTheSelectionRightUsingRightArrowAndShiftKeys()
           
 void shouldExtendTheSelectionToEndOfRowUsingEndAndShiftKeys()
           
 void shouldExtendTheSelectionToStartOfRowUsingHomeAndShiftKeys()
           
 void shouldExtendTheSelectionToTheLeftUsingLeftArrowAndShiftKeys()
           
 void shouldExtendTheSelectionUpUsingUpArrowAndShiftKeys()
           
 void shouldHaveOriginSelected()
           
 void shouldMoveTheSelecitonAnchorToStartOfRowUsingHomeKey()
           
 void shouldMoveTheSelectionAnchorDownUsingDownArrowKey()
           
 void shouldMoveTheSelectionAnchorLeftUsingLeftArrowKey()
           
 void shouldMoveTheSelectionAnchorOnePageDownUsingPageDownKey()
           
 void shouldMoveTheSelectionAnchorOnePageUpUsingPageUpKey()
           
 void shouldMoveTheSelectionAnchorRightUsingRightArrowKey()
           
 void shouldMoveTheSelectionAnchorToEndOfRowUsingEndKey()
           
 void shouldMoveTheSelectionAnchorUpUsingUpArrowKey()
           
 void shouldReturnSixCells()
           
 void shouldReturnTheCorrectCountOfSelectedCells()
          Selected cells are (col,row): (2,3),(4,1),(1,0),(9,9)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellSelectionTest

public CellSelectionTest()
Method Detail

setUp

public void setUp()

cleanUp

public void cleanUp()

shouldHaveOriginSelected

public void shouldHaveOriginSelected()

shouldMoveTheSelectionAnchorLeftUsingLeftArrowKey

public void shouldMoveTheSelectionAnchorLeftUsingLeftArrowKey()

shouldExtendTheSelectionToTheLeftUsingLeftArrowAndShiftKeys

public void shouldExtendTheSelectionToTheLeftUsingLeftArrowAndShiftKeys()

shouldMoveTheSelectionAnchorRightUsingRightArrowKey

public void shouldMoveTheSelectionAnchorRightUsingRightArrowKey()

shouldExtendTheSelectionRightUsingRightArrowAndShiftKeys

public void shouldExtendTheSelectionRightUsingRightArrowAndShiftKeys()

shouldMoveTheSelectionAnchorUpUsingUpArrowKey

public void shouldMoveTheSelectionAnchorUpUsingUpArrowKey()

shouldExtendTheSelectionUpUsingUpArrowAndShiftKeys

public void shouldExtendTheSelectionUpUsingUpArrowAndShiftKeys()

shouldMoveTheSelectionAnchorDownUsingDownArrowKey

public void shouldMoveTheSelectionAnchorDownUsingDownArrowKey()

shouldExtendTheSelectionDownUsingDownArrowAndShiftKeys

public void shouldExtendTheSelectionDownUsingDownArrowAndShiftKeys()

shouldMoveTheSelecitonAnchorToStartOfRowUsingHomeKey

public void shouldMoveTheSelecitonAnchorToStartOfRowUsingHomeKey()

shouldExtendTheSelectionToStartOfRowUsingHomeAndShiftKeys

public void shouldExtendTheSelectionToStartOfRowUsingHomeAndShiftKeys()

shouldMoveTheSelectionAnchorToEndOfRowUsingEndKey

public void shouldMoveTheSelectionAnchorToEndOfRowUsingEndKey()

shouldExtendTheSelectionToEndOfRowUsingEndAndShiftKeys

public void shouldExtendTheSelectionToEndOfRowUsingEndAndShiftKeys()

shouldMoveTheSelectionAnchorOnePageUpUsingPageUpKey

public void shouldMoveTheSelectionAnchorOnePageUpUsingPageUpKey()

shouldExtendSelectionOnePageUpUsingThePageUpAndShiftKeys

public void shouldExtendSelectionOnePageUpUsingThePageUpAndShiftKeys()

shouldMoveTheSelectionAnchorOnePageDownUsingPageDownKey

public void shouldMoveTheSelectionAnchorOnePageDownUsingPageDownKey()

shouldExtendSelectionOnePageDownUsingPageDownAndShiftKeys

public void shouldExtendSelectionOnePageDownUsingPageDownAndShiftKeys()

moveCellWhenARangeOfCellsIsSelected

public void moveCellWhenARangeOfCellsIsSelected()
                                         throws Exception
If a range of cells is selected - clear selection and move anchor to the next cell in the direction moved

Throws:
Exception

shouldReturnTheCorrectCountOfSelectedCells

public void shouldReturnTheCorrectCountOfSelectedCells()
Selected cells are (col,row): (2,3),(4,1),(1,0),(9,9)


shouldReturnSixCells

public void shouldReturnSixCells()

onlyOneCellSelectedAtAnyTime

public void onlyOneCellSelectedAtAnyTime()


Copyright © 2014. All rights reserved.