public void scrollRight() {
		if (getSize().width / 2 - focusPoint.x * sclPic.getScaleFactor() < 0) {
			focusPoint.x = focusPoint.x - (int) (getSize().width * 0.1 / sclPic.getScaleFactor()) ;
			repaint();
		} else {
			Tools.log ("Scroll left rejected because left edge is aready visible");
		}
	}
public void scrollRight() {
		if (getSize().width / 2 - focusPoint.x * sclPic.getScaleFactor() < 0) {
			focusPoint.x = focusPoint.x - (int) (getSize().width * 0.1 / sclPic.getScaleFactor()) ;
			repaint();
		} else {
			Tools.log ("Scroll left rejected because left edge is aready visible");
		}
	}
public void scrollRight ( ) { if ( getSize ( ) . width / 2 - focusPoint . x * sclPic . getScaleFactor ( ) < 0 ) { focusPoint . x = focusPoint . x - ( int ) ( getSize ( ) . width * 0.1 / sclPic . getScaleFactor ( ) ) ; repaint ( ) ; } else { Tools . log ( "Scroll left rejected because left edge is aready visible" ) ; } }
method that moves the image right 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 #scrollDown()}.
@see #scrollUp()
@see #scrollDown()
@see #scrollLeft()
@see #scrollRight()
method that moves the image right 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 {