Interface WritableBooleanValue
- All Superinterfaces:
WritableValue<Boolean>
- All Known Implementing Classes:
BooleanProperty,BooleanPropertyBase,JavaBeanBooleanProperty,ReadOnlyBooleanWrapper,SimpleBooleanProperty,SimpleStyleableBooleanProperty,StyleableBooleanProperty
A writable boolean value.
- Since:
- JavaFX 2.0
- See Also:
-
Method Summary
Methods declared in interface javafx.beans.value.WritableValue
getValue
-
Method Details
-
get
boolean get()Get the wrapped value. UnlikeWritableValue.getValue(), this method returns primitive boolean. Needs to be identical toWritableValue.getValue().- Returns:
- The current value
-
set
void set(boolean value) Set the wrapped value. UnlikesetValue(java.lang.Boolean), this method uses primitive boolean.- Parameters:
value- The new value
-
setValue
Set the wrapped value.Note: this method should accept null without throwing an exception, setting "false" instead.
- Specified by:
setValuein interfaceWritableValue<Boolean>- Parameters:
value- The new value
-