Remote Systems
v6.4.1

com.ibm.etools.systems.files.importexport.files
Class TreeExpandDropListener

java.lang.Object
  extended byDropTargetAdapter
      extended bycom.ibm.etools.systems.files.importexport.files.TreeExpandDropListener

public class TreeExpandDropListener
extends DropTargetAdapter

TreeExpandDropListener provides automatic expansion for Trees during drag and drop operations.

If the pointer hovers for a time over an item in the Tree that has not yet been expanded, the item is expanded automatically. This behaviour is consistent with that of popular GUI systems.

To use it send addDropListener(new TreeExpandDropListener(tree)) to the DropTarget object attached to the Tree.

See Also:
Serialized Form

Field Summary
static String Copyright
           
static long DEFAULT_EXPAND_DELAY
           
 
Constructor Summary
TreeExpandDropListener(Tree tree)
          Constructs a Tree expanding Drop Listener
 
Method Summary
 void dragEnter(DropTargetEvent event)
          Handles dragEnter events.
 void dragOver(DropTargetEvent event)
          Handles dragOver events.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

DEFAULT_EXPAND_DELAY

public static final long DEFAULT_EXPAND_DELAY
See Also:
Constant Field Values
Constructor Detail

TreeExpandDropListener

public TreeExpandDropListener(Tree tree)
Constructs a Tree expanding Drop Listener

Parameters:
tree - the Tree that the DropTarget is attached to
Method Detail

dragEnter

public void dragEnter(DropTargetEvent event)
Handles dragEnter events. This is an implementation detail.


dragOver

public void dragOver(DropTargetEvent event)
Handles dragOver events. This is an implementation detail.


Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.