Class HorizontalScrollbarHandler
java.lang.Object
org.eclipse.nebula.widgets.ganttchart.HorizontalScrollbarHandler
- All Implemented Interfaces:
org.eclipse.swt.widgets.Listener
class HorizontalScrollbarHandler
extends java.lang.Object
implements org.eclipse.swt.widgets.Listener
-
Constructor Summary
Constructors Constructor Description HorizontalScrollbarHandler(GanttComposite parent, org.eclipse.swt.widgets.ScrollBar scrollBar, int style)
-
Method Summary
Modifier and Type Method Description int
getScrollBarPosition()
void
handleEvent(org.eclipse.swt.widgets.Event e)
boolean
isScrolling()
void
recalculate()
void
resetScrollPosition()
-
Constructor Details
-
HorizontalScrollbarHandler
public HorizontalScrollbarHandler(GanttComposite parent, org.eclipse.swt.widgets.ScrollBar scrollBar, int style)
-
-
Method Details
-
resetScrollPosition
public void resetScrollPosition() -
handleEvent
public void handleEvent(org.eclipse.swt.widgets.Event e)- Specified by:
handleEvent
in interfaceorg.eclipse.swt.widgets.Listener
-
getScrollBarPosition
public int getScrollBarPosition() -
isScrolling
public boolean isScrolling() -
recalculate
public void recalculate()
-