本文整理了Java中com.mxgraph.view.mxGraph.splitEdge()
方法的一些代码示例,展示了mxGraph.splitEdge()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。mxGraph.splitEdge()
方法的具体详情如下:
包路径:com.mxgraph.view.mxGraph
类名称:mxGraph
方法名:splitEdge
暂无
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
*
*/
public Object splitEdge(Object edge, Object[] cells)
{
return splitEdge(edge, cells, null, 0, 0);
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
*
*/
public Object splitEdge(Object edge, Object[] cells)
{
return splitEdge(edge, cells, null, 0, 0);
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
*
*/
public Object splitEdge(Object edge, Object[] cells, double dx, double dy)
{
return splitEdge(edge, cells, null, dx, dy);
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
*
*/
public Object splitEdge(Object edge, Object[] cells, double dx, double dy)
{
return splitEdge(edge, cells, null, dx, dy);
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
* 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. Selects and returns the cells that have been
* imported.
*/
protected Object[] importCells(mxGraphComponent graphComponent,
mxGraphTransferable gt, double dx, double dy)
{
Object target = getDropTarget(graphComponent, gt);
mxGraph graph = graphComponent.getGraph();
Object[] cells = gt.getCells();
cells = graphComponent.getImportableCells(cells);
if (graph.isSplitEnabled() && graph.isSplitTarget(target, cells))
{
graph.splitEdge(target, cells, dx, dy);
}
else
{
cells = graphComponent.importCells(cells, dx, dy, target, location);
graph.setSelectionCells(cells);
}
return cells;
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
* 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. Selects and returns the cells that have been
* imported.
*/
protected Object[] importCells(mxGraphComponent graphComponent,
mxGraphTransferable gt, double dx, double dy)
{
Object target = getDropTarget(graphComponent, gt);
mxGraph graph = graphComponent.getGraph();
Object[] cells = gt.getCells();
cells = graphComponent.getImportableCells(cells);
if (graph.isSplitEnabled() && graph.isSplitTarget(target, cells))
{
graph.splitEdge(target, cells, dx, dy);
}
else
{
cells = graphComponent.importCells(cells, dx, dy, target, location);
graph.setSelectionCells(cells);
}
return cells;
}
代码示例来源:origin: sc.fiji/TrackMate_
lGraph.splitEdge( target, cells, dx, dy );
代码示例来源:origin: fiji/TrackMate
lGraph.splitEdge( target, cells, dx, dy );
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
&& graph.isSplitTarget(target, cells))
graph.splitEdge(target, cells, dx, dy);
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
&& graph.isSplitTarget(target, cells))
graph.splitEdge(target, cells, dx, dy);
内容来源于网络,如有侵权,请联系作者删除!