本文整理了Java中com.mxgraph.view.mxGraph.removeStateForCell()
方法的一些代码示例,展示了mxGraph.removeStateForCell()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。mxGraph.removeStateForCell()
方法的具体详情如下:
包路径:com.mxgraph.view.mxGraph
类名称:mxGraph
方法名:removeStateForCell
[英]Removes all cached information for the given cell and its descendants. This is called when a cell was removed from the model.
[中]删除给定单元格及其子体的所有缓存信息。当从模型中删除单元时,将调用此函数。
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
* Removes all cached information for the given cell and its descendants.
* This is called when a cell was removed from the model.
*
* @param cell Cell that was removed from the model.
*/
protected void removeStateForCell(Object cell)
{
int childCount = model.getChildCount(cell);
for (int i = 0; i < childCount; i++)
{
removeStateForCell(model.getChildAt(cell, i));
}
view.invalidate(cell);
view.removeState(cell);
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
* Removes all cached information for the given cell and its descendants.
* This is called when a cell was removed from the model.
*
* @param cell Cell that was removed from the model.
*/
protected void removeStateForCell(Object cell)
{
int childCount = model.getChildCount(cell);
for (int i = 0; i < childCount; i++)
{
removeStateForCell(model.getChildAt(cell, i));
}
view.invalidate(cell);
view.removeState(cell);
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
removeStateForCell(((mxRootChange) change).getPrevious());
removeStateForCell(cc.getChild());
removeStateForCell(cell);
removeStateForCell(cell);
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
removeStateForCell(((mxRootChange) change).getPrevious());
removeStateForCell(cc.getChild());
removeStateForCell(cell);
removeStateForCell(cell);
内容来源于网络,如有侵权,请联系作者删除!