public class ButtonPressedProperty extends com.github.leanframeworks.propertiesframework.base.property.AbstractReadableProperty<Boolean>
Note that this property is not writable because the pressed state is normally controller by user action. But it might become writable in the future.
| Constructor and Description |
|---|
ButtonPressedProperty(AbstractButton button)
Constructor specifying the button whose pressed state is to be tracked.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
Boolean |
getValue() |
public ButtonPressedProperty(AbstractButton button)
button - Button whose pressed state is to be tracked.public void dispose()
dispose in interface com.github.leanframeworks.propertiesframework.api.common.Disposabledispose in class com.github.leanframeworks.propertiesframework.base.property.AbstractReadableProperty<Boolean>Disposable.dispose()public Boolean getValue()
ReadableProperty.getValue()Copyright © 2017. All rights reserved.