1 19 20 package org.netbeans.modules.looks; 21 22 import org.netbeans.spi.looks.Look; 23 import org.netbeans.spi.looks.LookSelector; 24 26 31 public abstract class Accessor extends Object { 32 public static Accessor DEFAULT; 33 34 static { 35 Class c = org.netbeans.spi.looks.Look.class; 37 try { 38 Class.forName(c.getName(), true, c.getClassLoader()); 39 } catch (Exception ex) { 40 ex.printStackTrace(); 41 } 42 } 43 44 46 public abstract void addLookListener (Look look, Object representedObject, LookListener l); 48 public abstract void changeLookListener( Look look, Object representedObject, LookListener oldListener, LookListener newListener ); 49 public abstract void removeLookListener (Look look, Object representedObject, LookListener l); 50 51 public abstract void addSelectorListener (LookSelector lookSelector, SelectorListener l); 53 public abstract void removeSelectorListener (LookSelector lookSelector, SelectorListener l); 54 55 57 public abstract SelectorImpl getSelectorImpl( LookSelector selector ); 58 59 61 63 } 64 | Popular Tags |