本文整理了Java中com.mxgraph.view.mxGraph.removeCells()
方法的一些代码示例,展示了mxGraph.removeCells()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。mxGraph.removeCells()
方法的具体详情如下:
包路径:com.mxgraph.view.mxGraph
类名称:mxGraph
方法名:removeCells
[英]Removes the selection cells from the graph.
[中]从图形中删除选择单元格。
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
* Removes the selection cells from the graph.
*
* @return Returns the cells that have been removed.
*/
public Object[] removeCells()
{
return removeCells(null);
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
* Removes the given cells from the graph.
*
* @param cells Array of cells to remove.
* @return Returns the cells that have been removed.
*/
public Object[] removeCells(Object[] cells)
{
return removeCells(cells, true);
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
* Removes the given cells from the graph.
*
* @param cells Array of cells to remove.
* @return Returns the cells that have been removed.
*/
public Object[] removeCells(Object[] cells)
{
return removeCells(cells, true);
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
* Removes the selection cells from the graph.
*
* @return Returns the cells that have been removed.
*/
public Object[] removeCells()
{
return removeCells(null);
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
*
*/
public void actionPerformed(ActionEvent e)
{
mxGraph graph = getGraph(e);
if (graph != null)
{
graph.removeCells();
}
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
*
*/
public void actionPerformed(ActionEvent e)
{
mxGraph graph = getGraph(e);
if (graph != null)
{
graph.removeCells();
}
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
*
*/
protected void removeCells(mxGraphComponent graphComponent, Object[] cells)
{
graphComponent.getGraph().removeCells(cells);
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
*
*/
protected void removeCells(mxGraphComponent graphComponent, Object[] cells)
{
graphComponent.getGraph().removeCells(cells);
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
graph.removeCells(new Object[] { currEdge });
graph.removeCells(duplEdges);
};
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
graph.removeCells(new Object[] { currEdge });
graph.removeCells(duplEdges);
};
代码示例来源:origin: org.activecomponents.jadex/jadex-editor-bpmn
graph.removeCells(edges.toArray());
代码示例来源:origin: stackoverflow.com
graph.removeCells(new Object[]{v1});
} finally {
graph.getModel().endUpdate();
代码示例来源:origin: org.activecomponents.jadex/jadex-editor-bpmn
graph.removeCells(edges.toArray());
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
graphCopy.removeCells(leaf);
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
graphCopy.removeCells(leaf);
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
graphCopy.removeCells(leaf);
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
graphCopy.removeCells(leaf);
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
(int) aGraph.getGenerator().getCostFunction().getCost(new mxCellState(graph.getView(), vertex, null)));
graphCopy.removeCells(new Object[] { newVertex }, true);
Object[][] oldComponents = getGraphComponents(aGraph);
Object[][] newComponents = getGraphComponents(aGraphCopy);
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
(int) aGraph.getGenerator().getCostFunction().getCost(new mxCellState(graph.getView(), vertex, null)));
graphCopy.removeCells(new Object[] { newVertex }, true);
Object[][] oldComponents = getGraphComponents(aGraph);
Object[][] newComponents = getGraphComponents(aGraphCopy);
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
graphCopy.removeCells(new Object[] { currEdge }, true);
Object[][] oldComponents = getGraphComponents(aGraph);
Object[][] newComponents = getGraphComponents(aGraphCopy);
内容来源于网络,如有侵权,请联系作者删除!