本文整理了Java中com.mxgraph.view.mxGraph.clearSelection()
方法的一些代码示例,展示了mxGraph.clearSelection()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。mxGraph.clearSelection()
方法的具体详情如下:
包路径:com.mxgraph.view.mxGraph
类名称:mxGraph
方法名:clearSelection
暂无
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
* Uses the given cell as the root of the displayed cell hierarchy. If no
* cell is specified then the selection cell is used. The cell is only used
* if <isValidRoot> returns true.
*
* @param cell
*/
public void enterGroup(Object cell)
{
if (cell == null)
{
cell = getSelectionCell();
}
if (cell != null && isValidRoot(cell))
{
view.setCurrentRoot(cell);
clearSelection();
}
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
* Uses the given cell as the root of the displayed cell hierarchy. If no
* cell is specified then the selection cell is used. The cell is only used
* if <isValidRoot> returns true.
*
* @param cell
*/
public void enterGroup(Object cell)
{
if (cell == null)
{
cell = getSelectionCell();
}
if (cell != null && isValidRoot(cell))
{
view.setCurrentRoot(cell);
clearSelection();
}
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
*
*/
public Object[] selectRegion(Rectangle rect, MouseEvent e)
{
Object[] cells = getCells(rect);
if (cells.length > 0)
{
selectCellsForEvent(cells, e);
}
else if (!graph.isSelectionEmpty() && !e.isConsumed())
{
graph.clearSelection();
}
return cells;
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
graph.clearSelection();
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
*
*/
public Object[] selectRegion(Rectangle rect, MouseEvent e)
{
Object[] cells = getCells(rect);
if (cells.length > 0)
{
selectCellsForEvent(cells, e);
}
else if (!graph.isSelectionEmpty() && !e.isConsumed())
{
graph.clearSelection();
}
return cells;
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
graph.clearSelection();
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
&& !graphComponent.getGraph().isSelectionEmpty())
graphComponent.getGraph().clearSelection();
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
&& !graphComponent.getGraph().isSelectionEmpty())
graphComponent.getGraph().clearSelection();
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
graphComponent.getGraph().clearSelection();
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
graphComponent.getGraph().clearSelection();
代码示例来源:origin: org.activecomponents.jadex/jadex-editor-bpmn
graphComponent.getGraph().clearSelection();
代码示例来源:origin: sc.fiji/TrackMate_
lGraph.clearSelection(); // JYT I did this to
代码示例来源:origin: fiji/TrackMate
lGraph.clearSelection(); // JYT I did this to
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
graph.clearSelection();
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
graph.clearSelection();
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
clearSelection();
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
clearSelection();
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
clearSelection();
removeStateForCell(((mxRootChange) change).getPrevious());
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
clearSelection();
removeStateForCell(((mxRootChange) change).getPrevious());
内容来源于网络,如有侵权,请联系作者删除!