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

org.selophane.elements.widget.Button Maven / Gradle / Ivy

There is a newer version: 0.12
Show newest version
/**
 *
 */
package org.selophane.elements.widget;

import org.selophane.elements.base.Element;
import org.selophane.elements.base.ImplementedBy;

/**
 * A button which ensures that the page is reloaded after a click on it or more
 * general a button that starts an action so that this button will at the end of
 * the action not in the DOM.
 *
 * @author niels
 *
 */
@ImplementedBy(ButtonImpl.class)
public interface Button extends Element {

    /**
     * Return the label of the button.
     *
     * @return the label of the button.
     */
    String getLabel();

    /**
     * Click the button and wait till this button is removed from current DOM.
     * {@inheritDoc}
     */
    @Override
    void click();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy