jdk/src/share/classes/javax/swing/SpinnerNumberModel.java
changeset 23697 e556a715949f
parent 23010 6dadb192ad81
child 25568 b906a74c6882
equal deleted inserted replaced
23696:7deff68428ef 23697:e556a715949f
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    78  * @see SpinnerDateModel
    78  * @see SpinnerDateModel
    79  *
    79  *
    80  * @author Hans Muller
    80  * @author Hans Muller
    81  * @since 1.4
    81  * @since 1.4
    82 */
    82 */
       
    83 @SuppressWarnings("serial") // Superclass is not serializable across versions
    83 public class SpinnerNumberModel extends AbstractSpinnerModel implements Serializable
    84 public class SpinnerNumberModel extends AbstractSpinnerModel implements Serializable
    84 {
    85 {
    85     private Number stepSize, value;
    86     private Number stepSize, value;
    86     private Comparable minimum, maximum;
    87     private Comparable minimum, maximum;
    87 
    88