jtulach@0: /* jtulach@0: * Sun Public License Notice jtulach@0: * jtulach@0: * The contents of this file are subject to the Sun Public License jtulach@0: * Version 1.0 (the "License"). You may not use this file except in jtulach@0: * compliance with the License. A copy of the License is available at jtulach@0: * http://www.sun.com/ jtulach@0: * jtulach@0: * The Original Code is NetBeans. The Initial Developer of the Original jtulach@0: * Code is Sun Microsystems, Inc. Portions Copyright 1999-2006 Sun jtulach@0: * Microsystems, Inc. All Rights Reserved. jtulach@0: */ jtulach@0: jtulach@0: package apipkg; jtulach@0: jtulach@0: import implpkg.Accessor; jtulach@0: import javax.swing.event.ChangeEvent; jtulach@0: import javax.swing.event.ChangeListener; jtulach@0: jtulach@0: /** The bridge between api and impl package. jtulach@0: * jtulach@0: * @author Jaroslav Tulach jtulach@0: */ jtulach@3: // BEGIN: design.less.friend.AccessorImpl jtulach@0: final class AccessorImpl extends Accessor { jtulach@0: protected Item newItem() { jtulach@0: return new Item(); jtulach@0: } jtulach@0: jtulach@0: protected void addChangeListener(Item item, ChangeListener l) { jtulach@0: item.addChangeListener(l); jtulach@0: } jtulach@0: } jtulach@3: // END: design.less.friend.AccessorImpl