Constructor
new module:br-workbench /ui /Workbench(nLeft Width, nRight Width)
Parameters:
Name | Type | Description |
---|---|---|
nLeftWidth |
int | The width of the left panel in pixels. |
nRightWidth |
int | The width of the right panel in pixels. |
Methods
add ToLeft Wing(oWorkbench Component, sTitle, bCollapsed)
Adds a component to the left wing.
Parameters:
Name | Type | Description |
---|---|---|
oWorkbenchComponent |
Workbench |
The component to add. |
sTitle |
String | The title to show for the component. |
bCollapsed |
boolean | If true, the component will be collapsed. |
add ToRight Wing(oWorkbench Component, sTitle, bCollapsed)
Adds a component to the right wing.
Parameters:
Name | Type | Description |
---|---|---|
oWorkbenchComponent |
Workbench |
The component to add. |
sTitle |
String | The title to show for the component. |
bCollapsed |
boolean | If true, the component will be collapsed. |
center(eElement)
Centers the specified element so that it is evenly spaced between the 2 side panels.
Parameters:
Name | Type | Description |
---|---|---|
eElement |
DOMElement | The element (usually the workbench component element) to center. |
- See: