ui/src/main/java/ucar/nc2/ui/image/PicturePane.java
public void scrollDown() {
		if (getSize().height / 2 - focusPoint.y * sclPic.getScaleFactor() < 0) {
			focusPoint.y = focusPoint.y - (int) (getSize().height * 0.1 / sclPic.getScaleFactor()) ;
			repaint();
		} else {
			Tools.log ("Scroll down rejected because top edge is aready visible");
		}
	}
public void scrollDown() {
		if (getSize().height / 2 - focusPoint.y * sclPic.getScaleFactor() < 0) {
			focusPoint.y = focusPoint.y - (int) (getSize().height * 0.1 / sclPic.getScaleFactor()) ;
			repaint();
		} else {
			Tools.log ("Scroll down rejected because top edge is aready visible");
		}
	}
public void scrollDown ( ) { if ( getSize ( ) . height / 2 - focusPoint . y * sclPic . getScaleFactor ( ) < 0 ) { focusPoint . y = focusPoint . y - ( int ) ( getSize ( ) . height * 0.1 / sclPic . getScaleFactor ( ) ) ; repaint ( ) ; } else { Tools . log ( "Scroll down rejected because top edge is aready visible" ) ; } }
method that moves the image down 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.
<p><img src=../scrollDown.png border=0><p>
@see #scrollUp()
@see #scrollDown()
@see #scrollLeft()
@see #scrollRight()
method that moves the image down 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 . <p > <img src = .. / scrollDown . png border = 0 > <p >