com.ui4j.api.dialog.PromptDialogHandler Maven / Gradle / Ivy
package com.ui4j.api.dialog;
import com.ui4j.api.util.Logger;
import com.ui4j.api.util.LoggerFactory;
class PromptDialogHandler implements PromptHandler {
private static final Logger LOG = LoggerFactory.getLogger(PromptDialogHandler.class);
@Override
public String handle(PromptDialogEvent event) {
LOG.info("Javascript prompt handler message: " + event.getMessage() + ", default value: " + event.getDefaultValue());
return event.getDefaultValue();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy