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
-
firstComponent
- the first user-provided component
-
secondComponent
- the second user-provided component
-
splitPane
- the split pane in the panel
-
XSplitPanePanel(int, JComponent, JComponent)
- add two JComponents.
-
main(String[])
- a simple test routine
splitPane
protected JSplitPane splitPane
- the split pane in the panel
firstComponent
protected SplitComponent firstComponent
- the first user-provided component
secondComponent
protected SplitComponent secondComponent
- the second user-provided component
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);
main
public static void main(String args[])
- a simple test routine
All Packages Class Hierarchy This Package Previous Next Index