code: public int getScrollableBlockIncrement (
          Rectangle visibleRect, int orientation, int direction)
      {
          if (orientation == SwingConstants.HORIZONTAL) {
              return visibleRect.width;
          } else {
              return visibleRect.height;
          }
      }
docs: documentation inherited from interface