|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.dnd.DropTarget edu.northwestern.at.utils.swing.FileNameTextField.FileNameDropTarget
class FileNameTextField.FileNameDropTarget
Drop target for file name.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.dnd.DropTarget |
---|
java.awt.dnd.DropTarget.DropTargetAutoScroller |
Field Summary | |
---|---|
protected FileNameTextField |
fileNameTextField
The text field to which to drop the file name. |
Constructor Summary | |
---|---|
FileNameTextField.FileNameDropTarget(FileNameTextField fileNameTextField)
Create a file name drop target. |
Method Summary | |
---|---|
void |
dragOver(java.awt.dnd.DropTargetDragEvent dtde)
Handles a drag over event. |
void |
drop(java.awt.dnd.DropTargetDropEvent dtde)
Handles drop events. |
Methods inherited from class java.awt.dnd.DropTarget |
---|
addDropTargetListener, addNotify, clearAutoscroll, createDropTargetAutoScroller, createDropTargetContext, dragEnter, dragExit, dropActionChanged, getComponent, getDefaultActions, getDropTargetContext, getFlavorMap, initializeAutoscrolling, isActive, removeDropTargetListener, removeNotify, setActive, setComponent, setDefaultActions, setFlavorMap, updateAutoscroll |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected FileNameTextField fileNameTextField
Constructor Detail |
---|
public FileNameTextField.FileNameDropTarget(FileNameTextField fileNameTextField)
fileNameTextField
- Text field into which to
drop file name. Method Detail |
---|
public void dragOver(java.awt.dnd.DropTargetDragEvent dtde)
dragOver
in interface java.awt.dnd.DropTargetListener
dragOver
in class java.awt.dnd.DropTarget
dtde
- The event. public void drop(java.awt.dnd.DropTargetDropEvent dtde)
drop
in interface java.awt.dnd.DropTargetListener
drop
in class java.awt.dnd.DropTarget
dtde
- The dtde.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |