bibliothek.gui.dock.station.stack
Class DnDAutoSelectSupport
java.lang.Object
javax.swing.TransferHandler
bibliothek.gui.dock.station.stack.DnDAutoSelectSupport
- All Implemented Interfaces:
- StackDnDAutoSelectSupport, Serializable
@FrameworkOnly
public class DnDAutoSelectSupport
- extends TransferHandler
- implements StackDnDAutoSelectSupport
TransferHandler added to a StackDockComponent, will be informed if the mouse hovers over a tab, and
forwards that information to the client.
This class extends TransferHandler, but it will always return false when
calling TransferHandler#canImport(TransferSupport)).
- Author:
- Benjamin Sigg
- See Also:
- Serialized Form
| Methods inherited from class javax.swing.TransferHandler |
canImport, createTransferable, exportAsDrag, exportDone, exportToClipboard, getCopyAction, getCutAction, getPasteAction, getSourceActions, getVisualRepresentation, importData, importData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DnDAutoSelectSupport
public DnDAutoSelectSupport()
install
public void install(StackDockStation station,
StackDockComponent component)
- Description copied from interface:
StackDnDAutoSelectSupport
- Called if a
StackDockComponent has been bound to a DockController.
- Specified by:
install in interface StackDnDAutoSelectSupport
- Parameters:
station - the station on which component is showncomponent - the component that was bound
uninstall
public void uninstall(StackDockComponent component)
- Description copied from interface:
StackDnDAutoSelectSupport
- Called if a
StackDockComponent has been removed from a DockController.
- Specified by:
uninstall in interface StackDnDAutoSelectSupport
- Parameters:
component - the component that was removed
canImport
public boolean canImport(TransferHandler.TransferSupport support)
- Overrides:
canImport in class TransferHandler