V
- is the generic type of the value
.public interface WritableProperty<V> extends javafx.beans.property.Property<V>, AttributeWriteValue<V>, ReadableProperty<V>
Modifier and Type | Field and Description |
---|---|
static WritableProperty<?>[] |
NO_PROPERTIES
Empty array instance.
|
PROPERTY_TYPE
Modifier and Type | Method and Description |
---|---|
WritableProperty<V> |
getReadOnly() |
static <P extends WritableProperty<?>> |
getReadOnly(P property) |
boolean |
isMandatory() |
boolean |
isReadOnly() |
boolean |
isValid() |
ValidationFailure |
validate() |
bind, bindBidirectional, isBound, unbind, unbindBidirectional
setValue
getBean, getName, getType
addListener, getValue, removeListener
getValue
fromJson, toJson
static final WritableProperty<?>[] NO_PROPERTIES
boolean isReadOnly()
true
if this property is read-only and WritableValue.setValue(Object)
will fail with an exception,
false
otherwise.WritableProperty<V> getReadOnly()
read only
view on this property.boolean isMandatory()
true
if this property is mandatory (a value
of null
is NOT
valid
.ValidationFailure validate()
ValidationFailure
or null
if the value
is valid
.ValueValidator.validate(Object)
boolean isValid()
true
if valid, false
otherwise.validate()
static <P extends WritableProperty<?>> P getReadOnly(P property)
P
- the generic type of the property.property
- the property
to get as read-only
view.read-only view
of the given property
.Copyright © 2001–2016 mmm-Team. All rights reserved.