/** * create the base class, setting common members and creating * a custom GraphMouse * @param vv the VisualizationViewer to work on */ public AbstractPerspectiveTransformSupport(VisualizationViewer<V,E> vv) { this.vv = vv; this.defaultToolTipText = vv.getToolTipText(); }
/** * create the base class, setting common members and creating * a custom GraphMouse * @param vv the VisualizationViewer to work on * @param lensGraphMouse the GraphMouse instance to use for the lens */ public AbstractLensSupport(VisualizationViewer<V,E> vv, ModalGraphMouse lensGraphMouse) { this.vv = vv; this.graphMouse = vv.getGraphMouse(); this.defaultToolTipText = vv.getToolTipText(); this.lensGraphMouse = lensGraphMouse; }
/** * create the base class, setting common members and creating a custom GraphMouse * * @param vv the VisualizationViewer to work on * @param lensGraphMouse the GraphMouse instance to use for the lens */ public AbstractLensSupport(VisualizationViewer<N, E> vv, ModalGraphMouse lensGraphMouse) { this.vv = vv; this.graphMouse = vv.getGraphMouse(); this.defaultToolTipText = vv.getToolTipText(); this.lensGraphMouse = lensGraphMouse; }