Verified Owner
Top Fields Constructors Methods
org.jabref.gui.fieldeditors.contextmenu

public Class DefaultMenu

extends Object
implements Supplier<List<MenuItem>>
Class Inheritance
All Implemented Interfaces
java.util.function.Supplier
Imports
java.util.List, java.util.function.Supplier, javafx.scene.control.Menu, .MenuItem, .SeparatorMenuItem, .TextInputControl, org.jabref.logic.formatter.Formatter, .Formatters, org.jabref.logic.l10n.Localization, org.jabref.logic.util.strings.StringUtil, com.tobiasdiez.easybind.EasyBind

Field Summary

Modifier and TypeField and Description
pack-priv TextInputControl

Constructor Summary

AccessConstructor and Description
public
DefaultMenu(TextInputControl
that this menu will be connected to
textInputControl
)

The default menu that contains functions for changing the case of text and doing several conversions.

Method Summary

Modifier and TypeMethod and Description
public List<MenuItem>
get()

Implements java.util.function.Supplier.get.

Gets a result.

private static Menu
private static MenuItem
private static Menu
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

textInputControlback to summary
pack-priv TextInputControl textInputControl

Constructor Detail

DefaultMenuback to summary
public DefaultMenu(TextInputControl textInputControl)

The default menu that contains functions for changing the case of text and doing several conversions.

Parameters
textInputControl:TextInputControl

that this menu will be connected to

Method Detail

getback to summary
public List<MenuItem> get()

Implements java.util.function.Supplier.get.

Doc from java.util.function.Supplier.get.

Gets a result.

getCaseChangeMenuback to summary
private static Menu getCaseChangeMenu(TextInputControl textInputControl)
getClearFieldMenuItemback to summary
private static MenuItem getClearFieldMenuItem(TextInputControl textInputControl)
getConversionMenuback to summary
private static Menu getConversionMenu(TextInputControl textInputControl)