public class BooleanField extends DataField<BooleanProperty,Boolean,BooleanField>
Field
containing a
boolean
value.userInputProperty, valueProperty
changedProperty, editableProperty, errorMessagesProperty, idProperty, labelProperty, placeholderProperty, requiredProperty, spanProperty, styleClassProperty, tooltipProperty, validProperty
Modifier and Type | Method and Description |
---|---|
protected boolean |
validateRequired(String newValue)
Validates that the new field input matches the required condition.
|
bind, format, format, format, getUserInput, getValue, setBindingMode, unbind, userInputProperty, validate, valueProperty
changedProperty, editable, editableProperty, errorMessagesProperty, getErrorMessages, getID, getLabel, getPlaceholder, getRenderer, getSpan, getStyleClass, getTooltip, hasChanged, id, idProperty, isEditable, isI18N, isRequired, isValid, label, labelProperty, ofBooleanType, ofBooleanType, ofDoubleType, ofDoubleType, ofIntegerType, ofIntegerType, ofMultiSelectionType, ofMultiSelectionType, ofMultiSelectionType, ofSingleSelectionType, ofSingleSelectionType, ofSingleSelectionType, ofStringType, ofStringType, placeholder, placeholderProperty, render, required, required, requiredProperty, span, span, spanProperty, styleClass, styleClassProperty, tooltip, tooltipProperty, validProperty
protected boolean validateRequired(String newValue)
validateRequired
in class DataField<BooleanProperty,Boolean,BooleanField>
newValue
- The new value to check for the required state.Copyright © 2017. All rights reserved.