org.popper.fw.element.IButton Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Interfaces Show documentation
Show all versions of Interfaces Show documentation
Definition of the interfaces all Popper Framework
implementations depend on
/*
* Copyright [2013] [Michael Bulla, [email protected]]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.popper.fw.element;
import org.popper.fw.annotations.Accessor;
import org.popper.fw.annotations.Action;
/**
* Interfaces describing the function a button must provide
* @author Michael
*
*/
public interface IButton extends IInput {
/**
* Do a click on the button
*/
@Action(name="click")
public void click();
/**
* If the button contains text, the text is read here
* If it doesn't contain text, an empty string is returned
* @return
*/
@Accessor(name="Text")
public String text();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy