apps.projectmanagement.component.ganttchart
Class ScrollBar

java.lang.Object
  extended by apps.projectmanagement.component.ganttchart.ScrollBar

public class ScrollBar
extends java.lang.Object

The Class ScrollBar.


Nested Class Summary
static class ScrollBar.Direction
          The Enum Direction.
static interface ScrollBar.ScrollListener
          The listener interface for receiving scroll events.
 
Constructor Summary
ScrollBar(int length, int heigth, int contentLength, ContentSystem contentSystem, ScrollBar.Direction direction)
          Instantiates a new scroll bar.
 
Method Summary
 void addScrollBarListener(ScrollBar.ScrollListener l)
          Adds the scroll bar listener.
 Window getScrollBarContentItem()
          Gets the scroll bar content item.
 void removeScrollBarListener(ScrollBar.ScrollListener l)
          Removes the scroll bar listener.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScrollBar

public ScrollBar(int length,
                 int heigth,
                 int contentLength,
                 ContentSystem contentSystem,
                 ScrollBar.Direction direction)
Instantiates a new scroll bar.

Parameters:
length - the length
heigth - the heigth
contentLength - the content length
contentSystem - the content system
direction - the direction
Method Detail

addScrollBarListener

public void addScrollBarListener(ScrollBar.ScrollListener l)
Adds the scroll bar listener.

Parameters:
l - the l

getScrollBarContentItem

public Window getScrollBarContentItem()
Gets the scroll bar content item.

Returns:
the scroll bar content item

removeScrollBarListener

public void removeScrollBarListener(ScrollBar.ScrollListener l)
Removes the scroll bar listener.

Parameters:
l - the l