com.openindex.openestate.tool.utils
Class AutoscrollSupport

java.lang.Object
  extended by com.openindex.openestate.tool.utils.AutoscrollSupport
All Implemented Interfaces:
Autoscroll

public class AutoscrollSupport
extends Object
implements Autoscroll

Scrolling in einer Swing-Komponente während einer Drag&Drop-Aktion.
siehe http://www.jroller.com/santhosh/entry/scrolling_swing_component_during_dnd
$Id: AutoscrollSupport.java 856 2011-04-29 22:30:40Z andy $

Author:
Andreas Rudolph

Constructor Summary
AutoscrollSupport(Component comp, Insets insets)
           
AutoscrollSupport(Component comp, Insets insets, Insets scrollUnits)
           
 
Method Summary
 void autoscroll(Point cursorLoc)
           
 Insets getAutoscrollInsets()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoscrollSupport

public AutoscrollSupport(Component comp,
                         Insets insets)

AutoscrollSupport

public AutoscrollSupport(Component comp,
                         Insets insets,
                         Insets scrollUnits)
Method Detail

autoscroll

public void autoscroll(Point cursorLoc)
Specified by:
autoscroll in interface Autoscroll

getAutoscrollInsets

public Insets getAutoscrollInsets()
Specified by:
getAutoscrollInsets in interface Autoscroll


Copyright © 2012 OpenEstate. All Rights Reserved.