- java.lang.Object
-
- org.icepdf.ri.common.views.annotations.FileDropHandler
-
public abstract class FileDropHandler extends Object
FileDropHandler is an abstract class for building custom drop handlers for a particular file extension. An implementing class needs to register a file extension and implement the execute behavior.- Since:
- 6.3.1
-
-
Constructor Summary
Constructors Constructor Description FileDropHandler(String fileExtension)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidexecute(File file, PopupAnnotationComponent popupAnnotationComponent)StringgetExtension()
-
-
-
Constructor Detail
-
FileDropHandler
public FileDropHandler(String fileExtension)
-
-
Method Detail
-
getExtension
public String getExtension()
-
execute
public abstract void execute(File file, PopupAnnotationComponent popupAnnotationComponent)
-
-