Autopsy  4.16.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.datasourcesummary.uiutils.BaseMessageOverlay Class Reference

Public Member Functions

 BaseMessageOverlay ()
boolean isVisible ()
void paintOverlay (Graphics g, int width, int height)
void setMessage (String message)
void setVisible (boolean visible)

Private Attributes

final JLabel label
boolean visible = false

Detailed Description

Base class for drawing a message overlay. Contains a paint method for painting a JLabel using a java.awt.Graphics object.

Definition at line 28 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datasourcesummary.uiutils.BaseMessageOverlay.BaseMessageOverlay ( )

Main constructor for the Overlay.

Definition at line 36 of file

Member Function Documentation

boolean org.sleuthkit.autopsy.datasourcesummary.uiutils.BaseMessageOverlay.isVisible ( )
Whether or not this message overlay should be visible.

Definition at line 47 of file

References org.sleuthkit.autopsy.datasourcesummary.uiutils.BaseMessageOverlay.visible.

void org.sleuthkit.autopsy.datasourcesummary.uiutils.BaseMessageOverlay.paintOverlay ( Graphics  g,
int  width,
int  height 

Paints the jlabel at full width and height with the graphics object.

gThe graphics object.
widthThe width.
heightThe height.

Definition at line 78 of file

Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< T >.Overlay.paint(), and org.sleuthkit.autopsy.datasourcesummary.uiutils.PieChartPanel.MessageOverlay.paintOverlay().

void org.sleuthkit.autopsy.datasourcesummary.uiutils.BaseMessageOverlay.setMessage ( String  message)

Sets the message to be displayed in the child jlabel.

messageThe message to be displayed.

Definition at line 66 of file

void org.sleuthkit.autopsy.datasourcesummary.uiutils.BaseMessageOverlay.setVisible ( boolean  visible)

Sets this layer visible when painted. In order to be shown in UI, this component needs to be repainted.

visibleWhether or not it is visible.

Definition at line 57 of file

References org.sleuthkit.autopsy.datasourcesummary.uiutils.BaseMessageOverlay.visible.

Member Data Documentation

final JLabel org.sleuthkit.autopsy.datasourcesummary.uiutils.BaseMessageOverlay.label

Definition at line 30 of file

boolean org.sleuthkit.autopsy.datasourcesummary.uiutils.BaseMessageOverlay.visible = false

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

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