Package org.jfree.ui

Examples of org.jfree.ui.Spinner


        this.spinShip.addPropertyChangeListener(new PropertyChangeListener() {
            public void propertyChange(final PropertyChangeEvent evt) {
              if (DEBUG) {
                System.out.println("compassDemo:spinShipPropertyChange");
              }
              final Spinner spinner = (Spinner) evt.getSource();
              if (spinner.isEnabled()) {
                shipData.setValue(new Double(spinner.getValue()));
              }
            }
        });

        this.spinWind.addPropertyChangeListener(new PropertyChangeListener() {
            public void propertyChange(final PropertyChangeEvent evt) {
                if (DEBUG) {
                  System.out.println("compassDemo:spinWindPropertyChange");
               
                final Spinner spinner = (Spinner) evt.getSource();
                if (spinner.isEnabled()) {
                  compassData.setValue(new Double(spinner.getValue()));
                }
            }
        });
        this.jPanel12.setLayout(this.gridLayout2);
        this.jPanel2.setBorder(this.titledBorder1);
View Full Code Here


        this.combo3 = new JComboBox();
        populateTextAnchorCombo(this.combo3);
        this.combo3.setActionCommand("combo3.changed");
        this.combo3.addActionListener(this);
        controls.add(this.combo3);
        this.spinner = new Spinner(0);
        this.spinner.addPropertyChangeListener(this);
        controls.add(this.spinner);
        content.add(controls, BorderLayout.NORTH);
        this.drawStringPanel2 = new DrawStringPanel("Rotated Text", true);
        content.add(this.drawStringPanel2);
View Full Code Here

TOP

Related Classes of org.jfree.ui.Spinner

Copyright © 2018 www.massapicom. 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.