Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Member Functions | List of all members
org.sleuthkit.autopsy.rejview.HexView.HexViewListener Class Reference

Inherits CaretListener.

Public Member Functions

void caretUpdate (CaretEvent e)
 

Private Member Functions

void clearHighlight ()
 
void setHighlight (int startByte, int endByte)
 
void setSelection (int startByte, int endByte)
 

Detailed Description

Private listener class to listen make changes based on events in the asciiViewTextArea component and the hexViewTextArea

Definition at line 168 of file HexView.java.

Member Function Documentation

void org.sleuthkit.autopsy.rejview.HexView.HexViewListener.caretUpdate ( CaretEvent  e)
void org.sleuthkit.autopsy.rejview.HexView.HexViewListener.clearHighlight ( )
private

clearHighlight removes any colors applied to the text views.

Definition at line 282 of file HexView.java.

Referenced by org.sleuthkit.autopsy.rejview.HexView.HexViewListener.caretUpdate(), and org.sleuthkit.autopsy.rejview.HexView.HexViewListener.setHighlight().

void org.sleuthkit.autopsy.rejview.HexView.HexViewListener.setHighlight ( int  startByte,
int  endByte 
)
private

setHighlight colors the given byte range.

Parameters
startByteThe starting byte index of the selection.
endByteThe ending byte index of the selection.

Definition at line 293 of file HexView.java.

References org.sleuthkit.autopsy.rejview.HexView.HexViewListener.clearHighlight().

Referenced by org.sleuthkit.autopsy.rejview.HexView.HexViewListener.setSelection().

void org.sleuthkit.autopsy.rejview.HexView.HexViewListener.setSelection ( int  startByte,
int  endByte 
)
private

setSelection sets the given byte range as "selected", which from a GUI perspective means the bytes are highlighted, and the status bar updated.

Parameters
startByteThe starting byte index of the selection.
endByteThe ending byte index of the selection.

Definition at line 252 of file HexView.java.

References org.sleuthkit.autopsy.rejview.HexView.HexViewListener.setHighlight().

Referenced by org.sleuthkit.autopsy.rejview.HexView.HexViewListener.caretUpdate().


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

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