All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ui4j.api.dialog.RejectingConfirmDialogHandler Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package com.ui4j.api.dialog;

import com.ui4j.api.util.Logger;
import com.ui4j.api.util.LoggerFactory;

class RejectingConfirmDialogHandler implements ConfirmHandler {

    private static final Logger LOG = LoggerFactory.getLogger(RejectingConfirmDialogHandler.class);

    @Override
    public boolean handle(DialogEvent event) {
        LOG.info("Replying [false] to message: " + event.getMessage());
        return false;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy