Package org.sleuthkit.autopsy.timeline.filters

Examples of org.sleuthkit.autopsy.timeline.filters.TypeFilter


            chart.setRequiresLayout(true);
            chart.requestChartLayout();
        } else {
            //make a new filter intersecting the global filter with text(description) and type filters to restrict sub-clusters
            final Filter combinedFilter = Filter.intersect(new Filter[]{new TextFilter(event.getDescription()),
                new TypeFilter(event.getType()),
                chart.getFilteredEvents().filter().get()});

            //make a new end inclusive span (to 'filter' with)
            final Interval span = event.getSpan().withEndMillis(event.getSpan().getEndMillis() + 1000);
View Full Code Here


            });
        } else {

            //TODO: have the filter return an appropriate node, rather than use instanceof
            if (item instanceof TypeFilter) {
                TypeFilter filter = (TypeFilter) item;
                Rectangle rect = new Rectangle(20, 20);

                rect.setArcHeight(5);
                rect.setArcWidth(5);
                rect.setStrokeWidth(3);
                setLegendColor(filter, rect, this.filteredEvents.getEventTypeZoom());
                this.filteredEvents.eventTypeZoom().addListener((
                        ObservableValue<? extends EventTypeZoomLevel> observable,
                        EventTypeZoomLevel oldValue,
                        EventTypeZoomLevel newValue) -> {
                            setLegendColor(filter, rect, newValue);
                        });

                HBox hBox = new HBox(new Rectangle(filter.getEventType().getZoomLevel().ordinal() * 10, 5, CLEAR),
                                     new ImageView(((TypeFilter) item).getFXImage()), rect
                );
                hBox.setAlignment(Pos.CENTER);
                Platform.runLater(() -> {
                    setGraphic(hBox);
View Full Code Here

        final LoggedTask<Collection<Long>> selectTimeAndTypeTask = new LoggedTask<Collection<Long>>("Select Time and Type", true) {
            @Override
            protected Collection< Long> call() throws Exception {
                synchronized (TimeLineController.this) {
                    return filteredEvents.getEventIDs(timeRange, new TypeFilter(type));
                }
            }

            @Override
            protected void succeeded() {
View Full Code Here

TOP

Related Classes of org.sleuthkit.autopsy.timeline.filters.TypeFilter

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.