Verified Owner
Top Fields Constructors Methods
org.jabref.gui.sidepane

public Class SidePaneComponent

extends BorderPane
Class Inheritance
Known Direct Subclasses
org.jabref.gui.sidepane.GroupsSidePaneComponent
Imports
javafx.scene.Node, javafx.scene.control.Button, .Label, .Tooltip, javafx.scene.layout.BorderPane, .HBox, .Priority, .VBox, org.jabref.gui.actions.SimpleCommand, org.jabref.gui.groups.GroupTreeView, org.jabref.gui.icon.IconTheme, org.jabref.gui.util.ControlHelper, org.jabref.logic.l10n.Localization

Field Summary

Modifier and TypeField and Description
private HBox
private final SimpleCommand
private final SidePaneContentFactory
private final SimpleCommand
private final SimpleCommand
private final SidePaneType

Constructor Summary

AccessConstructor and Description
public
SidePaneComponent(SidePaneType sidePaneType, SimpleCommand closeCommand, SimpleCommand moveUpCommand, SimpleCommand moveDownCommand, SidePaneContentFactory contentFactory)

Method Summary

Modifier and TypeMethod and Description
protected void
addExtraNodeToHeader(Node button, int position)

private Node
private void
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.BorderPane:
bottomPropertycenterPropertyclearConstraintscomputeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthgetAlignmentgetBottomgetCentergetContentBiasgetLeftgetMargingetRightgetToplayoutChildrenleftPropertyrightPropertysetAlignmentsetBottomsetCentersetLeftsetMarginsetRightsetToptopProperty

Field Detail

buttonContainerback to summary
private HBox buttonContainer
closeCommandback to summary
private final SimpleCommand closeCommand
contentFactoryback to summary
private final SidePaneContentFactory contentFactory
moveDownCommandback to summary
private final SimpleCommand moveDownCommand
moveUpCommandback to summary
private final SimpleCommand moveUpCommand
sidePaneTypeback to summary
private final SidePaneType sidePaneType

Constructor Detail

SidePaneComponentback to summary
public SidePaneComponent(SidePaneType sidePaneType, SimpleCommand closeCommand, SimpleCommand moveUpCommand, SimpleCommand moveDownCommand, SidePaneContentFactory contentFactory)

Method Detail

addExtraNodeToHeaderback to summary
protected void addExtraNodeToHeader(Node button, int position)
createHeaderViewback to summary
private Node createHeaderView()
initializeback to summary
private void initialize()
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.