< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/BorderUIResource.java

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


  34 
  35 import java.beans.ConstructorProperties;
  36 import javax.swing.border.*;
  37 import javax.swing.Icon;
  38 import javax.swing.plaf.UIResource;
  39 
  40 
  41 /**
  42  * A Border wrapper class which implements UIResource.  UI
  43  * classes which set border properties should use this class
  44  * to wrap any borders specified as defaults.
  45  *
  46  * This class delegates all method invocations to the
  47  * Border "delegate" object specified at construction.
  48  * <p>
  49  * <strong>Warning:</strong>
  50  * Serialized objects of this class will not be compatible with
  51  * future Swing releases. The current serialization support is
  52  * appropriate for short term storage or RMI between applications running
  53  * the same version of Swing.  As of 1.4, support for long term storage
  54  * of all JavaBeans&trade;
  55  * has been added to the <code>java.beans</code> package.
  56  * Please see {@link java.beans.XMLEncoder}.
  57  *
  58  * @see javax.swing.plaf.UIResource
  59  * @author Amy Fowler
  60  *
  61  */
  62 @SuppressWarnings("serial") // Same-version serialization only
  63 public class BorderUIResource implements Border, UIResource, Serializable
  64 {
  65     static Border etched;
  66     static Border loweredBevel;
  67     static Border raisedBevel;
  68     static Border blackLine;
  69 
  70     /**
  71      * Returns a etched border UI resource.
  72      * @return a etched border UI resource
  73      */
  74     public static Border getEtchedBorderUIResource() {




  34 
  35 import java.beans.ConstructorProperties;
  36 import javax.swing.border.*;
  37 import javax.swing.Icon;
  38 import javax.swing.plaf.UIResource;
  39 
  40 
  41 /**
  42  * A Border wrapper class which implements UIResource.  UI
  43  * classes which set border properties should use this class
  44  * to wrap any borders specified as defaults.
  45  *
  46  * This class delegates all method invocations to the
  47  * Border "delegate" object specified at construction.
  48  * <p>
  49  * <strong>Warning:</strong>
  50  * Serialized objects of this class will not be compatible with
  51  * future Swing releases. The current serialization support is
  52  * appropriate for short term storage or RMI between applications running
  53  * the same version of Swing.  As of 1.4, support for long term storage
  54  * of all JavaBeans
  55  * has been added to the <code>java.beans</code> package.
  56  * Please see {@link java.beans.XMLEncoder}.
  57  *
  58  * @see javax.swing.plaf.UIResource
  59  * @author Amy Fowler
  60  *
  61  */
  62 @SuppressWarnings("serial") // Same-version serialization only
  63 public class BorderUIResource implements Border, UIResource, Serializable
  64 {
  65     static Border etched;
  66     static Border loweredBevel;
  67     static Border raisedBevel;
  68     static Border blackLine;
  69 
  70     /**
  71      * Returns a etched border UI resource.
  72      * @return a etched border UI resource
  73      */
  74     public static Border getEtchedBorderUIResource() {


< prev index next >