Skip navigation links
A B C D F H I L M R S T U V X Y 

A

addComponent(Component) - Method in class drop.SDrop
if you combine sojamo.drop with e.g.
addDropListener(DropListener) - Method in class drop.SDrop
add a drop listener to your sketch.

B

Bla - Class in test
 
Bla() - Constructor for class test.Bla
 

C

component() - Method in class drop.DropEvent
get the component of the drop event.
ConvertToBufferedImage(Image) - Static method in class drop.DropImageReader
convert an image of type java.awt.Image to a BufferedIamge.

D

DEBUG - Static variable in class drop.SDrop
 
dispose() - Method in class drop.DropImageReader
 
dragEnter(DropTargetDragEvent) - Method in class drop.DropHandler
 
dragExit(DropTargetEvent) - Method in class drop.DropHandler
 
dragOver(DropTargetDragEvent) - Method in class drop.DropHandler
 
drop - package drop
 
drop(DropTargetDropEvent) - Method in class drop.DropHandler
drop event is yet a mess.
dropActionChanged(DropTargetDragEvent) - Method in class drop.DropHandler
 
dropEnter() - Method in class drop.DropListener
 
DropEvent - Class in drop
a drop event will be returned to processing whenever you drop a file or a folder onto your running sketch or application.
dropEvent(DropEvent) - Method in class drop.DropListener
 
DropHandler - Class in drop
adopted from: http://www.java2s.com/Code/Java/Swing-JFC/DropTargetTest.htm how to sign an applet: http://java.sun.com/developer/technicalArticles/Security/Signed/
DropHandler(SDrop) - Constructor for class drop.DropHandler
 
DropImageReader - Class in drop
 
dropLeave() - Method in class drop.DropListener
 
DropListener - Class in drop
Drop Listener is an abstract class and can be extended from a custom class.
DropListener() - Constructor for class drop.DropListener
 
dropTargetDropEvent() - Method in class drop.DropEvent
get the DropTargetDropEvent of the drop event.

F

file() - Method in class drop.DropEvent
when dropping a file or a folder onto the applet you get a java File back.
filePath() - Method in class drop.DropEvent
filePath returns the absolute path of a file.

H

hasAlpha(Image) - Static method in class drop.DropImageReader
This method returns true if the specified image has transparent pixels

I

isDragAcceptable(DropTargetDragEvent) - Method in class drop.DropHandler
 
isDropAcceptable(DropTargetDropEvent) - Method in class drop.DropHandler
 
isFile() - Method in class drop.DropEvent
check if the drop event was of type java.io.File.
isImage() - Method in class drop.DropEvent
check if drop event is an image of type java.awt.Image
isURL() - Method in class drop.DropEvent
check if drop event is an url, e.g.

L

listFiles(File, FilenameFilter, boolean) - Static method in class drop.DropEvent
list files in a folder, recursive is optional, use true or false.
listFiles(File, boolean) - Static method in class drop.DropEvent
 
listFiles(File, FilenameFilter, int) - Static method in class drop.DropEvent
 
listFiles(File, int) - Static method in class drop.DropEvent
 
listFilesAsArray(File, FilenameFilter, boolean) - Static method in class drop.DropEvent
list files in a folder, recursive is optional, use true or false.
listFilesAsArray(File, boolean) - Static method in class drop.DropEvent
 
listFilesAsArray(File, FilenameFilter, int) - Static method in class drop.DropEvent
 
listFilesAsArray(File, int) - Static method in class drop.DropEvent
 
loadImage() - Method in class drop.DropEvent
load an image from an URL or from a harddisk.

M

main(String[]) - Static method in class test.Bla
 

R

removeDropListener(DropListener) - Method in class drop.SDrop
remove a drop listener from your sketch.
run() - Method in class drop.DropImageReader
 

S

scaleImage(BufferedImage, float, float) - Static method in class drop.DropImageReader
scale a bufferedImage.
SDrop - Class in drop
sojamo.drop is a processing library that lets you drag and drop objects such as files, images, bookmarks, or text into your processing application.
SDrop(PApplet) - Constructor for class drop.SDrop
New Constructor
setTargetRect(float, float, float, float) - Method in class drop.DropListener
set the target rect where things can be dropped into.
start() - Method in class drop.DropImageReader
 
stop() - Method in class drop.DropImageReader
 

T

test - package test
 
text() - Method in class drop.DropEvent
when dropping text onto the applet you can access the text with the getText() method.
toString() - Method in class drop.DropEvent
 

U

url() - Method in class drop.DropEvent
if an URL was dropped onto the applet the url() method returns the same as String.

V

VERSION - Static variable in class drop.SDrop
 

X

x() - Method in class drop.DropEvent
get the x coordinate where the object was dropped.

Y

y() - Method in class drop.DropEvent
get the y coordinate where the object was dropped.
A B C D F H I L M R S T U V X Y 
Skip navigation links

Processing Library Drop by [Ramin Soleymani](http://diskordier.net), original sDrop by [Andreas Schlegel](http://www.sojamo.com). (c) 2015