22 package org.sleuthkit.autopsy.rejview;
24 import com.williballenthin.rejistry.RegistryHive;
25 import com.williballenthin.rejistry.RegistryHiveBuffer;
26 import java.awt.Dimension;
27 import java.awt.BorderLayout;
28 import java.nio.ByteBuffer;
29 import javax.swing.JPanel;
30 import 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);
final JSplitPane splitPane
RejView(RegistryHive hive)
void nodeSelected(RejTreeNodeSelectionEvent event)
static final long serialVersionUID
final RejTreeView treeView