Autopsy  4.18.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.datamodel.DhsImageCategory Enum Reference

Public Member Functions

int getCategoryNumber ()
 
Color getColor ()
 
String getDisplayName ()
 
Node getGraphic ()
 
String toString ()
 

Static Public Member Functions

static DhsImageCategory fromDisplayName (String displayName)
 
static ImmutableList< DhsImageCategorygetNonZeroCategories ()
 
static boolean isCategoryName (String tName)
 
static boolean isNotCategoryName (String tName)
 

Public Attributes

 FIVE =(Color.GREEN, 5, Bundle.Category_five(), "cat5.png")
 
 FOUR =(Color.BISQUE, 4, Bundle.Category_four(), "cat4.png")
 
 ONE =(Color.RED, 1, Bundle.Category_one(), "cat1.png")
 
 THREE =(Color.YELLOW, 3, Bundle.Category_three(), "cat3.png")
 
 TWO =(Color.ORANGE, 2, Bundle.Category_two(), "cat2.png")
 
 ZERO =(Color.LIGHTGREY, 0, Bundle.Category_zero(), "cat0.png")
 

Private Member Functions

 DhsImageCategory (Color color, int id, String name, String filename)
 

Private Attributes

final Color color
 
final String displayName
 
final Image icon
 
final int id
 

Static Private Attributes

staticfinal Map< String, DhsImageCategorynameMap = Maps.uniqueIndex(Arrays.asList(values()), DhsImageCategory::getDisplayName)
 

Detailed Description

Enum to represent the six categories in the DHS image categorization scheme. NOTE: This appears to not be used anywhere anymore after the ImageGallery refactoring

Definition at line 42 of file DhsImageCategory.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.DhsImageCategory.DhsImageCategory ( Color  color,
int  id,
String  name,
String  filename 
)
private

Definition at line 65 of file DhsImageCategory.java.

Member Function Documentation

static DhsImageCategory org.sleuthkit.autopsy.datamodel.DhsImageCategory.fromDisplayName ( String  displayName)
static

Definition at line 76 of file DhsImageCategory.java.

int org.sleuthkit.autopsy.datamodel.DhsImageCategory.getCategoryNumber ( )

Definition at line 88 of file DhsImageCategory.java.

Color org.sleuthkit.autopsy.datamodel.DhsImageCategory.getColor ( )

Definition at line 92 of file DhsImageCategory.java.

String org.sleuthkit.autopsy.datamodel.DhsImageCategory.getDisplayName ( )

Definition at line 96 of file DhsImageCategory.java.

Node org.sleuthkit.autopsy.datamodel.DhsImageCategory.getGraphic ( )

Definition at line 105 of file DhsImageCategory.java.

static ImmutableList<DhsImageCategory> org.sleuthkit.autopsy.datamodel.DhsImageCategory.getNonZeroCategories ( )
static

Definition at line 72 of file DhsImageCategory.java.

static boolean org.sleuthkit.autopsy.datamodel.DhsImageCategory.isCategoryName ( String  tName)
static

Definition at line 80 of file DhsImageCategory.java.

static boolean org.sleuthkit.autopsy.datamodel.DhsImageCategory.isNotCategoryName ( String  tName)
static

Definition at line 84 of file DhsImageCategory.java.

String org.sleuthkit.autopsy.datamodel.DhsImageCategory.toString ( )

Definition at line 101 of file DhsImageCategory.java.

Member Data Documentation

final Color org.sleuthkit.autopsy.datamodel.DhsImageCategory.color
private

Definition at line 60 of file DhsImageCategory.java.

final String org.sleuthkit.autopsy.datamodel.DhsImageCategory.displayName
private

Definition at line 61 of file DhsImageCategory.java.

org.sleuthkit.autopsy.datamodel.DhsImageCategory.FIVE =(Color.GREEN, 5, Bundle.Category_five(), "cat5.png")

Definition at line 53 of file DhsImageCategory.java.

org.sleuthkit.autopsy.datamodel.DhsImageCategory.FOUR =(Color.BISQUE, 4, Bundle.Category_four(), "cat4.png")

Definition at line 52 of file DhsImageCategory.java.

final Image org.sleuthkit.autopsy.datamodel.DhsImageCategory.icon
private

Definition at line 63 of file DhsImageCategory.java.

final int org.sleuthkit.autopsy.datamodel.DhsImageCategory.id
private

Definition at line 62 of file DhsImageCategory.java.

static final Map<String, DhsImageCategory> org.sleuthkit.autopsy.datamodel.DhsImageCategory.nameMap = Maps.uniqueIndex(Arrays.asList(values()), DhsImageCategory::getDisplayName)
staticprivate

Map from displayName to enum value

Definition at line 58 of file DhsImageCategory.java.

org.sleuthkit.autopsy.datamodel.DhsImageCategory.ONE =(Color.RED, 1, Bundle.Category_one(), "cat1.png")

Definition at line 49 of file DhsImageCategory.java.

org.sleuthkit.autopsy.datamodel.DhsImageCategory.THREE =(Color.YELLOW, 3, Bundle.Category_three(), "cat3.png")

Definition at line 51 of file DhsImageCategory.java.

org.sleuthkit.autopsy.datamodel.DhsImageCategory.TWO =(Color.ORANGE, 2, Bundle.Category_two(), "cat2.png")

Definition at line 50 of file DhsImageCategory.java.

org.sleuthkit.autopsy.datamodel.DhsImageCategory.ZERO =(Color.LIGHTGREY, 0, Bundle.Category_zero(), "cat0.png")

Definition at line 54 of file DhsImageCategory.java.


The documentation for this enum was generated from the following file:

Copyright © 2012-2021 Basis Technology. Generated on: Thu Jul 8 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.