Autopsy  4.13.0
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 166 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 280 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 291 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 250 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-2019 Basis Technology. Generated on: Tue Jan 7 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.