Copied FROM javax.swing.ScrollPaneLayout.adjustForHSB
This method is called from ScrollPaneLayout.layoutContainer and is
private in ScrollPaneLayout so it was copied here
Copied FROM javax.swing.ScrollPaneLayout.adjustForVSB
This method is called from ScrollPaneLayout.layoutContainer and is
private in ScrollPaneLayout so it was copied here
Animate the camera's view from its current transform when the activity
starts to a new transform that centers the given bounds in the camera
layers coordinate system into the cameras view bounds.
Pan the camera's view from its current transform when the activity starts
to a new transform so that the view bounds will contain (if possible, intersect
if not possible) the new bounds in the camera layers coordinate system.