Home | Trees | Indices | Help |
|
---|
|
object --+ | Applier --+ | UIObject.UIObject --+ | Widget.Widget --+ | Panel.Panel --+ | SplitPanel.SplitPanel --+ | HorizontalSplitPanel
A panel that arranges two widgets in a single horizontal row and allows the user to interactively change the proportion of the width dedicated to each of the two widgets. Widgets contained within a <code>HorizontalSplitPanel</code> will be automatically decorated with scrollbars when necessary.
Default layout behaviour of HorizontalSplitPanels is to 100% fill its parent vertically and horizontally [this is NOT normal!]
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
Creates an empty horizontal split panel.
|
* Adds a widget to a pane in the HorizontalSplitPanel. The method * will first attempt to add the widget to the left pane. If a * widget is already in that position, it will attempt to add the * widget to the right pane. If a widget is already in that position, * an exception will be thrown, as a HorizontalSplitPanel can * contain at most two widgets. * * Note that this method is bidi-sensitive. In an RTL environment, * this method will first attempt to add the widget to the right pane, * and if a widget is already in that position, it will attempt to add * the widget to the left pane. * * @param w the widget to be added * @throws IllegalStateException
|
* Gets the widget in the pane that is at the end of the line * direction for the layout. That is, in an RTL layout, gets * the widget in the left pane, and in an LTR layout, gets * the widget in the right pane. * * @return the widget, <code>null</code> if there is not one. |
* Gets the widget in the left side of the panel. * * @return the widget, <code>null</code> if there is not one. |
* Gets the widget in the right side of the panel. * * @return the widget, <code>null</code> if there is not one. |
* Gets the widget in the pane that is at the start of the line * direction for the layout. That is, in an RTL environment, gets * the widget in the right pane, and in an LTR environment, gets * the widget in the left pane. * * @return the widget, <code>null</code> if there is not one. |
* Sets the widget in the pane that is at the end of the line direction * for the layout. That is, in an RTL layout, sets the widget in * the left pane, and in and RTL layout, sets the widget in the * right pane. * * @param w the widget |
* Sets the widget in the left side of the panel. * * @param w the widget |
* Sets the widget in the right side of the panel. * * @param w the widget |
* Moves the position of the splitter. * * This method is not bidi-sensitive. The size specified is always * the size of the left region, regardless of directionality. * * @param pos the new size of the left region in CSS units (e.g. "10px", * "1em")
|
* Sets the widget in the pane that is at the start of the line direction * for the layout. That is, in an RTL layout, sets the widget in * the right pane, and in and RTL layout, sets the widget in the * left pane. * * @param w the widget |
|
Called on each mouse drag event as the user is dragging the splitter. @param x the x coord of the mouse relative to the panel's extent @param y the y coord of the mosue relative to the panel's extent
|
Called when the user starts dragging the splitter. @param x the x coord of the mouse relative to the panel's extent @param y the y coord of the mouse relative to the panel's extent
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jun 16 12:42:28 2010 | http://epydoc.sourceforge.net |