19 package org.sleuthkit.autopsy.timeline.actions;
21 import java.util.logging.Level;
22 import javafx.scene.control.Alert;
23 import javafx.scene.image.Image;
24 import javafx.scene.image.ImageView;
25 import org.controlsfx.control.action.Action;
26 import org.openide.util.NbBundle;
38 private static final Image
MAGNIFIER_IN =
new Image(
"/org/sleuthkit/autopsy/timeline/images/magnifier-zoom-in-green.png");
40 @NbBundle.Messages({
"ZoomIn.longText=Zoom in to view about half as much time.",
41 "ZoomIn.action.text=Zoom in",
42 "ZoomIn.errorMessage=Error zooming in."
45 super(Bundle.ZoomIn_action_text());
46 setLongText(Bundle.ZoomIn_longText());
47 setGraphic(
new ImageView(MAGNIFIER_IN));
48 setEventHandler(actionEvent -> {
51 }
catch (TskCoreException ex) {
52 new Alert(Alert.AlertType.ERROR, Bundle.ZoomIn_errorMessage()).showAndWait();
53 logger.log(Level.SEVERE,
"Error zooming in.", ex);
synchronized void pushZoomInTime()
static final Logger logger
ZoomIn(TimeLineController controller)
synchronized static Logger getLogger(String name)
static final Image MAGNIFIER_IN