Lines Matching refs:JSpinner

55  * A <code>JSpinner</code>'s sequence value is defined by its
62 * A <code>JSpinner</code> has a single child component that's
66 * by the <code>JSpinner</code>'s constructor and can be changed with the
67 * <code>editor</code> property. The <code>JSpinner</code>'s editor stays
126 public class JSpinner extends JComponent implements Accessible
150 public JSpinner(SpinnerModel model) {
165 public JSpinner() {
230 * <li> <code>SpinnerNumberModel =&gt; JSpinner.NumberEditor</code>
231 * <li> <code>SpinnerDateModel =&gt; JSpinner.DateEditor</code>
232 * <li> <code>SpinnerListModel =&gt; JSpinner.ListEditor</code>
233 * <li> <i>all others</i> =&gt; <code>JSpinner.DefaultEditor</code>
394 * <code>JSpinner</code>. Note also that replacing the model
395 * will not affect listeners added directly to JSpinner.
428 * to this JSpinner with addChangeListener().
441 * <code>JSpinner</code>, to each <code>ChangeListener</code>.
584 * editors <code>ChangeListener</code> from the <code>JSpinner</code>
587 * replaces an editor that's derived from <code>JSpinner.DefaultEditor</code>
589 * <code>JSpinner</code> will be removed. However after that,
607 * Constructs an editor component for the specified <code>JSpinner</code>.
616 * @see JSpinner#addChangeListener
618 public DefaultEditor(JSpinner spinner) {
654 * <code>JSpinner</code>. By default, this method removes
657 * @param spinner the <code>JSpinner</code> to disconnect this
660 public void dismiss(JSpinner spinner) {
666 * Returns the <code>JSpinner</code> ancestor of this editor or
668 * <code>JSpinner</code>.
669 * Typically the editor's parent is a <code>JSpinner</code> however
670 * subclasses of <code>JSpinner</code> may override the
672 * between the <code>JSpinner</code> and it's editor.
674 * @return <code>JSpinner</code> ancestor; <code>null</code>
675 * if none of the ancestors are a <code>JSpinner</code>
677 * @see JSpinner#createEditor
679 public JSpinner getSpinner() {
681 if (c instanceof JSpinner) {
682 return (JSpinner)c;
710 * <code>JSpinner</code> whose model has changed.
712 * @see JSpinner#getValue
715 JSpinner spinner = (JSpinner)(e.getSource());
737 JSpinner spinner = getSpinner();
935 * An editor for a <code>JSpinner</code> whose model is a
957 * Construct a <code>JSpinner</code> editor that supports displaying
972 public DateEditor(JSpinner spinner) {
978 * Construct a <code>JSpinner</code> editor that supports displaying
997 public DateEditor(JSpinner spinner, String dateFormatPattern) {
1003 * Construct a <code>JSpinner</code> editor that supports displaying
1022 private DateEditor(JSpinner spinner, DateFormat format) {
1113 * An editor for a <code>JSpinner</code> whose model is a
1134 * Construct a <code>JSpinner</code> editor that supports displaying
1149 public NumberEditor(JSpinner spinner) {
1154 * Construct a <code>JSpinner</code> editor that supports displaying
1174 public NumberEditor(JSpinner spinner, String decimalFormatPattern) {
1180 * Construct a <code>JSpinner</code> editor that supports displaying
1198 private NumberEditor(JSpinner spinner, DecimalFormat format) {
1260 * An editor for a <code>JSpinner</code> whose model is a
1267 * Construct a <code>JSpinner</code> editor that supports displaying
1281 public ListEditor(JSpinner spinner) {
1392 * Gets the <code>AccessibleContext</code> for the <code>JSpinner</code>
1394 * @return the <code>AccessibleContext</code> for the <code>JSpinner</code>
1406 * support for the <code>JSpinner</code> class.
1421 JSpinner.this.addChangeListener(this);
1475 // the JSpinner has one child, the editor
1493 // the JSpinner has one child, the editor
1528 * Returns the AccessibleContext for the JSpinner editor
1543 * Returns the AccessibleText for the JSpinner editor
1554 * Returns the AccessibleEditableText for the JSpinner editor
1737 if (at != null && sameWindowAncestor(JSpinner.this, editor)) {
1738 // convert point from the JSpinner bounds (source) to
1740 Point editorPoint = SwingUtilities.convertPoint(JSpinner.this,
1765 sameWindowAncestor(JSpinner.this, editor)) {
1766 // return rectangle in the the JSpinner bounds
1769 JSpinner.this);