Class DefaultJavaFXButton
- java.lang.Object
-
- de.bmiag.tapir.javafx.element.AbstractJavaFXElement
-
- de.bmiag.tapir.javafx.element.impl.DefaultJavaFXButton
-
- All Implemented Interfaces:
Button
,JavaFXElement
,Clickable
,Displayable
,Enabable
,TapirElement
@Unstable @Component("tapirButton") @Scope("prototype") public class DefaultJavaFXButton extends AbstractJavaFXElement implements Button
This is an experimental implementation of aButton
for JavaFX-based applications.- Since:
- 2.0.0
- Author:
- Nils Christian Ehmke <[email protected]>
-
-
Constructor Summary
Constructors Constructor Description DefaultJavaFXButton()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
click()
Click this element.boolean
isDisplayed()
Returns true, if the element is displayed.boolean
isEnabled()
Returns true, if the element is enabled.-
Methods inherited from class de.bmiag.tapir.javafx.element.AbstractJavaFXElement
getNode, setNode
-
-
-
-
Method Detail
-
isDisplayed
public boolean isDisplayed()
Description copied from interface:Displayable
Returns true, if the element is displayed. "Displayed" means it has to be part of the dom and it is not hidden using css.- Specified by:
isDisplayed
in interfaceDisplayable
- Returns:
- true, if the element is displayed.
- Since:
- 2.0.0
-
click
public void click()
Description copied from interface:Clickable
Click this element.
-
-