本文整理了Java中prefuse.controls.ZoomToFitControl
类的一些代码示例,展示了ZoomToFitControl
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZoomToFitControl
类的具体详情如下:
包路径:prefuse.controls.ZoomToFitControl
类名称:ZoomToFitControl
[英]Zooms a display such that all items within a given group will fit within the display bounds. By default, this achieved by clicking the right mouse button once, with no dragging.
[中]缩放显示,使给定组中的所有项目都符合显示范围。默认情况下,只需单击鼠标右键一次即可实现,无需拖动。
代码示例来源:origin: de.sciss/prefuse-core
/**
* @see prefuse.controls.Control#itemClicked(prefuse.visual.VisualItem, java.awt.event.MouseEvent)
*/
public void itemClicked(VisualItem item, MouseEvent e) {
if ( m_zoomOverItem )
mouseClicked(e);
}
代码示例来源:origin: es.ucm.fdi.gaia/jCOLIBRI
dis.addControlListener(new PanControl());
dis.addControlListener(new ZoomControl());
dis.addControlListener(new ZoomToFitControl());
代码示例来源:origin: neueda/jetbrains-plugin-graph-database-support
addControlListener(new ZoomToFitControl());
addControlListener(new PanControl());
highlightControl = new CustomNeighborHighlightControl();
代码示例来源:origin: nz.ac.waikato.cms.weka/prefuseGraph
display.addControlListener(new ZoomControl());
display.addControlListener(new WheelZoomControl());
display.addControlListener(new ZoomToFitControl());
display.addControlListener(new NeighborHighlightControl());
代码示例来源:origin: nz.ac.waikato.cms.weka/prefuseTree
addControlListener(new ZoomToFitControl());
addControlListener(new ZoomControl());
addControlListener(new WheelZoomControl());
代码示例来源:origin: org.qi4j.tool/org.qi4j.tool.envisage
addControlListener( new ZoomToFitControl() );
addControlListener( new ZoomControl() );
addControlListener( new WheelZoomControl() );
内容来源于网络,如有侵权,请联系作者删除!