Autopsy
4.14.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits FlowLayout.
Public Member Functions | |
WrapLayout () | |
WrapLayout (int align) | |
WrapLayout (int align, int hgap, int vgap) | |
Dimension | minimumLayoutSize (Container target) |
Dimension | preferredLayoutSize (Container target) |
Private Member Functions | |
void | addRow (Dimension dim, int rowWidth, int rowHeight) |
Dimension | layoutSize (Container target, boolean preferred) |
Static Private Attributes | |
static final long | serialVersionUID = 1L |
FlowLayout subclass that fully supports wrapping of components.
Originally written by Rob Camick https://tips4java.wordpress.com/2008/11/06/wrap-layout/
Definition at line 35 of file WrapLayout.java.
org.sleuthkit.autopsy.uicomponents.WrapLayout.WrapLayout | ( | ) |
Constructs a new WrapLayout
with a left alignment and a default 5-unit horizontal and vertical gap.
Definition at line 42 of file WrapLayout.java.
org.sleuthkit.autopsy.uicomponents.WrapLayout.WrapLayout | ( | int | align | ) |
Constructs a new FlowLayout
with the specified alignment and a default 5-unit horizontal and vertical gap. The value of the alignment argument must be one of WrapLayout
, WrapLayout
, or WrapLayout
.
align | the alignment value |
Definition at line 54 of file WrapLayout.java.
org.sleuthkit.autopsy.uicomponents.WrapLayout.WrapLayout | ( | int | align, |
int | hgap, | ||
int | vgap | ||
) |
Creates a new flow layout manager with the indicated alignment and the indicated horizontal and vertical gaps.
The value of the alignment argument must be one of WrapLayout
, WrapLayout
, or WrapLayout
.
align | the alignment value |
hgap | the horizontal gap between components |
vgap | the vertical gap between components |
Definition at line 70 of file WrapLayout.java.
|
private |
Definition at line 195 of file WrapLayout.java.
Referenced by org.sleuthkit.autopsy.uicomponents.WrapLayout.layoutSize().
|
private |
Returns the minimum or preferred dimension needed to layout the target container.
target | target to get layout size for |
preferred | should preferred size be calculated |
Definition at line 113 of file WrapLayout.java.
References org.sleuthkit.autopsy.uicomponents.WrapLayout.addRow().
Referenced by org.sleuthkit.autopsy.uicomponents.WrapLayout.minimumLayoutSize(), and org.sleuthkit.autopsy.uicomponents.WrapLayout.preferredLayoutSize().
Dimension org.sleuthkit.autopsy.uicomponents.WrapLayout.minimumLayoutSize | ( | Container | target | ) |
Returns the minimum dimensions needed to layout the visible components contained in the specified target container.
target | the component which needs to be laid out |
Definition at line 98 of file WrapLayout.java.
References org.sleuthkit.autopsy.uicomponents.WrapLayout.layoutSize().
Dimension org.sleuthkit.autopsy.uicomponents.WrapLayout.preferredLayoutSize | ( | Container | target | ) |
Returns the preferred dimensions for this layout given the visible components in the specified target container.
target | the component which needs to be laid out |
Definition at line 84 of file WrapLayout.java.
References org.sleuthkit.autopsy.uicomponents.WrapLayout.layoutSize().
|
staticprivate |
Definition at line 37 of file WrapLayout.java.
Copyright © 2012-2020 Basis Technology. Generated on: Wed Apr 8 2020
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.