| |
|
| javax.swing.JScrollPane net.xoetrope.swing.XScrollPane
All known Subclasses: net.xoetrope.swing.XTable, net.xoetrope.swing.XScrollableMetaContent,
XScrollPane | public class XScrollPane extends JScrollPane implements XAttributedComponent(Code) | | Wraps ScrollPane
Copyright (c) Xoetrope Ltd., 1998-2004
License: see license.txt
$Revision: 1.9 $
|
XScrollPane | public XScrollPane()(Code) | | Creates a new scroll pane
|
add | public Component add(Component c)(Code) | | Adds a new componnet and then lays out the container
Parameters: c - a component to add to this pane the newly added component |
setAttribute | public void setAttribute(String attribName, String attribValue)(Code) | | Set one or more attributes of the component.
horizontal_scrollbar, values=as needed|always|never
vertical_scrollbar, values=as needed|always|never
Parameters: attribName - the attribute name Parameters: attribValue - the attribute value |
setNextHorzScrollPanePolicy | public static void setNextHorzScrollPanePolicy(int scrollBarPolicy)(Code) | | Set the scrollbar policy for the next horizontal scroll pane that is created.
Once used this value reverts to the default value of JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED
|
setNextScrollPanePolicy | public static void setNextScrollPanePolicy(int scrollBarPolicy)(Code) | | Set the scrollbar policy for the next scroll pane that is created. Both the
vertical and horizonatl values are set.
Once used this value reverts to the default value of SCROLLBARS_AS_NEEDED
|
setNextVertScrollPanePolicy | public static void setNextVertScrollPanePolicy(int scrollBarPolicy)(Code) | | Set the scrollbar policy for the next vertical scroll pane that is created.
Once used this value reverts to the default value of JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED
|
|
|
|