org.freehep.jas.plugin.plotter
Class DefaultPlotRegionDropHandler

java.lang.Object
  extended by org.freehep.jas.plugin.plotter.DefaultPlotRegionDropHandler
All Implemented Interfaces:
DropTargetListener, EventListener, PlotRegionDropHandler

public class DefaultPlotRegionDropHandler
extends Object
implements PlotRegionDropHandler

Author:
serbo

Field Summary
protected  PlotFactory factory
           
protected  PlotRegion region
           
 
Constructor Summary
DefaultPlotRegionDropHandler()
          Creates a new instance of DefaultDropHandler
DefaultPlotRegionDropHandler(PlotRegion pr, PlotFactory pf)
           
 
Method Summary
 void dragEnter(DropTargetDragEvent dtde)
           
 void dragExit(DropTargetEvent dte)
           
 void dragOver(DropTargetDragEvent dtde)
           
 void drop(DropTargetDropEvent dtde)
           
 void dropActionChanged(DropTargetDragEvent dtde)
           
 void setPlotRegion(PlotRegion pr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

region

protected PlotRegion region

factory

protected PlotFactory factory
Constructor Detail

DefaultPlotRegionDropHandler

public DefaultPlotRegionDropHandler()
Creates a new instance of DefaultDropHandler


DefaultPlotRegionDropHandler

public DefaultPlotRegionDropHandler(PlotRegion pr,
                                    PlotFactory pf)
Method Detail

setPlotRegion

public void setPlotRegion(PlotRegion pr)
Specified by:
setPlotRegion in interface PlotRegionDropHandler

dragEnter

public void dragEnter(DropTargetDragEvent dtde)
Specified by:
dragEnter in interface DropTargetListener

dragExit

public void dragExit(DropTargetEvent dte)
Specified by:
dragExit in interface DropTargetListener

dragOver

public void dragOver(DropTargetDragEvent dtde)
Specified by:
dragOver in interface DropTargetListener

drop

public void drop(DropTargetDropEvent dtde)
Specified by:
drop in interface DropTargetListener

dropActionChanged

public void dropActionChanged(DropTargetDragEvent dtde)
Specified by:
dropActionChanged in interface DropTargetListener


Copyright © 2013. All Rights Reserved.