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

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

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

Visualization.addFocusGroup介绍

[英]Add a new secondary, or focus, group to this visualization. By default the added group is an instance of prefuse.data.tuple.DefaultTupleSet.
[中]将新的辅助组或焦点组添加到此可视化中。默认情况下,添加的组是prefuse的一个实例。数据元组。DefaultTupleSet。

代码示例

代码示例来源:origin: de.sciss/prefuse-core

/**
 * Create a new, empty Visualization. Uses a DefaultRendererFactory.
 */
public Visualization() {
  m_actions = new ActivityMap();
  m_renderers = new DefaultRendererFactory();
  m_visual = new LinkedHashMap();
  m_source = new HashMap();
  m_focus = new HashMap();
  m_displays = new ArrayList();
  
  addFocusGroup(Visualization.FOCUS_ITEMS,    new DefaultTupleSet());
  addFocusGroup(Visualization.SELECTED_ITEMS, new DefaultTupleSet());
}

代码示例来源:origin: de.sciss/prefuse-core

vis.addFocusGroup(searchGroup, m_searcher);

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

vis.addFocusGroup(Visualization.SEARCH_ITEMS, search);
search.addTupleSetListener(new TupleSetListener() {
 public void tupleSetChanged(TupleSet t, Tuple[] add, Tuple[] rem) {

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

m_vis.addFocusGroup(Visualization.SEARCH_ITEMS, search);
 search.addTupleSetListener(new TupleSetListener() {
public void tupleSetChanged(TupleSet t, Tuple[] add, Tuple[] rem) {

相关文章