QueryContinueDragEvent Class

QueryContinueDragEvent Class

This Package | All Packages

Event
  |
  +--QueryContinueDragEvent
public class QueryContinueDragEvent
extends Event

The QueryContinueDragEvent is fired to determine if the drag operation should continue.

Fields
Name Description
action This will be used as the response to the query.
ACTION_CANCEL The operation should be canceled, and no drop message sent.
ACTION_CONTINUE The operation should continue.
ACTION_DROP The operation should stop by performing a drop.
escapePressed Set to true if the user has pressed the ESC key.
keyState The current state of the SHIFT, CTRL, and ALT keys.

Constructors
Name Description
QueryContinueDragEvent(int keyState, boolean escapePressed, int action) Topic under construction.

Fields

QueryContinueDragEvent.action

Syntax
public int action;
Description
This will be used as the response to the query. Set to ACTION_CONTINUE to continue the drag operation.

QueryContinueDragEvent.ACTION_CANCEL

Syntax
public static final int ACTION_CANCEL;
Description
The operation should be canceled, and no drop message sent.

QueryContinueDragEvent.ACTION_CONTINUE

Syntax
public static final int ACTION_CONTINUE;
Description
The operation should continue.

QueryContinueDragEvent.ACTION_DROP

Syntax
public static final int ACTION_DROP;
Description
The operation should stop by performing a drop.

QueryContinueDragEvent.escapePressed

Syntax
public final boolean escapePressed;
Description
Set to true if the user has pressed the ESC key.

QueryContinueDragEvent.keyState

Syntax
public final int keyState;
Description
The current state of the SHIFT, CTRL, and ALT keys.

Constructors

QueryContinueDragEvent.QueryContinueDragEvent

Syntax
public QueryContinueDragEvent( int keyState, boolean escapePressed, int action );
Description

Topic under construction.