/** * Accept the adapter * * @param adapter adapter in question * @return the adapter * @throws RemoteException Java RMI error * @throws VisADException problem creating VisAD object */ public final ScalarMapAdapter accept(ScalarMapAdapter adapter) throws VisADException, RemoteException { adapter.addPropertyChangeListener(adapter.SCALAR_MAP, listener); return accept(adapter, null); }