Searched refs:FlavorListener (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/src/share/classes/java/awt/datatransfer/
H A DFlavorListener.java36 public interface FlavorListener extends EventListener { interface in inherits:EventListener
H A DClipboard.java43 * {@link FlavorListener}s may be registered on an instance of the
107 * a different thread. The same applies to <code>FlavorListener</code>s
241 * Registers the specified <code>FlavorListener</code> to receive
250 * @see FlavorListener
254 public synchronized void addFlavorListener(FlavorListener listener) {
260 flavorListeners = new EventListenerAggregate(FlavorListener.class);
266 * Removes the specified <code>FlavorListener</code> so that it no longer
278 * @see FlavorListener
282 public synchronized void removeFlavorListener(FlavorListener listener) {
290 * Returns an array of all the <code>FlavorListener</cod
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/datatransfer/
H A DSunClipboard.java36 import java.awt.datatransfer.FlavorListener;
75 * A number of <code>FlavorListener</code>s currently registered
356 public synchronized void addFlavorListener(FlavorListener listener) {
364 contextFlavorListeners = new EventListenerAggregate(FlavorListener.class);
384 public synchronized void removeFlavorListener(FlavorListener listener) {
402 public synchronized FlavorListener[] getFlavorListeners() {
405 return contextFlavorListeners == null ? new FlavorListener[0] :
406 (FlavorListener[])contextFlavorListeners.getListenersCopy();
440 private final FlavorListener flavorListener;
442 SunFlavorChangeNotifier(FlavorListener flavorListene
[all...]

Completed in 45 milliseconds