|
Quaqua 8.0 2011-10-02 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.randelshofer.quaqua.QuaquaDropTargetListener
public class QuaquaDropTargetListener
QuaquaDropTargetListener is mostly a copy of javax.swing.basic.BasicDropTargetListener. This probably violates some licenses, but I don't know any other way to override the behavior of BasicTreeUI.
| Constructor Summary | |
|---|---|
protected |
QuaquaDropTargetListener()
construct a DropTargetAutoScroller |
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
The timer fired, perform autoscroll if the pointer is within the autoscroll region. |
void |
dragEnter(java.awt.dnd.DropTargetDragEvent e)
|
void |
dragExit(java.awt.dnd.DropTargetEvent e)
|
void |
dragOver(java.awt.dnd.DropTargetDragEvent e)
|
void |
drop(java.awt.dnd.DropTargetDropEvent e)
|
void |
dropActionChanged(java.awt.dnd.DropTargetDragEvent e)
|
protected void |
restoreComponentState(javax.swing.JComponent c)
called to restore the state of a component in case a drop is not performed. |
protected void |
restoreComponentStateForDrop(javax.swing.JComponent c)
called to restore the state of a component in case a drop is performed. |
protected void |
saveComponentState(javax.swing.JComponent c)
called to save the state of a component in case it needs to be restored because a drop is not performed. |
protected void |
updateInsertionLocation(javax.swing.JComponent c,
java.awt.Point p)
called to set the insertion location to match the current mouse pointer coordinates. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected QuaquaDropTargetListener()
| Method Detail |
|---|
protected void saveComponentState(javax.swing.JComponent c)
protected void restoreComponentState(javax.swing.JComponent c)
protected void restoreComponentStateForDrop(javax.swing.JComponent c)
protected void updateInsertionLocation(javax.swing.JComponent c,
java.awt.Point p)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenere - the ActionEventpublic void dragEnter(java.awt.dnd.DropTargetDragEvent e)
dragEnter in interface java.awt.dnd.DropTargetListenerpublic void dragOver(java.awt.dnd.DropTargetDragEvent e)
dragOver in interface java.awt.dnd.DropTargetListenerpublic void dragExit(java.awt.dnd.DropTargetEvent e)
dragExit in interface java.awt.dnd.DropTargetListenerpublic void drop(java.awt.dnd.DropTargetDropEvent e)
drop in interface java.awt.dnd.DropTargetListenerpublic void dropActionChanged(java.awt.dnd.DropTargetDragEvent e)
dropActionChanged in interface java.awt.dnd.DropTargetListener
|
Copyright 2003-2007 (c) Werner Randelshofer. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||