| |
|
| javax.swing.JSplitPane net.xoetrope.swing.XSplitPane
XSplitPane | public class XSplitPane extends JSplitPane implements XAttributedComponent(Code) | | A wrapper for the Swing JSplitPane class
Copyright: Copyright (c) Xoetrope Ltd., 1998-2003
License: see license.txt
version: 1.0 |
XSplitPane | public XSplitPane()(Code) | | |
add | public Component add(Component comp)(Code) | | Add a new child to the split panel. If the orientation is vertical then
the first component added is the top component and the next the bottom
component. Similarly for a horizontal split the left and then the right
components are added by successive calls to this method.
Parameters: name - the name/caption of the tab component Parameters: panel - the content |
setAttribute | public void setAttribute(String attribName, String attribValue)(Code) | | Set one or more attributes of the component.
- orientation=horz|vert, set the orientation of the splitter
- location=int|double, set the location of the splitter as a pixel count or as a percentage of the width/height
- size=int, set the size of the splitter
Parameters: attribName - the name of the attribute Parameters: attribValue - the value of the attribute |
|
|
|