org.eclipse.nebula.widgets.nattable.viewport
Class HorizontalScrollBarHandlerTest

java.lang.Object
  extended by org.eclipse.nebula.widgets.nattable.viewport.HorizontalScrollBarHandlerTest

public class HorizontalScrollBarHandlerTest
extends Object

Test for Horizontal scrolling of the viewport. The DataLayerFixture has the following config. Used by all tests. The viewport is 200px wide. Col pos 0 1 2 3 4 ------ ---- - ---- --- Col width 150 100 35 100 80


Constructor Summary
HorizontalScrollBarHandlerTest()
           
 
Method Summary
 void dragLeft()
           
 void dragRight()
           
 void horizontalScrollbarThumbSize()
           
 void horizontalScrollbarThumbSizeCalcNoScrollingNeeded()
           
 void init()
           
 void issueNTBL99MoveByColumn()
          Test for issue reported in http://nattable.org/jira/browse/NTBL-99.
 void issueNTBL99MoveByPage()
           
 void scrollViewportLeftByOffset()
           
 void scrollViewportLeftByPage()
           
 void scrollViewportRightByOffset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HorizontalScrollBarHandlerTest

public HorizontalScrollBarHandlerTest()
Method Detail

init

public void init()

scrollViewportLeftByPage

public void scrollViewportLeftByPage()
                              throws Exception
Throws:
Exception

scrollViewportLeftByOffset

public void scrollViewportLeftByOffset()
                                throws Exception
Throws:
Exception

scrollViewportRightByOffset

public void scrollViewportRightByOffset()
                                 throws Exception
Throws:
Exception

dragRight

public void dragRight()
               throws Exception
Throws:
Exception

dragLeft

public void dragLeft()
              throws Exception
Throws:
Exception

issueNTBL99MoveByColumn

public void issueNTBL99MoveByColumn()
                             throws Exception
Test for issue reported in http://nattable.org/jira/browse/NTBL-99. Resizing the last column to be larger than the width of a table and scrolling to the right results in a all white background and no columns COLUMNS 0 1 |------|------| 250 250

Throws:
Exception

issueNTBL99MoveByPage

public void issueNTBL99MoveByPage()
                           throws Exception
Throws:
Exception

horizontalScrollbarThumbSize

public void horizontalScrollbarThumbSize()
                                  throws Exception
Throws:
Exception

horizontalScrollbarThumbSizeCalcNoScrollingNeeded

public void horizontalScrollbarThumbSizeCalcNoScrollingNeeded()
                                                       throws Exception
Throws:
Exception


Copyright © 2015. All rights reserved.