public class CheckBoxColumn<S> extends BaseColumn<S,java.lang.Boolean>
filterableProperty, requiredProperty, tableCriteriaProperty
cellFactoryProperty, cellValueFactoryProperty, comparatorProperty, contextMenuProperty, editableProperty, graphicProperty, idProperty, maxWidthProperty, minWidthProperty, onEditCancelProperty, onEditCommitProperty, onEditStartProperty, parentColumnProperty, prefWidthProperty, resizableProperty, sortableProperty, sortNodeProperty, sortTypeProperty, styleProperty, tableViewProperty, textProperty, visibleProperty, widthProperty
alignment
Constructor and Description |
---|
CheckBoxColumn() |
CheckBoxColumn(java.lang.String propertyName) |
CheckBoxColumn(java.lang.String propertyName,
double prefWidth) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
convertFromString(java.lang.String stringValue)
Convert
stringValue to value that is acceptable
by this column. |
java.lang.String |
convertToString(java.lang.Boolean value)
Convert
value to String as represented in TableControl |
javafx.scene.control.MenuItem |
getSearchMenuItem()
Get Search Menu Item that is displayed in Table context menu
|
void |
setFalseLabel(java.lang.String falseLabel) |
void |
setLabel(java.lang.String trueLabel,
java.lang.String falseLabel,
java.lang.String nullLabel) |
void |
setNullLabel(java.lang.String nullLabel) |
void |
setTrueLabel(java.lang.String trueLabel) |
convertFromString_Impl, filterableProperty, getAlignment, getPropertyName, getTableCriteria, isFilterable, isRequired, requiredProperty, setAlignment, setFilterable, setRequired, setTableCriteria, tableCriteriaProperty
addEventHandler, buildEventDispatchChain, cellFactoryProperty, cellValueFactoryProperty, comparatorProperty, contextMenuProperty, editableProperty, editAnyEvent, editCancelEvent, editCommitEvent, editStartEvent, getCellData, getCellData, getCellFactory, getCellObservableValue, getCellObservableValue, getCellValueFactory, getColumns, getComparator, getContextMenu, getGraphic, getId, getMaxWidth, getMinWidth, getOnEditCancel, getOnEditCommit, getOnEditStart, getParentColumn, getPrefWidth, getProperties, getSortNode, getSortType, getStyle, getStyleClass, getTableView, getText, getUserData, getWidth, graphicProperty, hasProperties, idProperty, impl_getStyleable, impl_setWidth, isEditable, isResizable, isSortable, isVisible, maxWidthProperty, minWidthProperty, onEditCancelProperty, onEditCommitProperty, onEditStartProperty, parentColumnProperty, prefWidthProperty, removeEventHandler, resizableProperty, setCellFactory, setCellValueFactory, setComparator, setContextMenu, setEditable, setGraphic, setId, setMaxWidth, setMinWidth, setOnEditCancel, setOnEditCommit, setOnEditStart, setPrefWidth, setResizable, setSortable, setSortNode, setSortType, setStyle, setText, setUserData, setVisible, sortableProperty, sortNodeProperty, sortTypeProperty, styleProperty, tableViewProperty, textProperty, visibleProperty, widthProperty
public CheckBoxColumn()
public CheckBoxColumn(java.lang.String propertyName)
public CheckBoxColumn(java.lang.String propertyName, double prefWidth)
public javafx.scene.control.MenuItem getSearchMenuItem()
BaseColumn
public java.lang.Boolean convertFromString(java.lang.String stringValue)
BaseColumn
stringValue
to value that is acceptable
by this column.
Avoid to override this method, override convertFromString_Impl
instead.
This method will throw runtime exception if stringValue parameter is not empty but the conversion
result is null. In case of CheckBoxColumn, this method is overridden because CheckBoxColumn has
nullLabel for null value.convertFromString
in class BaseColumn<S,java.lang.Boolean>
public java.lang.String convertToString(java.lang.Boolean value)
BaseColumn
value
to String as represented in TableControlconvertToString
in class BaseColumn<S,java.lang.Boolean>
public void setTrueLabel(java.lang.String trueLabel)
public void setFalseLabel(java.lang.String falseLabel)
public void setNullLabel(java.lang.String nullLabel)
public void setLabel(java.lang.String trueLabel, java.lang.String falseLabel, java.lang.String nullLabel)