All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jumbo.xml.gui.XSplitPanePanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----com.sun.java.swing.JComponent
                           |
                           +----com.sun.java.swing.JPanel
                                   |
                                   +----jumbo.xml.gui.XSplitPanePanel

public class XSplitPanePanel
extends JPanel
a Split pane, simplified from the Swing example. Either vertical or horizontal is allowed. All contained objects are JComponents The resizing isn't perfect...

Author:
P.Murray-Rust, 1998

Variable Index

 o firstComponent
the first user-provided component
 o secondComponent
the second user-provided component
 o splitPane
the split pane in the panel

Constructor Index

 o XSplitPanePanel(int, JComponent, JComponent)
add two JComponents.

Method Index

 o main(String[])
a simple test routine

Variables

 o splitPane
 protected JSplitPane splitPane
the split pane in the panel

 o firstComponent
 protected SplitComponent firstComponent
the first user-provided component

 o secondComponent
 protected SplitComponent secondComponent
the second user-provided component

Constructors

 o XSplitPanePanel
 public XSplitPanePanel(int direction,
                        JComponent first,
                        JComponent second)
add two JComponents. If direction is JSplitPane.HORIZONTAL_SPLIT, then first is the left component, second the right. If direction is JSplitPane.VERTICAL_SPLIT, then first is the top component, second the bottom.

Parameters:
int - direction (see above);
first - JComponent (see above);
second - JComponent (see above);

Methods

 o main
 public static void main(String args[])
a simple test routine


All Packages  Class Hierarchy  This Package  Previous  Next  Index