added setVisibleOnly(String 'panename') method