Autopsy  4.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.timeline.FXMLConstructor Class Reference

Static Public Member Functions

static void construct (Node node, String fxmlFileName)
static void construct (Node node, Class<?extends Node > clazz, String fxmlFileName)

Private Member Functions

 FXMLConstructor ()

Static Private Attributes

static final Logger LOGGER = Logger.getLogger(FXMLConstructor.class.getName())

Detailed Description

This class supports programmer productivity by abstracting frequently used code to load FXML-defined GUI components,

TODO? improve performance by implementing a caching FXMLLoader as described at

NOTE: As described in the link above above, using FXMLConstructor will be inefficient if FXML is used as a template for many similar items. In that use case, it is much faster to build the entire hierarchy in Java. This class is intended only to remove the boilerplate initialization code when defining a relatively static layout

TODO: move this to CoreUtils and remove duplicate verison in image analyzer

Definition at line 47 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.timeline.FXMLConstructor.FXMLConstructor ( )

Definition at line 101 of file

Member Function Documentation

static void org.sleuthkit.autopsy.timeline.FXMLConstructor.construct ( Node  node,
String  fxmlFileName 
static void org.sleuthkit.autopsy.timeline.FXMLConstructor.construct ( Node  node,
Class<?extends Node >  clazz,
String  fxmlFileName 

Load an fxml file and initialize a node with it. Since this manipulates the node, it must be called on the JFX thread.

nodea node to initialize from a loaded FXML
clazza class to use for relative location of the fxml
fxmlFileNamethe file name of the FXML to load, relative to the package of clazz.

Definition at line 77 of file

Member Data Documentation

final Logger org.sleuthkit.autopsy.timeline.FXMLConstructor.LOGGER = Logger.getLogger(FXMLConstructor.class.getName())

Definition at line 49 of file

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

Copyright © 2012-2016 Basis Technology. Generated on: Tue Oct 25 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.