public void scrollLeft() {
		// if the bottom edge of the picture is visible, do not scroll
		if (((sclPic.getOriginalWidth() - focusPoint.x) * sclPic.getScaleFactor()) + getSize().width /2 > getSize().width) {
			focusPoint.x = focusPoint.x + (int) (getSize().width * 0.1 / sclPic.getScaleFactor()) ;
			repaint();
		} else {
			Tools.log("Scrollup rejected because right edge of picture is already showing.");
		}
	}
public void scrollLeft() {
		
		if (((sclPic.getOriginalWidth() - focusPoint.x) * sclPic.getScaleFactor()) + getSize().width /2 > getSize().width) {
			focusPoint.x = focusPoint.x + (int) (getSize().width * 0.1 / sclPic.getScaleFactor()) ;
			repaint();
		} else {
			Tools.log("Scrollup rejected because right edge of picture is already showing.");
		}
	}
public void scrollLeft ( ) { // if the bottom edge of the picture is visible, do not scroll if ( ( ( sclPic . getOriginalWidth ( ) - focusPoint . x ) * sclPic . getScaleFactor ( ) ) + getSize ( ) . width / 2 > getSize ( ) . width ) { focusPoint . x = focusPoint . x + ( int ) ( getSize ( ) . width * 0.1 / sclPic . getScaleFactor ( ) ) ; repaint ( ) ; } else { Tools . log ( "Scrollup rejected because right edge of picture is already showing." ) ; } }
method that moves the image left by 10% of the pixels shown on the screen.
This method
calls <code>repaint()</code> directly since no time consuming image operations need to take place.
works just liks {@link #scrollUp()}.
@see #scrollUp()
@see #scrollDown()
@see #scrollLeft()
@see #scrollRight()
method that moves the image left by 10% of the pixels shown on the screen . This method calls <code > repaint () < / code > directly since no time consuming image operations need to take place . works just liks {