Autopsy
4.19.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Public Member Functions | |
BaseMessageOverlay () | |
boolean | isVisible () |
void | paintOverlay (Graphics g, int width, int height) |
void | paintOverlay (Graphics g, int parentWidth, int parentHeight, Integer labelMaxWidth) |
void | setMessage (String message) |
void | setVisible (boolean visible) |
Private Attributes | |
final JLabel | label |
boolean | visible = false |
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 BaseMessageOverlay.java.
org.sleuthkit.autopsy.datasourcesummary.uiutils.BaseMessageOverlay.BaseMessageOverlay | ( | ) |
Main constructor for the Overlay.
Definition at line 35 of file BaseMessageOverlay.java.
boolean org.sleuthkit.autopsy.datasourcesummary.uiutils.BaseMessageOverlay.isVisible | ( | ) |
Definition at line 45 of file BaseMessageOverlay.java.
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.
g | The graphics object. |
width | The width. |
height | The height. |
Definition at line 76 of file BaseMessageOverlay.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< T >.Overlay.paint().
void org.sleuthkit.autopsy.datasourcesummary.uiutils.BaseMessageOverlay.paintOverlay | ( | Graphics | g, |
int | parentWidth, | ||
int | parentHeight, | ||
Integer | labelMaxWidth | ||
) |
Paints the jlabel at full width and height with the graphics object.
g | The graphics object. |
parentWidth | The width of the component. |
parentHeight | The height of the component. |
labelMaxWidth | The maximum width of the label drawn for the overlay. The label will be vertically and horizontally centered. |
Definition at line 90 of file BaseMessageOverlay.java.
void org.sleuthkit.autopsy.datasourcesummary.uiutils.BaseMessageOverlay.setMessage | ( | String | message | ) |
Sets the message to be displayed in the child jlabel.
message | The message to be displayed. |
Definition at line 64 of file BaseMessageOverlay.java.
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.
visible | Whether or not it is visible. |
Definition at line 55 of file BaseMessageOverlay.java.
References org.sleuthkit.autopsy.datasourcesummary.uiutils.BaseMessageOverlay.visible.
|
private |
Definition at line 29 of file BaseMessageOverlay.java.
|
private |
Definition at line 30 of file BaseMessageOverlay.java.
Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.BaseMessageOverlay.isVisible(), and org.sleuthkit.autopsy.datasourcesummary.uiutils.BaseMessageOverlay.setVisible().
Copyright © 2012-2021 Basis Technology. Generated on: Thu Sep 30 2021
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.