jdk/src/share/classes/javax/swing/colorchooser/DefaultColorSelectionModel.java
changeset 23697 e556a715949f
parent 5506 202f599c92aa
equal deleted inserted replaced
23696:7deff68428ef 23697:e556a715949f
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 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
    35  *
    35  *
    36  * @author Steve Wilson
    36  * @author Steve Wilson
    37  *
    37  *
    38  * @see java.awt.Color
    38  * @see java.awt.Color
    39  */
    39  */
       
    40 @SuppressWarnings("serial") // Same-version serialization only
    40 public class DefaultColorSelectionModel implements ColorSelectionModel, Serializable {
    41 public class DefaultColorSelectionModel implements ColorSelectionModel, Serializable {
    41 
    42 
    42     /**
    43     /**
    43      * Only one <code>ChangeEvent</code> is needed per model instance
    44      * Only one <code>ChangeEvent</code> is needed per model instance
    44      * since the event's only (read-only) state is the source property.
    45      * since the event's only (read-only) state is the source property.