org.eclipse.nebula.widgets.nattable.viewport
Class ViewportLayerTest
java.lang.Object
org.eclipse.nebula.widgets.nattable.viewport.ViewportLayerTest
public class ViewportLayerTest
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
viewportLayer
protected ViewportLayer viewportLayer
layerListener
protected LayerListenerFixture layerListener
ViewportLayerTest
public ViewportLayerTest()
setup
public void setup()
resertStaticFieldsInViewportFixture
public void resertStaticFieldsInViewportFixture()
testMoveColumnPositionIntoViewportSimpleCase
public void testMoveColumnPositionIntoViewportSimpleCase()
testMoveColumnPositionIntoViewportForAColumnAlreadyInTheViewport
public void testMoveColumnPositionIntoViewportForAColumnAlreadyInTheViewport()
moveColumnIntoViewportByMovingLeftAndRight
public void moveColumnIntoViewportByMovingLeftAndRight()
throws Exception
- 0 1 2 3 4 5 6 7 8 9 |----|----|----|----|----|----|----|----|----|----|
- Throws:
Exception
moveRowIntoViewportByMovingUpAndDown
public void moveRowIntoViewportByMovingUpAndDown()
throws Exception
- Rows 0 1 2 3 4 |----|----|----|----|----|
- Throws:
Exception
moveIntoViewportForAColPartiallyDisplayedAtTheRightEdge
public void moveIntoViewportForAColPartiallyDisplayedAtTheRightEdge()
throws Exception
- Throws:
Exception
getColumnIndexByPositionForAColumnOusideTheViewport
public void getColumnIndexByPositionForAColumnOusideTheViewport()
getColumnIndexByPosition
public void getColumnIndexByPosition()
- 0 1 2 3 4 5 6 7 8 9 |----|----|----|----|----|----|----|----|----|----|
testMoveRowPositionIntoViewport
public void testMoveRowPositionIntoViewport()
testMoveCellPositionIntoViewport
public void testMoveCellPositionIntoViewport()
getColumnCount
public void getColumnCount()
throws Exception
- Throws:
Exception
getWidth
public void getWidth()
throws Exception
- Width is calculated by adding of widths of all visible columns
- Throws:
Exception
getHeight
public void getHeight()
throws Exception
- Height is calculated by adding of heights of all visible columns
- Throws:
Exception
testMoveColumnPositionIntoViewportFiresEvent
public void testMoveColumnPositionIntoViewportFiresEvent()
throws Exception
- Scrolling Events fired when origin changes
- Throws:
Exception
setViewportOriginColumnPosition
public void setViewportOriginColumnPosition()
throws Exception
- Throws:
Exception
settingViewportColumnOriginFiresEvent
public void settingViewportColumnOriginFiresEvent()
throws Exception
- Throws:
Exception
setViewportMinOriginColumnPosition
public void setViewportMinOriginColumnPosition()
throws Exception
- Throws:
Exception
setViewportOriginRowPosition
public void setViewportOriginRowPosition()
throws Exception
- Throws:
Exception
settingViewportRowOriginFireEvent
public void settingViewportRowOriginFireEvent()
throws Exception
- Throws:
Exception
setViewportMinOriginRowPosition
public void setViewportMinOriginRowPosition()
throws Exception
- Throws:
Exception
scrollVerticallyByAPageCommand
public void scrollVerticallyByAPageCommand()
throws Exception
- Throws:
Exception
adjustRowOrigin
public void adjustRowOrigin()
throws Exception
- Throws:
Exception
adjustColOrigin
public void adjustColOrigin()
throws Exception
- Throws:
Exception
shouldPickUpTheDefaultClientAreaIfItHasNotBeenSet
public void shouldPickUpTheDefaultClientAreaIfItHasNotBeenSet()
throws Exception
- Throws:
Exception
Copyright © 2015. All rights reserved.