Verified Owner
Top Description Fields Constructors Methods
org.jabref.gui.ai.statuspane

public Class UniversalStatusPaneView

extends BorderPane
Class Inheritance
Imports
javafx.beans.property.BooleanProperty, .ObjectProperty, .StringProperty, javafx.event.ActionEvent, .EventHandler, javafx.fxml.FXML, javafx.scene.control.Button, .Label, .ProgressIndicator, .TextArea, javafx.scene.layout.BorderPane, .HBox, com.airhacks.afterburner.views.ViewLoader

A handy component to display a state of a system: whether there is some important information, error, or action to take.

Look at the org.jabref.gui.ai.summary.AiSummaryView for an example of usage.

Field Summary

Modifier and TypeField and Description
private Button
private Button
private HBox
private Label
private ProgressIndicator
private TextArea
private Label
private final UniversalStatusPaneViewModel

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ObjectProperty<EventHandler<ActionEvent>>
public StringProperty
public ObjectProperty<EventHandler<ActionEvent>>
public StringProperty
public StringProperty
public EventHandler<ActionEvent>
public String
public EventHandler<ActionEvent>
public String
public String
public EventHandler<ActionEvent>
public EventHandler<ActionEvent>
public String
public String
private void
public boolean
public boolean
public boolean
public boolean
private void
public ObjectProperty<EventHandler<ActionEvent>>
private void
public ObjectProperty<EventHandler<ActionEvent>>
public void
public void
setButton1Text(String button1Text)

public void
public void
setButton2Text(String button2Text)

public void
setDescription(String description)

public void
public void
public void
setShowButton1(boolean showButton1)

public void
setShowButton2(boolean showButton2)

public void
setShowSpinner(boolean showSpinner)

public void
setShowTextArea(boolean showTextArea)

public void
setTextAreaContent(String textAreaContent)

public void
private void
public BooleanProperty
public BooleanProperty
public BooleanProperty
public BooleanProperty
public StringProperty
public StringProperty
Inherited from javafx.scene.layout.BorderPane:
bottomPropertycenterPropertyclearConstraintscomputeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthgetAlignmentgetBottomgetCentergetContentBiasgetLeftgetMargingetRightgetToplayoutChildrenleftPropertyrightPropertysetAlignmentsetBottomsetCentersetLeftsetMarginsetRightsetToptopProperty

Field Detail

button1back to summary
private Button button1
Annotations
@FXML
button2back to summary
private Button button2
Annotations
@FXML
buttonsBoxback to summary
private HBox buttonsBox
Annotations
@FXML
descriptionLabelback to summary
private Label descriptionLabel
Annotations
@FXML
spinnerback to summary
private ProgressIndicator spinner
Annotations
@FXML
textAreaback to summary
private TextArea textArea
Annotations
@FXML
titleLabelback to summary
private Label titleLabel
Annotations
@FXML
viewModelback to summary
private final UniversalStatusPaneViewModel viewModel

Constructor Detail

UniversalStatusPaneViewback to summary
public UniversalStatusPaneView()

Method Detail

button1ActionPropertyback to summary
public ObjectProperty<EventHandler<ActionEvent>> button1ActionProperty()
button1TextPropertyback to summary
public StringProperty button1TextProperty()
button2ActionPropertyback to summary
public ObjectProperty<EventHandler<ActionEvent>> button2ActionProperty()
button2TextPropertyback to summary
public StringProperty button2TextProperty()
descriptionPropertyback to summary
public StringProperty descriptionProperty()
getButton1Actionback to summary
public EventHandler<ActionEvent> getButton1Action()
getButton1Textback to summary
public String getButton1Text()
getButton2Actionback to summary
public EventHandler<ActionEvent> getButton2Action()
getButton2Textback to summary
public String getButton2Text()
getDescriptionback to summary
public String getDescription()
getOnButton1Clickback to summary
public EventHandler<ActionEvent> getOnButton1Click()
getOnButton2Clickback to summary
public EventHandler<ActionEvent> getOnButton2Click()
getTextAreaContentback to summary
public String getTextAreaContent()
getTitleback to summary
public String getTitle()
initializeback to summary
private void initialize()
Annotations
@FXML
isShowButton1back to summary
public boolean isShowButton1()
isShowButton2back to summary
public boolean isShowButton2()
isShowSpinnerback to summary
public boolean isShowSpinner()
isShowTextAreaback to summary
public boolean isShowTextArea()
onButton1Clickback to summary
private void onButton1Click()
Annotations
@FXML
onButton1ClickPropertyback to summary
public ObjectProperty<EventHandler<ActionEvent>> onButton1ClickProperty()
onButton2Clickback to summary
private void onButton2Click()
Annotations
@FXML
onButton2ClickPropertyback to summary
public ObjectProperty<EventHandler<ActionEvent>> onButton2ClickProperty()
setButton1Actionback to summary
public void setButton1Action(EventHandler<ActionEvent> button1Action)
setButton1Textback to summary
public void setButton1Text(String button1Text)
setButton2Actionback to summary
public void setButton2Action(EventHandler<ActionEvent> button2Action)
setButton2Textback to summary
public void setButton2Text(String button2Text)
setDescriptionback to summary
public void setDescription(String description)
setOnButton1Clickback to summary
public void setOnButton1Click(EventHandler<ActionEvent> onButton1Click)
setOnButton2Clickback to summary
public void setOnButton2Click(EventHandler<ActionEvent> onButton2Click)
setShowButton1back to summary
public void setShowButton1(boolean showButton1)
setShowButton2back to summary
public void setShowButton2(boolean showButton2)
setShowSpinnerback to summary
public void setShowSpinner(boolean showSpinner)
setShowTextAreaback to summary
public void setShowTextArea(boolean showTextArea)
setTextAreaContentback to summary
public void setTextAreaContent(String textAreaContent)
setTitleback to summary
public void setTitle(String title)
setupBindingsback to summary
private void setupBindings()
showButton1Propertyback to summary
public BooleanProperty showButton1Property()
showButton2Propertyback to summary
public BooleanProperty showButton2Property()
showSpinnerPropertyback to summary
public BooleanProperty showSpinnerProperty()
showTextAreaPropertyback to summary
public BooleanProperty showTextAreaProperty()
textAreaContentPropertyback to summary
public StringProperty textAreaContentProperty()
titlePropertyback to summary
public StringProperty titleProperty()