GrammarScope
4.0.0
|
Classes | |
class | Row |
class | TransferableRows |
Public Member Functions | |
boolean | canImport (final JComponent sourceComponent, final DataFlavor[] flavors) |
int | getSourceActions (final JComponent c) |
boolean | importData (final TransferSupport support) |
Protected Member Functions | |
Transferable | createTransferable (final JComponent sourceComponent) |
void | exportDone (final JComponent component, final Transferable data, final int action) |
List< Row > | getRows (final JTable sourceTable) |
void | moveRows (final DefaultTableModel model, final int insertRowIndex0) |
Static Protected Member Functions | |
static void | putRows (final DefaultTableModel model, final List< Row > rows, final int insertRowIndex0) |
Static Package Functions | |
[static initializer] | |
Private Attributes | |
JTable | sourceTable |
JTable | destTable |
int[] | selectedRowsIndices |
Static Private Attributes | |
static final long | serialVersionUID = 1L |
static DataFlavor | flavor |
Transfer handler for drag and drop operations
|
staticpackage |
boolean grammarscope.common.filter.list.RelationTableTransferHandler.canImport | ( | final JComponent | sourceComponent, |
final DataFlavor[] | flavors | ||
) |
|
protected |
|
protected |
|
protected |
Get selected row items
sourceTable | table |
int grammarscope.common.filter.list.RelationTableTransferHandler.getSourceActions | ( | final JComponent | c | ) |
boolean grammarscope.common.filter.list.RelationTableTransferHandler.importData | ( | final TransferSupport | support | ) |
|
protected |
Move selected rows
model | table model |
insertRowIndex0 | index where to move row |
|
staticprotected |
Put rows
model | table model |
rows | transferred rows |
insertRowIndex0 | index where to insert row |
|
private |
Destination table
|
staticprivate |
Data flavour
|
private |
Indices of selected rows
|
staticprivate |
|
private |
Source table