Examples of pan()


Examples of org.jfree.chart.axis.ValueAxis.pan()

                continue;
            }
            if (axis.isInverted()) {
                percent = -percent;
            }
            axis.pan(percent);
        }
    }

    /**
     * Multiplies the range on the domain axis/axes by the specified factor.
View Full Code Here

Examples of org.jfree.chart.axis.ValueAxis.pan()

                continue;
            }
            if (isRangePannable() || subplot.isRangePannable()) {
                for (int i = 0; i < subplot.getRangeAxisCount(); i++) {
                    ValueAxis rangeAxis = subplot.getRangeAxis(i);
                    rangeAxis.pan(panRange);
                }
            }
        }
    }
View Full Code Here

Examples of org.jfree.chart.axis.ValueAxis.pan()

                continue;
            }
            if (axis.isInverted()) {
                percent = -percent;
            }
            axis.pan(percent);
        }
    }

    /**
     * Pans the range axes by the specified percentage.
View Full Code Here

Examples of org.jfree.chart.axis.ValueAxis.pan()

                continue;
            }
            if (axis.isInverted()) {
                percent = -percent;
            }
            axis.pan(percent);
        }
    }

    /**
     * Multiplies the range on the domain axis/axes by the specified factor.
View Full Code Here

Examples of org.jfree.chart.axis.ValueAxis.pan()

                continue;
            }
            if (isDomainPannable() || subplot.isDomainPannable()) {
                for (int i = 0; i < subplot.getDomainAxisCount(); i++) {
                    ValueAxis domainAxis = subplot.getDomainAxis(i);
                    domainAxis.pan(panRange);
                }
            }
        }
    }
View Full Code Here

Examples of org.locationtech.udig.project.ui.commands.TransformDrawCommand.pan()

          this.updateDelay = updateDelay2;
            this.context=context;
            if (command == null) {
                TransformDrawCommand transformDrawCommand = new TransformDrawCommand();
                command=transformDrawCommand;
                transformDrawCommand.pan(horizontal*PAN_AMOUNT, vertical*PAN_AMOUNT);
                context.sendASyncCommand(transformDrawCommand);
            } else {
                command.pan(horizontal*PAN_AMOUNT, vertical*PAN_AMOUNT);
                context.getViewportPane().repaint();
            }
View Full Code Here

Examples of prefuse.Display.pan()

    public void mouseDragged(MouseEvent e) {
        if ( UILib.isButtonPressed(e, m_button) ) {
            Display display = (Display)e.getComponent();
            int x = e.getX(),   y = e.getY();
            int dx = x-m_xDown, dy = y-m_yDown;
            display.pan(dx,dy);
            m_xDown = x;
            m_yDown = y;
            display.repaint();
        }
    }
View Full Code Here

Examples of prefuse.Display.pan()

        // --------------------------------------------------------------------
        // set up a display to show the visualization
       
        Display display = new Display(m_vis);
        display.setSize(700,700);
        display.pan(350, 350);
        display.setForeground(Color.GRAY);
        display.setBackground(Color.WHITE);
       
        // main display controls
        display.addControlListener(new FocusControl(1));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.