jdk/src/share/classes/javax/swing/plaf/synth/SynthArrowButton.java
changeset 23697 e556a715949f
parent 5506 202f599c92aa
equal deleted inserted replaced
23696:7deff68428ef 23697:e556a715949f
     1 /*
     1 /*
     2  * Copyright (c) 2002, 2008, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2002, 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
    31 /**
    31 /**
    32  * JButton object that draws a scaled Arrow in one of the cardinal directions.
    32  * JButton object that draws a scaled Arrow in one of the cardinal directions.
    33  *
    33  *
    34  * @author Scott Violet
    34  * @author Scott Violet
    35  */
    35  */
       
    36 @SuppressWarnings("serial") // Superclass is not serializable across versions
    36 class SynthArrowButton extends JButton implements SwingConstants, UIResource {
    37 class SynthArrowButton extends JButton implements SwingConstants, UIResource {
    37     private int direction;
    38     private int direction;
    38 
    39 
    39     public SynthArrowButton(int direction) {
    40     public SynthArrowButton(int direction) {
    40         super();
    41         super();