19 package org.sleuthkit.autopsy.timeline.ui;
21 import javafx.fxml.FXML;
22 import javafx.scene.control.Label;
23 import javafx.scene.control.ProgressBar;
24 import javafx.scene.control.ToolBar;
25 import javafx.scene.layout.HBox;
26 import javafx.scene.layout.Priority;
27 import javafx.scene.layout.Region;
28 import org.openide.util.NbBundle;
65 assert refreshLabel != null :
"fx:id=\"refreshLabel\" was not injected: check your FXML file 'StatusBar.fxml'.";
66 assert progressBar != null :
"fx:id=\"progressBar\" was not injected: check your FXML file 'StatusBar.fxml'.";
67 assert spacer != null :
"fx:id=\"spacer\" was not injected: check your FXML file 'StatusBar.fxml'.";
68 assert taskLabel != null :
"fx:id=\"taskLabel\" was not injected: check your FXML file 'StatusBar.fxml'.";
69 assert messageLabel != null :
"fx:id=\"messageLabel\" was not injected: check your FXML file 'StatusBar.fxml'.";
70 refreshLabel.setVisible(
false);
71 refreshLabel.setText(NbBundle.getMessage(
this.getClass(),
"StatusBar.refreshLabel.text"));
72 messageLabel.setText(NbBundle.getMessage(
this.getClass(),
"StatusBar.messageLabel.text"));
73 taskLabel.setText(NbBundle.getMessage(
this.getClass(),
"StatusBar.taskLabel.text"));
74 taskLabel.setVisible(
false);
75 HBox.setHgrow(spacer, Priority.ALWAYS);
82 taskLabel.visibleProperty().bind(this.controller.
getTasks().emptyProperty().not());
85 statusLabel.visibleProperty().bind(statusLabel.textProperty().isNotEmpty());
synchronized ReadOnlyDoubleProperty taskProgressProperty()
ReadOnlyStringProperty getStatusProperty()
ReadOnlyBooleanProperty eventsDBStaleProperty()
TimeLineController controller
synchronized ReadOnlyStringProperty taskTitleProperty()
synchronized ReadOnlyStringProperty taskMessageProperty()
StatusBar(TimeLineController controller)
static void construct(Node node, String fxmlFileName)
synchronized ReadOnlyListProperty< Task<?> > getTasks()