< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/synth/SynthTextFieldUI.java

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


  26 package javax.swing.plaf.synth;
  27 
  28 import javax.swing.*;
  29 import javax.swing.text.*;
  30 import javax.swing.plaf.*;
  31 import javax.swing.plaf.basic.BasicTextFieldUI;
  32 import java.awt.*;
  33 import java.awt.event.FocusEvent;
  34 import java.awt.event.FocusListener;
  35 import java.beans.PropertyChangeEvent;
  36 
  37 
  38 /**
  39  * Provides the Synth L&amp;F UI delegate for {@link javax.swing.JTextField}.
  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  Shannon Hickey
  51  * @since 1.7
  52  */
  53 @SuppressWarnings("serial") // Same-version serialization only
  54 public class SynthTextFieldUI extends BasicTextFieldUI implements SynthUI {
  55     private Handler handler = new Handler();
  56     private SynthStyle style;
  57     private boolean updateKBAction = true;
  58 
  59     /**
  60      * Creates a UI for a JTextField.
  61      *
  62      * @param c the text field
  63      * @return the UI object
  64      */
  65     public static ComponentUI createUI(JComponent c) {
  66         return new SynthTextFieldUI();




  26 package javax.swing.plaf.synth;
  27 
  28 import javax.swing.*;
  29 import javax.swing.text.*;
  30 import javax.swing.plaf.*;
  31 import javax.swing.plaf.basic.BasicTextFieldUI;
  32 import java.awt.*;
  33 import java.awt.event.FocusEvent;
  34 import java.awt.event.FocusListener;
  35 import java.beans.PropertyChangeEvent;
  36 
  37 
  38 /**
  39  * Provides the Synth L&amp;F UI delegate for {@link javax.swing.JTextField}.
  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  Shannon Hickey
  51  * @since 1.7
  52  */
  53 @SuppressWarnings("serial") // Same-version serialization only
  54 public class SynthTextFieldUI extends BasicTextFieldUI implements SynthUI {
  55     private Handler handler = new Handler();
  56     private SynthStyle style;
  57     private boolean updateKBAction = true;
  58 
  59     /**
  60      * Creates a UI for a JTextField.
  61      *
  62      * @param c the text field
  63      * @return the UI object
  64      */
  65     public static ComponentUI createUI(JComponent c) {
  66         return new SynthTextFieldUI();


< prev index next >