< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/metal/MetalScrollButton.java

Print this page
rev 60127 : 8249205: Remove unnecessary trademark symbols


  26 package javax.swing.plaf.metal;
  27 
  28 import java.awt.Dimension;
  29 import java.awt.Graphics;
  30 import java.awt.Color;
  31 import java.awt.Polygon;
  32 
  33 import javax.swing.*;
  34 
  35 import javax.swing.plaf.basic.BasicArrowButton;
  36 
  37 
  38 /**
  39  * JButton object for Metal scrollbar arrows.
  40  * <p>
  41  * <strong>Warning:</strong>
  42  * Serialized objects of this class will not be compatible with
  43  * future Swing releases. The current serialization support is
  44  * appropriate for short term storage or RMI between applications running
  45  * the same version of Swing.  As of 1.4, support for long term storage
  46  * of all JavaBeans&trade;
  47  * has been added to the <code>java.beans</code> package.
  48  * Please see {@link java.beans.XMLEncoder}.
  49  *
  50  * @author Tom Santos
  51  * @author Steve Wilson
  52  */
  53 @SuppressWarnings("serial") // Same-version serialization only
  54 public class MetalScrollButton extends BasicArrowButton
  55 {
  56   private static Color shadowColor;
  57   private static Color highlightColor;
  58   private boolean isFreeStanding = false;
  59 
  60   private int buttonWidth;
  61 
  62         /**
  63          * Constructs an instance of {@code MetalScrollButton}.
  64          *
  65          * @param direction the direction
  66          * @param width the width




  26 package javax.swing.plaf.metal;
  27 
  28 import java.awt.Dimension;
  29 import java.awt.Graphics;
  30 import java.awt.Color;
  31 import java.awt.Polygon;
  32 
  33 import javax.swing.*;
  34 
  35 import javax.swing.plaf.basic.BasicArrowButton;
  36 
  37 
  38 /**
  39  * JButton object for Metal scrollbar arrows.
  40  * <p>
  41  * <strong>Warning:</strong>
  42  * Serialized objects of this class will not be compatible with
  43  * future Swing releases. The current serialization support is
  44  * appropriate for short term storage or RMI between applications running
  45  * the same version of Swing.  As of 1.4, support for long term storage
  46  * of all JavaBeans
  47  * has been added to the <code>java.beans</code> package.
  48  * Please see {@link java.beans.XMLEncoder}.
  49  *
  50  * @author Tom Santos
  51  * @author Steve Wilson
  52  */
  53 @SuppressWarnings("serial") // Same-version serialization only
  54 public class MetalScrollButton extends BasicArrowButton
  55 {
  56   private static Color shadowColor;
  57   private static Color highlightColor;
  58   private boolean isFreeStanding = false;
  59 
  60   private int buttonWidth;
  61 
  62         /**
  63          * Constructs an instance of {@code MetalScrollButton}.
  64          *
  65          * @param direction the direction
  66          * @param width the width


< prev index next >