Overview

Maps to JDK 1.6 javafx.swing.DropMode, also indicates which default drop operation to perform. For JDK 1.5, this has no visual effect but still effects the default drop operation.

Attribute Summary

nametypedescription
Public
idInteger

an identifier number, this number must track the order of enums defined in javax.swing.DropMode

INSERTDropMode

The drop location should be tracked in terms of the position where new data should be inserted.

INSERT_COLSDropMode

The drop location should be tracked in terms of the column index where new columns should be inserted to accommodate the dropped data.

INSERT_ROWSDropMode

The drop location should be tracked in terms of the row index where new rows should be inserted to accommodate the dropped data.

ONDropMode

The drop location should be tracked in terms of the index of existing items.

ON_OR_INSERTDropMode

This mode is a combination of ON and INSERT, specifying that data can be dropped on existing items, or in insert locations as specified by INSERT.

ON_OR_INSERT_COLSDropMode

This mode is a combination of ON and INSERT_COLS, specifying that data can be dropped on existing items, or as insert columns as specified by INSERT_COLS.

ON_OR_INSERT_ROWSDropMode

This mode is a combination of ON and INSERT_ROWS, specifying that data can be dropped on existing items, or as insert rows as specified by INSERT_ROWS.

USE_SELECTIONDropMode

A component's own internal selection mechanism (or caret for text components) should be used to track the drop location.

Protected

Inherited Attributes

Inherited Functions

Attributes

public id: Integer

an identifier number, this number must track the order of enums defined in javax.swing.DropMode

public static INSERT: DropMode

The drop location should be tracked in terms of the position where new data should be inserted. For components that manage a list of items (list and tree for example), the drop location should indicate the index where new data should be inserted. For text components the location should represent a position between characters. For components that manage tabular data (table for example), the drop location should indicate where to insert new rows, columns, or both, to accommodate the dropped data.

public static INSERT_COLS: DropMode

The drop location should be tracked in terms of the column index where new columns should be inserted to accommodate the dropped data. This is useful for components that manage tabular data.

public static INSERT_ROWS: DropMode

The drop location should be tracked in terms of the row index where new rows should be inserted to accommodate the dropped data. This is useful for components that manage tabular data.

public static ON: DropMode

The drop location should be tracked in terms of the index of existing items. Useful for dropping on items in tables, lists, and trees.

public static ON_OR_INSERT: DropMode

This mode is a combination of ON and INSERT, specifying that data can be dropped on existing items, or in insert locations as specified by INSERT.

public static ON_OR_INSERT_COLS: DropMode

This mode is a combination of ON and INSERT_COLS, specifying that data can be dropped on existing items, or as insert columns as specified by INSERT_COLS.

public static ON_OR_INSERT_ROWS: DropMode

This mode is a combination of ON and INSERT_ROWS, specifying that data can be dropped on existing items, or as insert rows as specified by INSERT_ROWS.

public static USE_SELECTION: DropMode

A component's own internal selection mechanism (or caret for text components) should be used to track the drop location.