org.eclipse.nebula.widgets.nattable.selection
Class CellSelectionTest
java.lang.Object
org.eclipse.nebula.widgets.nattable.selection.CellSelectionTest
public class CellSelectionTest
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CellSelectionTest
public CellSelectionTest()
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.