![]() |
All Packages This Package Class Hierarchy Class Search Index Class grendel.dnd.DragSourceContextjava.lang.Object | +----grendel.dnd.DragSourceContext
public class DragSourceContext
extends java.lang.Object
{
// Fields 10
static final int ACTION_MASK;
int fActions;
Component fComponent;
Cursor fCursor;
DragSourceListener fListener;
int fModifiers;
Cursor fOldCursor;
DragSource fSource;
Transferable fTransferable;
AWTEvent fTrigger;
// Constructors 1
public DragSourceContext(DragSource, Component, AWTEvent, Transferable);
// Methods 18
public void addDragSourceListener(DragSourceListener) throws TooManyListenersException;
public void cancelDrag() throws InvalidDnDOperationException;
public void commitDrop() throws InvalidDnDOperationException;
public Component getComponent();
public Cursor getCursor();
public DragSource getDragSource();
public int getSourceActions();
public Transferable getTransferable();
public AWTEvent getTrigger();
void notifyDragEnter();
void notifyDragExit();
void notifyDragGestureChanged();
void notifyDragOver();
void notifyDrop();
void notifyDropEnd(boolean, boolean);
public void removeDragSourceListener(DragSourceListener);
public void setCursor(Cursor) throws InvalidDnDOperationException;
public void setSourceActions(int) throws InvalidDnDOperationException;
// Inner Classes 1
class DragMouseListener
}
Fields ACTION_MASKstatic final int ACTION_MASK fSourceDragSource fSource fComponentComponent fComponent fTriggerAWTEvent fTrigger fTransferableTransferable fTransferable fActionsint fActions fModifiersint fModifiers fCursorCursor fCursor fOldCursorCursor fOldCursor fListenerDragSourceListener fListener
Constructors DragSourceContextpublic DragSourceContext(DragSource aSource, Component aComponent, AWTEvent aTrigger, Transferable aTransferable) Methods getDragSourcepublic DragSource getDragSource() getComponentpublic Component getComponent() getTriggerpublic AWTEvent getTrigger() getTransferablepublic Transferable getTransferable() cancelDragpublic void cancelDrag() throws InvalidDnDOperationException commitDroppublic void commitDrop() throws InvalidDnDOperationException getSourceActionspublic int getSourceActions() setSourceActionspublic void setSourceActions(int actions) throws InvalidDnDOperationException setCursorpublic void setCursor(Cursor cursor) throws InvalidDnDOperationException getCursorpublic Cursor getCursor() addDragSourceListenerpublic void addDragSourceListener(DragSourceListener dsl) throws TooManyListenersException removeDragSourceListenerpublic void removeDragSourceListener(DragSourceListener dsl) notifyDragEntervoid notifyDragEnter() notifyDragOvervoid notifyDragOver() notifyDragGestureChangedvoid notifyDragGestureChanged() notifyDragExitvoid notifyDragExit() notifyDropvoid notifyDrop() notifyDropEnd
void notifyDropEnd(boolean aCancelled,
boolean aSuccessful)
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4 |
|
|
Copyright © 1998-2000 The Mozilla Organization.
Last modified December 25, 1998. |
|