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

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

There is a newer version: 2.1.0
Show newest version
package com.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