< prev index next >

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

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


  27 
  28 import javax.swing.plaf.basic.BasicSliderUI;
  29 
  30 import java.awt.Graphics;
  31 import java.awt.Dimension;
  32 import java.awt.Rectangle;
  33 import java.awt.Color;
  34 import java.beans.*;
  35 
  36 import javax.swing.*;
  37 import javax.swing.plaf.*;
  38 
  39 /**
  40  * A Java L&amp;F implementation of SliderUI.
  41  * <p>
  42  * <strong>Warning:</strong>
  43  * Serialized objects of this class will not be compatible with
  44  * future Swing releases. The current serialization support is
  45  * appropriate for short term storage or RMI between applications running
  46  * the same version of Swing.  As of 1.4, support for long term storage
  47  * of all JavaBeans&trade;
  48  * has been added to the <code>java.beans</code> package.
  49  * Please see {@link java.beans.XMLEncoder}.
  50  *
  51  * @author Tom Santos
  52  */
  53 @SuppressWarnings("serial") // Same-version serialization only
  54 public class MetalSliderUI extends BasicSliderUI {
  55 
  56     /**
  57      * The buffer of a tick.
  58      */
  59     protected final int TICK_BUFFER = 4;
  60 
  61     /**
  62      * The value of the property {@code JSlider.isFilled}.
  63      * By default, {@code false} if the property is not set,
  64      * {@code true} for Ocean theme.
  65      */
  66     protected boolean filledSlider = false;
  67 




  27 
  28 import javax.swing.plaf.basic.BasicSliderUI;
  29 
  30 import java.awt.Graphics;
  31 import java.awt.Dimension;
  32 import java.awt.Rectangle;
  33 import java.awt.Color;
  34 import java.beans.*;
  35 
  36 import javax.swing.*;
  37 import javax.swing.plaf.*;
  38 
  39 /**
  40  * A Java L&amp;F implementation of SliderUI.
  41  * <p>
  42  * <strong>Warning:</strong>
  43  * Serialized objects of this class will not be compatible with
  44  * future Swing releases. The current serialization support is
  45  * appropriate for short term storage or RMI between applications running
  46  * the same version of Swing.  As of 1.4, support for long term storage
  47  * of all JavaBeans
  48  * has been added to the <code>java.beans</code> package.
  49  * Please see {@link java.beans.XMLEncoder}.
  50  *
  51  * @author Tom Santos
  52  */
  53 @SuppressWarnings("serial") // Same-version serialization only
  54 public class MetalSliderUI extends BasicSliderUI {
  55 
  56     /**
  57      * The buffer of a tick.
  58      */
  59     protected final int TICK_BUFFER = 4;
  60 
  61     /**
  62      * The value of the property {@code JSlider.isFilled}.
  63      * By default, {@code false} if the property is not set,
  64      * {@code true} for Ocean theme.
  65      */
  66     protected boolean filledSlider = false;
  67 


< prev index next >