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