Top Fields Constructors Methods
org.jabref.gui.fieldeditors

public Class PersonsEditor

extends HBox
implements FieldEditorFX
Class Inheritance
All Implemented Interfaces
org.jabref.gui.fieldeditors.FieldEditorFX
Imports
javax.swing.undo.UndoManager, javafx.scene.Parent, javafx.scene.control.TextInputControl, javafx.scene.layout.HBox, org.jabref.gui.autocompleter.AutoCompletionTextInputBinding, .SuggestionProvider, org.jabref.gui.fieldeditors.contextmenu.EditorMenus, org.jabref.gui.keyboard.KeyBindingRepository, org.jabref.gui.undo.RedoAction, .UndoAction, org.jabref.gui.util.uithreadaware.UiThreadStringProperty, org.jabref.logic.integrity.FieldCheckers, org.jabref.model.entry.BibEntry, org.jabref.model.entry.field.Field, org.jabref.preferences.PreferencesService, com.airhacks.afterburner.injection.Injector

Field Summary

Modifier and TypeField and Description
private final UiThreadStringProperty
private final TextInputControl
private final PersonsEditorViewModel

Constructor Summary

AccessConstructor and Description
public
PersonsEditor(final Field field, final SuggestionProvider<?> suggestionProvider, final FieldCheckers fieldCheckers, final boolean isMultiLine, final UndoManager undoManager, UndoAction undoAction, RedoAction redoAction)

Method Summary

Modifier and TypeMethod and Description
public void
public Parent
public void
requestFocus()

Overrides javafx.scene.Node.requestFocus.

Requests that this Node get the input focus, and that this Node's top-level ancestor become the focused window.

Inherited from javafx.scene.layout.HBox:
alignmentPropertyclearConstraintscomputeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthfillHeightPropertygetAlignmentgetBaselineOffsetgetClassCssMetaDatagetContentBiasgetCssMetaDatagetHgrowgetMargingetSpacingisFillHeightlayoutChildrenrequestLayoutsetAlignmentsetFillHeightsetHgrowsetMarginsetSpacingspacingProperty

Field Detail

decoratedStringPropertyback to summary
private final UiThreadStringProperty decoratedStringProperty
textInputback to summary
private final TextInputControl textInput
viewModelback to summary
private final PersonsEditorViewModel viewModel

Constructor Detail

PersonsEditorback to summary
public PersonsEditor(final Field field, final SuggestionProvider<?> suggestionProvider, final FieldCheckers fieldCheckers, final boolean isMultiLine, final UndoManager undoManager, UndoAction undoAction, RedoAction redoAction)

Method Detail

bindToEntryback to summary
public void bindToEntry(BibEntry entry)

Implements org.jabref.gui.fieldeditors.FieldEditorFX.bindToEntry.

Annotations
@Override
getNodeback to summary
public Parent getNode()

Implements org.jabref.gui.fieldeditors.FieldEditorFX.getNode.

Annotations
@Override
requestFocusback to summary
public void requestFocus()

Overrides javafx.scene.Node.requestFocus.

Doc from javafx.scene.Node.requestFocus.

Requests that this Node get the input focus, and that this Node's top-level ancestor become the focused window. To be eligible to receive the focus, the node must be part of a scene, it and all of its ancestors must be visible, and it must not be disabled. If this node is eligible, this function will cause it to become this Scene's "focus owner". Each scene has at most one focus owner node. The focus owner will not actually have the input focus, however, unless the scene belongs to a Stage that is both visible and active.

This method will clear the focusVisible flag.

Annotations
@Override