1 19 20 package org.netbeans.spi.looks; 21 22 import org.netbeans.modules.looks.LookListener; 23 import org.netbeans.modules.looks.SelectorListener; 24 25 29 final class AccessorImpl extends org.netbeans.modules.looks.Accessor { 30 31 32 public void addLookListener(Look look, Object representedObject, LookListener l) { 33 look.addLookListener (representedObject, l); 34 } 35 36 public void changeLookListener(Look look, Object representedObject, LookListener oldListener, LookListener newListener) { 37 look.changeLookListener (representedObject, oldListener, newListener ); 38 } 39 40 public void removeLookListener(Look look, Object representedObject, LookListener l) { 41 look.removeLookListener (representedObject, l); 42 } 43 44 public void addSelectorListener (LookSelector ls, SelectorListener l) { 45 ls.getImpl().addSelectorListener(l); 46 } 47 48 public void removeSelectorListener (LookSelector ls, SelectorListener l) { 49 ls.getImpl().removeSelectorListener (l); 50 } 51 52 public org.netbeans.modules.looks.SelectorImpl getSelectorImpl(LookSelector selector) { 53 return selector.impl; 54 } 55 56 57 62 63 } 64 | Popular Tags |