< prev index next >

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

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


  32 import java.awt.event.*;
  33 import java.lang.ref.*;
  34 import java.util.*;
  35 import javax.swing.plaf.basic.BasicToggleButtonUI;
  36 
  37 import javax.swing.*;
  38 import javax.swing.border.*;
  39 import javax.swing.plaf.*;
  40 import javax.swing.*;
  41 
  42 import java.io.Serializable;
  43 
  44 /**
  45  * MetalToggleButton implementation
  46  * <p>
  47  * <strong>Warning:</strong>
  48  * Serialized objects of this class will not be compatible with
  49  * future Swing releases. The current serialization support is
  50  * appropriate for short term storage or RMI between applications running
  51  * the same version of Swing.  As of 1.4, support for long term storage
  52  * of all JavaBeans&trade;
  53  * has been added to the <code>java.beans</code> package.
  54  * Please see {@link java.beans.XMLEncoder}.
  55  *
  56  * @author Tom Santos
  57  */
  58 @SuppressWarnings("serial") // Same-version serialization only
  59 public class MetalToggleButtonUI extends BasicToggleButtonUI {
  60 
  61     private static final Object METAL_TOGGLE_BUTTON_UI_KEY = new Object();
  62 
  63     /**
  64      * The color of a focused toggle button.
  65      */
  66     protected Color focusColor;
  67 
  68     /**
  69      * The color of a selected button.
  70      */
  71     protected Color selectColor;
  72 




  32 import java.awt.event.*;
  33 import java.lang.ref.*;
  34 import java.util.*;
  35 import javax.swing.plaf.basic.BasicToggleButtonUI;
  36 
  37 import javax.swing.*;
  38 import javax.swing.border.*;
  39 import javax.swing.plaf.*;
  40 import javax.swing.*;
  41 
  42 import java.io.Serializable;
  43 
  44 /**
  45  * MetalToggleButton implementation
  46  * <p>
  47  * <strong>Warning:</strong>
  48  * Serialized objects of this class will not be compatible with
  49  * future Swing releases. The current serialization support is
  50  * appropriate for short term storage or RMI between applications running
  51  * the same version of Swing.  As of 1.4, support for long term storage
  52  * of all JavaBeans
  53  * has been added to the <code>java.beans</code> package.
  54  * Please see {@link java.beans.XMLEncoder}.
  55  *
  56  * @author Tom Santos
  57  */
  58 @SuppressWarnings("serial") // Same-version serialization only
  59 public class MetalToggleButtonUI extends BasicToggleButtonUI {
  60 
  61     private static final Object METAL_TOGGLE_BUTTON_UI_KEY = new Object();
  62 
  63     /**
  64      * The color of a focused toggle button.
  65      */
  66     protected Color focusColor;
  67 
  68     /**
  69      * The color of a selected button.
  70      */
  71     protected Color selectColor;
  72 


< prev index next >