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

cn.mapway.ui.client.widget.common.DialogBoxEx Maven / Gradle / Ivy

There is a newer version: 2.3.0
Show newest version
package cn.mapway.ui.client.widget.common;

import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.user.client.ui.DialogBox;
import com.ksyzt.gwt.client.event.HasMessageHandlers;
import com.ksyzt.gwt.client.event.MessageEvent;
import com.ksyzt.gwt.client.event.MessageHandler;

/**
 * The type Dialog box ex.
 */
public class DialogBoxEx extends DialogBox implements HasMessageHandlers {
    /**
     * Instantiates a new Dialog box ex.
     */
    public DialogBoxEx() {
        super(new CloseCaption());
        setStyleName("gwtEx-DialogBox");
    }

    @Override
    public HandlerRegistration addMessageHandler(MessageHandler handler) {
        return addHandler(handler, MessageEvent.TYPE);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy