public class ChannelDropHandler extends Object implements org.freehep.jas.services.PlotRegionDropHandler
org.freehep.jas.plugin.plotter.DefaultRegion,
drop(DropTargetDropEvent) is the only method of this class that ever gets called,
and the user action is always ACTION_LINK. This makes it impossible to let the user choose
what happens on every particular drop - the operation is set through preferences.| Constructor and Description |
|---|
ChannelDropHandler(LsstTrendingPlugin plugin) |
| Modifier and Type | Method and Description |
|---|---|
void |
dragEnter(DropTargetDragEvent dtde) |
void |
dragExit(DropTargetEvent dte) |
void |
dragOver(DropTargetDragEvent dtde) |
void |
drop(DropTargetDropEvent dtde) |
void |
dropActionChanged(DropTargetDragEvent dtde) |
void |
setPlotRegion(org.freehep.jas.services.PlotRegion region) |
public ChannelDropHandler(LsstTrendingPlugin plugin)
public void setPlotRegion(org.freehep.jas.services.PlotRegion region)
setPlotRegion in interface org.freehep.jas.services.PlotRegionDropHandlerpublic void dragEnter(DropTargetDragEvent dtde)
dragEnter in interface DropTargetListenerpublic void dragOver(DropTargetDragEvent dtde)
dragOver in interface DropTargetListenerpublic void dropActionChanged(DropTargetDragEvent dtde)
dropActionChanged in interface DropTargetListenerpublic void dragExit(DropTargetEvent dte)
dragExit in interface DropTargetListenerpublic void drop(DropTargetDropEvent dtde)
drop in interface DropTargetListenerCopyright © 2018 LSST. All rights reserved.