Go to the documentation of this file.
22package org.sleuthkit.autopsy.rejview;
24import com.williballenthin.rejistry.RegistryHive;
25import com.williballenthin.rejistry.RegistryHiveBuffer;
26import java.awt.Dimension;
27import java.awt.BorderLayout;
28import java.nio.ByteBuffer;
29import javax.swing.JPanel;
30import javax.swing.JSplitPane;
38 private final RegistryHive
hive;
48 super(
new BorderLayout());
51 this.treeView =
new RejTreeView(this.hive);
52 this.splitPane =
new JSplitPane(JSplitPane.HORIZONTAL_SPLIT,
53 this.treeView,
new JPanel());
63 super(
new BorderLayout());
64 this.hive =
new RegistryHiveBuffer(buf);
67 this.treeView =
new RejTreeView(this.hive);
68 this.splitPane =
new JSplitPane(JSplitPane.HORIZONTAL_SPLIT,
69 this.treeView,
new JPanel());
77 this.splitPane.setResizeWeight(0);
78 this.splitPane.setOneTouchExpandable(
true);
79 this.splitPane.setContinuousLayout(
true);
80 this.add(this.splitPane, BorderLayout.CENTER);
81 this.setPreferredSize(
new Dimension(0, 0));
82 this.treeView.addRejTreeNodeSelectionListener(
this);
93 int curDividerLocation = this.splitPane.getDividerLocation();
94 this.splitPane.setRightComponent(view);
95 this.splitPane.setDividerLocation(curDividerLocation);
RejView(RegistryHive hive)
void nodeSelected(RejTreeNodeSelectionEvent event)
final RejTreeView treeView
static final long serialVersionUID
final JSplitPane splitPane
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.