Code example for Scrollbar

Methods: getValue

0
            case Event.SCROLL_LINE_DOWN :
            case Event.SCROLL_PAGE_UP :
            case Event.SCROLL_PAGE_DOWN :
            case Event.SCROLL_ABSOLUTE :
                iX = sbHoriz.getValue();
                iY = iRowHeight * sbVert.getValue();
 
                repaint();
 
                return true; 
        } 
 
        return super.handleEvent(e);
    } 
 
    /** 
     * Method declaration 
     * 
     * 
     * @param g