public class JToggleButtonSelectedProperty extends com.google.code.validationframework.base.property.AbstractReadableWritableProperty<Boolean,Boolean> implements com.google.code.validationframework.api.common.Disposable
JToggleButton.
This includes toggle buttons, radio buttons and checkboxes.
It is possible to control the selected state of the component by setting the value of this property or by calling the
AbstractButton.setSelected(boolean) method of that component.
Finally note that null values are not supported by this property.| Constructor and Description |
|---|
JToggleButtonSelectedProperty(JToggleButton component)
Constructor specifying the component for which the property applies.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
Boolean |
getValue() |
void |
setValue(Boolean value) |
addValueChangeListener, getValueChangeListeners, isInhibited, isNotifyingListeners, maybeNotifyListeners, removeValueChangeListener, setInhibitedpublic JToggleButtonSelectedProperty(JToggleButton component)
component - Component whose selected state is to be tracked.public void dispose()
dispose in interface com.google.code.validationframework.api.common.DisposableDisposable.dispose()public Boolean getValue()
getValue in interface com.google.code.validationframework.api.property.ReadableProperty<Boolean>ReadableProperty.getValue()Copyright © 2015. All Rights Reserved.