Package | Description |
---|---|
com.mxgraph.swing.handler |
This package contains all classes required for mouse event handling in
JFC/Swing.
|
Modifier and Type | Method and Description |
---|---|
mxGraphTransferable |
mxGraphTransferHandler.createGraphTransferable(mxGraphComponent graphComponent,
java.lang.Object[] cells,
javax.swing.ImageIcon icon) |
mxGraphTransferable |
mxGraphTransferHandler.createGraphTransferable(mxGraphComponent graphComponent,
java.lang.Object[] cells,
mxRectangle bounds,
javax.swing.ImageIcon icon) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
mxGraphTransferHandler.getDropTarget(mxGraphComponent graphComponent,
mxGraphTransferable gt)
Returns the drop target for the given transferable and location.
|
protected java.lang.Object[] |
mxGraphTransferHandler.importCells(mxGraphComponent graphComponent,
mxGraphTransferable gt,
double dx,
double dy)
Gets a drop target using getDropTarget and imports the cells using
mxGraph.splitEdge or mxGraphComponent.importCells depending on the
drop target and the return values of mxGraph.isSplitEnabled and
mxGraph.isSplitTarget.
|
protected boolean |
mxGraphTransferHandler.importGraphTransferable(mxGraphComponent graphComponent,
mxGraphTransferable gt)
Returns true if the cells have been imported using importCells.
|
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.