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

io.webfolder.ui4j.api.dialog.PromptDialogEvent Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version
package io.webfolder.ui4j.api.dialog;

public class PromptDialogEvent extends DialogEvent {

    private String defaultValue;

    public PromptDialogEvent(String message) {
        super(message);
    }

    public PromptDialogEvent(String message, String defaultValue) {
        this(message);
        this.defaultValue = defaultValue;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    @Override
    public String toString() {
        return "PromptDialogEvent [defaultValue=" + defaultValue
                + ", getMessage()=" + getMessage() + "]";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy