Autopsy  4.19.3
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 http://stackoverflow.com/questions/11734885/javafx2-very-poor-performance-when-adding-custom-made-fxmlpanels-to-gridpane.

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 FXMLConstructor.java.

Constructor & Destructor Documentation

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

Definition at line 101 of file FXMLConstructor.java.

Member Function Documentation

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

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

Parameters
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 FXMLConstructor.java.

Member Data Documentation

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

Definition at line 49 of file FXMLConstructor.java.


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

Copyright © 2012-2022 Basis Technology. Generated on: Mon Nov 28 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.