Lines Matching refs:JSpinner
37 import javax.swing.JSpinner.DefaultEditor;
76 JSpinner spinner;
91 this.spinner = (JSpinner)c;
106 // this doesn't work because JSpinner calls setOpaque(true) directly in it's constructor
299 JSpinner spinner = null;
308 private JSpinner eventToSpinner(final AWTEvent e) {
310 while ((src instanceof Component) && !(src instanceof JSpinner)) {
313 return (src instanceof JSpinner) ? (JSpinner)src : null;
346 private void select(final JSpinner spinnerComponent) {
348 if (!(editor instanceof JSpinner.DateEditor)) return;
350 final JSpinner.DateEditor dateEditor = (JSpinner.DateEditor)editor;
396 private int getCalendarField(final JSpinner spinnerComponent) {
398 if (!(editor instanceof JSpinner.DateEditor)) return -1;
400 final JSpinner.DateEditor dateEditor = (JSpinner.DateEditor)editor;
623 * Detect JSpinner property changes we're interested in and delegate. Subclasses
631 final JSpinner spinner = (JSpinner)(e.getSource());
648 if (editor != null && editor instanceof JSpinner.DefaultEditor) {
650 ((JSpinner.DefaultEditor) editor).getTextField();
668 if (element instanceof JSpinner.DefaultEditor) {
669 final JTextField tf = ((JSpinner.DefaultEditor)element).getTextField();