prefuse.Visualization.cancel()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(96)

本文整理了Java中prefuse.Visualization.cancel()方法的一些代码示例,展示了Visualization.cancel()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Visualization.cancel()方法的具体详情如下:
包路径:prefuse.Visualization
类名称:Visualization
方法名:cancel

Visualization.cancel介绍

[英]Cancel the Action with the given name, if it has been scheduled.
[中]取消具有给定名称的操作(如果已计划)。

代码示例

代码示例来源:origin: es.ucm.fdi.gaia/jCOLIBRI

public void windowClosing(WindowEvent e){
    GraphLayout.vis.cancel("layout");
  }
});

代码示例来源:origin: neueda/jetbrains-plugin-graph-database-support

public void stopLayout() {
  m_vis.cancel(LAYOUT);
  m_vis.cancel(REPAINT);
}

代码示例来源:origin: es.ucm.fdi.gaia/jCOLIBRI

public void actionPerformed(ActionEvent e) {
  if (e.getActionCommand().equals("Stop")){
   stop.setText("Run");
   vis.cancel("layout");
  }else{
   stop.setText("Stop");
   vis.run("layout");
  }
 }
});

代码示例来源:origin: nz.ac.waikato.cms.weka/prefuseTree

public void tupleSetChanged(TupleSet t, Tuple[] add, Tuple[] rem) {
 m_vis.cancel("animatePaint");
 m_vis.run("fullPaint");
 m_vis.run("animatePaint");
}
 });

代码示例来源:origin: nz.ac.waikato.cms.weka/prefuseTree

public void actionPerformed(ActionEvent evt) {
setOrientation(orientation);
getVisualization().cancel("orient");
getVisualization().run("treeLayout");
getVisualization().run("orient");
 }
}

代码示例来源: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");
 
}

相关文章