Methods Summary |
---|
public void | addSkinnableListener(java.lang.String id, UISkinnableSWTListener l)
List listeners = (List) mapSkinnables.get(id);
if (listeners == null) {
listeners = new ArrayList();
listeners.add(l);
mapSkinnables.put(id, listeners);
} else {
listeners.add(l);
}
|
public static com.aelitis.azureus.ui.swt.UISkinnableManagerSWT | getInstance()
return instance;
|
public UISkinnableSWTListener[] | getSkinnableListeners(java.lang.String id)
List listeners = (List) mapSkinnables.get(id);
if (listeners == null) {
return new UISkinnableSWTListener[0];
}
UISkinnableSWTListener[] skinListeners = new UISkinnableSWTListener[listeners.size()];
skinListeners = (UISkinnableSWTListener[]) listeners.toArray(skinListeners);
return skinListeners;
|
public void | removeSkinnableListener(java.lang.String id, UISkinnableSWTListener l)
List listeners = (List) mapSkinnables.get(id);
if (listeners != null) {
listeners.remove(l);
}
|