1 package net.sf.bibkeeper;
2
3 import javax.swing;
4
5 public class SidePaneComponent extends JPanel {
6
7 protected SidePaneManager manager;
8
9 public SidePaneComponent(SidePaneManager manager) {
10 this.manager = manager;
11 //setPreferredSize(new java.awt.Dimension
12 // (GUIGlobals.SPLIT_PANE_DIVIDER_LOCATION, 200));
13 //Util.pr(""+GUIGlobals.SPLIT_PANE_DIVIDER_LOCATION);
14 }
15
16 public void hideAway() {
17 manager.hideAway(this);
18 }
19
20 /**
21 * Override this method if the component needs to make any changes
22 * before it can close.
23 */
24 public void componentClosing() {
25
26 }
27
28 /**
29 * Override this method if the component needs to do any actions
30 * when opening.
31 */
32 public void componentOpening() {
33
34 }
35
36 }