|
What this is
Other links
The source code
/*
* Sun Public License Notice
*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"). You may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/
*
* The Original Code is Forte for Java, Community Edition. The Initial
* Developer of the Original Code is Sun Microsystems, Inc. Portions
* Copyright 1997-2002 Sun Microsystems, Inc. All Rights Reserved.
*/
package org.netbeans.modules.looks;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.List;
import java.util.TooManyListenersException;
import javax.swing.event.ChangeListener;
import javax.swing.event.EventListenerList;
import org.netbeans.spi.looks.LookSelector;
import org.netbeans.spi.looks.LookProvider;
import org.netbeans.spi.looks.ChangeableLookProvider;
import org.netbeans.modules.looks.NamespaceLookProvider;
import org.openide.util.enum.EmptyEnumeration;
/** Interface which serves as a delegate for the LookSelector
* final class in the SPI. The only thing the LookSelector does
* is to delegate to it's implementatation. The two innerclasses
* of the interface provide the implementation for the two LookProvoders
* (I.e. the fixed LookProvider and the ChangeableLookProvider which
* may change it's content during runtime.
*
*/
public interface SelectorImpl {
public void setLookSelector( LookSelector selector ) throws TooManyListenersException;
public Enumeration getLooks( Object representedObject );
public void addSelectorListener( SelectorListener listener );
public void removeSelectorListener( SelectorListener listener );
// Package private members -------------------------------------------------
// To be used only from the instances of
static final Object FIXED = new String("org.netbeans.modules.looks.SelectorImpl.FIXED"); //NOI18N
Object getKey4Object( Object representedObject );
Enumeration getLooks4Key( Object key );
HashMap getCache();
}
|
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.