public void setHiddenViewAmount(float fraction) {
		Container parent = getParent();
		if (parent == null) {
			scrollOffset = 0;
		}
		this.scrollOffset = (int) (layout.getNormalPreferredSize(parent).height * fraction);
	}
Sets the amount of the view that is hidden, i.e., "scrolled off".  The animation framework
will cause this method to be called with a sequence of values from 0 to 1 which will be
used to scroll the component off the view.
@param fraction the amount of the component to hide.
Ghidra/Framework/Project/src/main/java/ghidra/framework/task/gui/taskview/ScheduledTaskPanel.java