|
|||||||||
| Home >> All >> org >> merlotxml >> [ merlot overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.merlotxml.merlot
Class DNDJScrollPane

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JScrollPane
org.merlotxml.merlot.DNDJScrollPane
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.dnd.DropTargetListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.ScrollPaneConstants, java.io.Serializable
- public class DNDJScrollPane
- extends javax.swing.JScrollPane
- implements java.awt.dnd.DropTargetListener
- extends javax.swing.JScrollPane
JScrollPane that delegates drag and drop events to it's viewport component if the viewport supports drag and drop. This is usefull for things like tables or trees that might not fill their scrollpane, but you still want to be able to drop stuff within the full pane and have it go to the component. XXX I don't thinks this works currently
- Version:
- $Id: DNDJScrollPane.java,v 1.2 2001/07/04 09:26:49 flament Exp $
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JScrollPane |
javax.swing.JScrollPane.AccessibleJScrollPane, javax.swing.JScrollPane.ScrollBar |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
protected java.awt.dnd.DropTargetListener |
_delegate
|
protected java.awt.dnd.DropTarget |
_dropTarget
|
| Fields inherited from class javax.swing.JScrollPane |
columnHeader, horizontalScrollBar, horizontalScrollBarPolicy, lowerLeft, lowerRight, rowHeader, upperLeft, upperRight, verticalScrollBar, verticalScrollBarPolicy, viewport |
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
DNDJScrollPane()
|
|
DNDJScrollPane(java.awt.Component c)
|
|
DNDJScrollPane(java.awt.Component c,
int hp,
int vp)
|
|
DNDJScrollPane(int hp,
int vp)
|
|
| Method Summary | |
void |
dragEnter(java.awt.dnd.DropTargetDragEvent dtde)
Called when the cursor hotspot enters a drop site which will accept the drag. |
void |
dragExit(java.awt.dnd.DropTargetEvent dte)
Called when the cursor hotspot moves outside of a drop site which will accept the drag. |
void |
dragOver(java.awt.dnd.DropTargetDragEvent dtde)
Called when the cursor hotspot moves inside of a drop site which will accept the drag. |
void |
drop(java.awt.dnd.DropTargetDropEvent dtde)
Called when the drag operation has terminated with a drop. |
void |
dropActionChanged(java.awt.dnd.DropTargetDragEvent dtde)
Called when the user modifies the drop gesture. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
_delegate
protected java.awt.dnd.DropTargetListener _delegate
_dropTarget
protected java.awt.dnd.DropTarget _dropTarget
| Constructor Detail |
DNDJScrollPane
public DNDJScrollPane()
DNDJScrollPane
public DNDJScrollPane(java.awt.Component c)
DNDJScrollPane
public DNDJScrollPane(java.awt.Component c, int hp, int vp)
DNDJScrollPane
public DNDJScrollPane(int hp,
int vp)
| Method Detail |
dragEnter
public void dragEnter(java.awt.dnd.DropTargetDragEvent dtde)
- Description copied from interface:
java.awt.dnd.DropTargetListener - Called when the cursor hotspot enters a drop site which will accept the
drag.
- Specified by:
dragEnterin interfacejava.awt.dnd.DropTargetListener
dragOver
public void dragOver(java.awt.dnd.DropTargetDragEvent dtde)
- Description copied from interface:
java.awt.dnd.DropTargetListener - Called when the cursor hotspot moves inside of a drop site which will
accept the drag.
- Specified by:
dragOverin interfacejava.awt.dnd.DropTargetListener
dropActionChanged
public void dropActionChanged(java.awt.dnd.DropTargetDragEvent dtde)
- Description copied from interface:
java.awt.dnd.DropTargetListener - Called when the user modifies the drop gesture. This is often the case
when additional mouse or key events are received during the drag.
- Specified by:
dropActionChangedin interfacejava.awt.dnd.DropTargetListener
dragExit
public void dragExit(java.awt.dnd.DropTargetEvent dte)
- Description copied from interface:
java.awt.dnd.DropTargetListener - Called when the cursor hotspot moves outside of a drop site which will
accept the drag. This could also happen if the drop site is no longer
active, or no longer accepts the drag.
- Specified by:
dragExitin interfacejava.awt.dnd.DropTargetListener
drop
public void drop(java.awt.dnd.DropTargetDropEvent dtde)
- Description copied from interface:
java.awt.dnd.DropTargetListener - Called when the drag operation has terminated with a drop.
- Specified by:
dropin interfacejava.awt.dnd.DropTargetListener
|
|||||||||
| Home >> All >> org >> merlotxml >> [ merlot overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC