Package org.sleuthkit.autopsy.timeline.actions

Examples of org.sleuthkit.autopsy.timeline.actions.Back


        tlrv.setController(controller);
        Platform.runLater(() -> {
            jFXVizPanel.getScene().addEventFilter(KeyEvent.KEY_PRESSED, (
                                                  KeyEvent event) -> {
                                                      if (new KeyCodeCombination(KeyCode.LEFT, KeyCodeCombination.ALT_DOWN).match(event)) {
                                                          new Back(controller).handle(new ActionEvent());
                                                      } else if (new KeyCodeCombination(KeyCode.BACK_SPACE).match(event)) {
                                                          new Back(controller).handle(new ActionEvent());
                                                      } else if (new KeyCodeCombination(KeyCode.RIGHT, KeyCodeCombination.ALT_DOWN).match(event)) {
                                                          new Forward(controller).handle(new ActionEvent());
                                                      } else if (new KeyCodeCombination(KeyCode.BACK_SPACE, KeyCodeCombination.SHIFT_DOWN).match(event)) {
                                                          new Forward(controller).handle(new ActionEvent());
                                                      }
View Full Code Here


                                guideLine.relocate(clickEvent.getX(), 0);
                            }
                        });
                    }

                }, new ActionGroup("Zoom History", new Back(controller),
                        new Forward(controller))));
                chartContextMenu.setAutoHide(true);
                chartContextMenu.show(EventDetailChart.this, clickEvent.getScreenX(), clickEvent.getScreenY());
                clickEvent.consume();
            }
View Full Code Here

    public final synchronized void setController(TimeLineController controller) {
        this.controller = controller;
        setModel(this.controller.getEventsModel());
        //we have defered creating context menu until control is available
        contextMenu = ActionUtils.createContextMenu(
                Arrays.asList(new ActionGroup("Zoom History", new Back(controller), new Forward(controller))));
        contextMenu.setAutoHide(true);
    }
View Full Code Here

                .anyMatch((data) -> data.getXValue().equals(value) && data.getYValue().intValue() > 0);
    }

    private ContextMenu getContextMenu() {

        ContextMenu chartContextMenu = ActionUtils.createContextMenu(Arrays.asList(new ActionGroup("Zoom History", new Back(controller), new Forward(controller))));
        chartContextMenu.setAutoHide(true);
        return chartContextMenu;
    }
View Full Code Here

    @Override
    synchronized public void setController(TimeLineController controller) {
        this.controller = controller;
        setModel(controller.getEventsModel());
        descrLODSlider.disableProperty().bind(controller.getViewMode().isEqualTo(VisualizationMode.COUNTS));
        Back back = new Back(controller);
        backButton.disableProperty().bind(back.disabledProperty());
        backButton.setOnAction(back);
        backButton.setTooltip(new Tooltip("Back: " + back.getAccelerator().getName()));
        Forward forward = new Forward(controller);
        forwardButton.disableProperty().bind(forward.disabledProperty());
        forwardButton.setOnAction(forward);
        forwardButton.setTooltip(new Tooltip("Forward: " + forward.getAccelerator().getName()));
View Full Code Here

TOP

Related Classes of org.sleuthkit.autopsy.timeline.actions.Back

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.