Go to the documentation of this file.
19package org.sleuthkit.autopsy.timeline.actions;
21import javafx.scene.image.Image;
22import javafx.scene.image.ImageView;
23import javafx.scene.input.KeyCode;
24import javafx.scene.input.KeyCodeCombination;
25import org.controlsfx.control.action.Action;
26import org.openide.util.NbBundle;
27import org.sleuthkit.autopsy.timeline.TimeLineController;
33public class Back extends Action {
35 private static final Image
BACK_IMAGE =
new Image(
"/org/sleuthkit/autopsy/timeline/images/arrow-180.png", 16, 16,
true,
true,
true);
39 @NbBundle.Messages({
"Back.text=Back",
40 "# {0} - action accelerator keys ",
41 "Back.longText=Back: {0}\nGo back to the last view settings."})
43 super(Bundle.Back_text());
47 setAccelerator(
new KeyCodeCombination(KeyCode.LEFT, KeyCodeCombination.ALT_DOWN));
48 setLongText(Bundle.Back_longText(getAccelerator().getDisplayText()));
49 setEventHandler(actionEvent ->
controller.retreat());
51 disabledProperty().bind(
controller.canRetreatProperty().not());
static final Image BACK_IMAGE
Back(TimeLineController controller)
final TimeLineController controller
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.