Verified Owner
Top Description Fields Constructors Methods
org.jabref.gui.mergeentries.threewaymerge.cell

public Class FieldValueCell

extends ThreeWayMergeCell
implements Toggle
Class Inheritance
All Implemented Interfaces
javafx.scene.control.Toggle
Imports
javafx.beans.property.BooleanProperty, .ObjectProperty, javafx.css.PseudoClass, javafx.geometry.Insets, .Pos, javafx.scene.Cursor, .Node, javafx.scene.control.Button, .ContentDisplay, .ScrollPane, .Toggle, .ToggleGroup, javafx.scene.input.MouseEvent, .ScrollEvent, javafx.scene.layout.Background, .HBox, .Priority, javafx.scene.paint.Color, org.jabref.gui.StateManager, org.jabref.gui.actions.ActionFactory, org.jabref.gui.icon.IconTheme, org.jabref.gui.preferences.GuiPreferences, org.jabref.logic.l10n.Localization, org.jabref.logic.util.URLUtil, org.jabref.logic.util.strings.StringUtil, org.jabref.model.entry.identifier.DOI, com.tobiasdiez.easybind.EasyBind, org.fxmisc.flowless.VirtualizedScrollPane, org.fxmisc.richtext.StyleClassedTextArea, org.kordamp.ikonli.javafx.FontIcon, org.kordamp.ikonli.materialdesign2.MaterialDesignC, org.slf4j.Logger, .LoggerFactory

A readonly, selectable field cell that contains the value of some field

Field Summary

Modifier and TypeField and Description
private final HBox
public static final String
private final ActionFactory
private final StyleClassedTextArea
pack-priv HBox
public static final Logger
private final GuiPreferences
private final VirtualizedScrollPane<StyleClassedTextArea>
private static final PseudoClass
public static final String
private final HBox
private final StateManager
private final FieldValueCellViewModel
Inherited from org.jabref.gui.mergeentries.threewaymerge.cell.ThreeWayMergeCell:
EVEN_PSEUDO_CLASSHEADER_ROWODD_PSEUDO_CLASS

Constructor Summary

AccessConstructor and Description
public
FieldValueCell(String text, int rowIndex, GuiPreferences preferences, StateManager stateManager)

Method Summary

Modifier and TypeMethod and Description
private Button
public Button
public StyleClassedTextArea
public ToggleGroup
getToggleGroup()

Implements javafx.scene.control.Toggle.getToggleGroup.

Returns The ToggleGroup to which this Toggle belongs.

private void
private void
private void
private void
private void
public boolean
isSelected()

Implements javafx.scene.control.Toggle.isSelected.

Indicates whether this Toggle is selected.

private void
public BooleanProperty
selectedProperty()

Implements javafx.scene.control.Toggle.selectedProperty.

The selected state for this Toggle.

public void
setSelected(boolean selected)

Implements javafx.scene.control.Toggle.setSelected.

Sets this Toggle as selected or unselected.

public void
setToggleGroup(ToggleGroup toggleGroup)

Implements javafx.scene.control.Toggle.setToggleGroup.

Sets the ToggleGroup to which this Toggle belongs.

public ObjectProperty<ToggleGroup>
Inherited from org.jabref.gui.mergeentries.threewaymerge.cell.ThreeWayMergeCell:
getTextsetTexttextPropertytoString

Field Detail

actionsContainerback to summary
private final HBox actionsContainer
DEFAULT_STYLE_CLASSback to summary
public static final String DEFAULT_STYLE_CLASS

Hides org.jabref.gui.mergeentries.threewaymerge.cell.ThreeWayMergeCell.DEFAULT_STYLE_CLASS.

factoryback to summary
private final ActionFactory factory
labelback to summary
private final StyleClassedTextArea label
labelBoxback to summary
pack-priv HBox labelBox
LOGGERback to summary
public static final Logger LOGGER
preferencesback to summary
private final GuiPreferences preferences
scrollPaneback to summary
private final VirtualizedScrollPane<StyleClassedTextArea> scrollPane
SELECTED_PSEUDO_CLASSback to summary
private static final PseudoClass SELECTED_PSEUDO_CLASS
SELECTION_BOX_STYLE_CLASSback to summary
public static final String SELECTION_BOX_STYLE_CLASS
selectionBoxback to summary
private final HBox selectionBox
stateManagerback to summary
private final StateManager stateManager
viewModelback to summary
private final FieldValueCellViewModel viewModel

Hides org.jabref.gui.mergeentries.threewaymerge.cell.ThreeWayMergeCell.viewModel.

Constructor Detail

FieldValueCellback to summary
public FieldValueCell(String text, int rowIndex, GuiPreferences preferences, StateManager stateManager)

Method Detail

createCopyButtonback to summary
private Button createCopyButton()
createOpenLinkButtonback to summary
public Button createOpenLinkButton()
getStyleClassedLabelback to summary
public StyleClassedTextArea getStyleClassedLabel()
getToggleGroupback to summary
public ToggleGroup getToggleGroup()

Implements javafx.scene.control.Toggle.getToggleGroup.

Doc from javafx.scene.control.Toggle.getToggleGroup.

Returns The ToggleGroup to which this Toggle belongs.

Annotations
@Override
initializeback to summary
private void initialize()
initializeActionsback to summary
private void initializeActions()
initializeLabelback to summary
private void initializeLabel()
initializeScrollPaneback to summary
private void initializeScrollPane()
initializeSelectionBoxback to summary
private void initializeSelectionBox()
isSelectedback to summary
public boolean isSelected()

Implements javafx.scene.control.Toggle.isSelected.

Doc from javafx.scene.control.Toggle.isSelected.

Indicates whether this Toggle is selected.

Annotations
@Override
preventTextSelectionViaMouseEventsback to summary
private void preventTextSelectionViaMouseEvents()
selectedPropertyback to summary
public BooleanProperty selectedProperty()

Implements javafx.scene.control.Toggle.selectedProperty.

Doc from javafx.scene.control.Toggle.selectedProperty.

The selected state for this Toggle.

Annotations
@Override
setSelectedback to summary
public void setSelected(boolean selected)

Implements javafx.scene.control.Toggle.setSelected.

Doc from javafx.scene.control.Toggle.setSelected.

Sets this Toggle as selected or unselected.

Annotations
@Override
setToggleGroupback to summary
public void setToggleGroup(ToggleGroup toggleGroup)

Implements javafx.scene.control.Toggle.setToggleGroup.

Doc from javafx.scene.control.Toggle.setToggleGroup.

Sets the ToggleGroup to which this Toggle belongs.

Annotations
@Override
toggleGroupPropertyback to summary
public ObjectProperty<ToggleGroup> toggleGroupProperty()

Implements javafx.scene.control.Toggle.toggleGroupProperty.

Doc from javafx.scene.control.Toggle.toggleGroupProperty.

The ToggleGroup to which this Toggle belongs.

Annotations
@Override