21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 package javax.swing.plaf; 27 28 import javax.swing.ComponentInputMap; 29 import javax.swing.JComponent; 30 31 32 /** 33 * A subclass of javax.swing.ComponentInputMap that implements UIResource. 34 * UI classes which provide a ComponentInputMap should use this class. 35 * 36 * @author Scott Violet 37 * @since 1.3 38 */ 39 @SuppressWarnings("serial") // Superclass is not serializable across versions 40 public class ComponentInputMapUIResource extends ComponentInputMap implements UIResource { 41 public ComponentInputMapUIResource(JComponent component) { 42 super(component); 43 } 44 } | 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 package javax.swing.plaf; 27 28 import javax.swing.ComponentInputMap; 29 import javax.swing.JComponent; 30 31 32 /** 33 * A subclass of javax.swing.ComponentInputMap that implements UIResource. 34 * UI classes which provide a ComponentInputMap should use this class. 35 * 36 * @author Scott Violet 37 * @since 1.3 38 */ 39 @SuppressWarnings("serial") // Superclass is not serializable across versions 40 public class ComponentInputMapUIResource extends ComponentInputMap implements UIResource { 41 /** 42 * Constructs a {@code ComponentInputMapUIResource}. 43 * @param component a non-null JComponent 44 */ 45 public ComponentInputMapUIResource(JComponent component) { 46 super(component); 47 } 48 } |