< prev index next >

src/java.datatransfer/share/classes/java/awt/datatransfer/FlavorEvent.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 20,52 **** * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ package java.awt.datatransfer; import java.util.EventObject; - /** ! * <code>FlavorEvent</code> is used to notify interested parties ! * that available {@link DataFlavor}s have changed in the ! * {@link Clipboard} (the event source). ! * ! * @see FlavorListener * * @author Alexander Gerasimov * @since 1.5 */ public class FlavorEvent extends EventObject { private static final long serialVersionUID = -5842664112252414548L; /** ! * Constructs a <code>FlavorEvent</code> object. ! * ! * @param source the <code>Clipboard</code> that is the source of the event * * @throws IllegalArgumentException if the {@code source} is {@code null} */ public FlavorEvent(Clipboard source) { super(source); } --- 20,50 ---- * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ + package java.awt.datatransfer; import java.util.EventObject; /** ! * {@code FlavorEvent} is used to notify interested parties that available ! * {@link DataFlavor}s have changed in the {@link Clipboard} (the event source). * * @author Alexander Gerasimov + * @see FlavorListener * @since 1.5 */ public class FlavorEvent extends EventObject { + private static final long serialVersionUID = -5842664112252414548L; /** ! * Constructs a {@code FlavorEvent} object. * + * @param source the {@code Clipboard} that is the source of the event * @throws IllegalArgumentException if the {@code source} is {@code null} */ public FlavorEvent(Clipboard source) { super(source); }
< prev index next >