本文整理了Java中prefuse.Visualization.removeGroup()
方法的一些代码示例,展示了Visualization.removeGroup()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Visualization.removeGroup()
方法的具体详情如下:
包路径:prefuse.Visualization
类名称:Visualization
方法名:removeGroup
[英]Removes a data group from this Visualization. If the group is a focus group, the group will simply be removed, and any subsequent attempts to retrieve the group will return null. If the group is a primary group, it will be removed, and any members of the group will also be removed from any registered focus groups.
[中]从此可视化中删除数据组。如果该组是焦点组,则该组将被删除,随后任何检索该组的尝试都将返回null。如果该组是主要组,则该组将被删除,该组的任何成员也将从任何已注册的焦点组中删除。
代码示例来源:origin: com.googlecode.obvious/obvious-prefuse
/**
* Clear the visualization.
*/
public void clearVisualization() {
vis.removeGroup(groupName);
}
代码示例来源:origin: es.ucm.fdi.gaia/jCOLIBRI
/**
* Updating the graph
*/
public void setGraph(Graph g){
vis.cancel("layout");
vis.removeGroup(GRAPH);
vis.getGroup(Visualization.SEARCH_ITEMS).clear();
this.remove(spanel);
vis.addGraph(GRAPH, g);
addSearchPanel();
vis.setInteractive(EDGES, null, false);
setFocus(0);
stop.setText("Stop");
vis.run("layout");
}
代码示例来源:origin: nz.ac.waikato.cms.weka/prefuseGraph
m_vis.removeGroup(GRAPH);
VisualGraph vg = m_vis.addGraph(GRAPH, graph);
m_vis.setValue(GRAPH_EDGES, null, VisualItem.INTERACTIVE, Boolean.FALSE);
内容来源于网络,如有侵权,请联系作者删除!