19 package org.sleuthkit.autopsy.timeline.datamodel.eventtype;
21 import java.util.ArrayList;
22 import java.util.Comparator;
23 import java.util.List;
24 import javafx.scene.image.Image;
25 import javafx.scene.paint.Color;
38 return Comparator.comparing(
EventType.allTypes::indexOf);
44 return (BaseTypes)
this;
51 ArrayList<EventType> flatList =
new ArrayList<>();
55 flatList.addAll(et.getSubTypesRecusive());
69 .get().getSubTypes().size() + 1;
72 double offset = (360.0 / superSiblings) / siblings;
73 final Color deriveColor = baseColor.deriveColor(
ordinal() * offset, 1, 1, 1);
75 return Color.hsb(deriveColor.getHue(), deriveColor.getSaturation(), deriveColor.getBrightness());
static RootEventType getInstance()
EventTypeZoomLevel getZoomLevel()
default List<?extends EventType > getSubTypesRecusive()
static final List<?extends EventType > allTypes
EventType getSubType(String string)
default List<?extends EventType > getSiblingTypes()
default BaseTypes getBaseType()
static Comparator< EventType > getComparator()
List<?extends EventType > getSubTypes()