Code example for Scrollbar

Methods: getValuesetValues

0
        sbHoriz.setValues(iX, iWidth, 0, iTreeWidth);
 
        int v = iY / iRowHeight,
            h = iHeight / iRowHeight;
 
        sbVert.setValues(v, h, 0, iRowCount + 1);
 
        iX = sbHoriz.getValue();
        iY = iRowHeight * sbVert.getValue();
    } 
 
    /** 
     * Method declaration 
     * 
     * 
     * @param e 
     */ 
 
// fredt@users 20020130 - comment by fredt 
// to remove this deprecated method we need to rewrite the Tree class as a 
Experience pair programming with AI  Get Codota for Java