Attributes | Name and Description |
---|---|
|
caplin.workbench.ui.Workbench(int nLeftWidth, int nRightWidth)
|
Attributes | Name and Description |
---|---|
|
void
addToLeftWing(caplin.workbench.ui.WorkbenchComponent oWorkbenchComponent, String sTitle, boolean bCollapsed)
Adds a component to the left wing. |
|
void
addToRightWing(caplin.workbench.ui.WorkbenchComponent oWorkbenchComponent, String sTitle, boolean bCollapsed)
Adds a component to the right wing. |
|
void
center(DOMElement eElement)
Centers the specified element so that it is evenly spaced between the 2 side panels. |
►
caplin.workbench.ui.Workbench(int nLeftWidth, int nRightWidth)
int | nLeftWidth | The width of the left panel in pixels. |
int | nRightWidth | The width of the right panel in pixels. |
►
void
addToLeftWing(caplin.workbench.ui.WorkbenchComponent oWorkbenchComponent, String sTitle, boolean bCollapsed)
Adds a component to the left wing.
caplin.workbench.ui.WorkbenchComponent | oWorkbenchComponent | The component to add. |
String | sTitle | The title to show for the component. |
boolean | bCollapsed | If true, the component will be collapsed. |
►
void
addToRightWing(caplin.workbench.ui.WorkbenchComponent oWorkbenchComponent, String sTitle, boolean bCollapsed)
Adds a component to the right wing.
caplin.workbench.ui.WorkbenchComponent | oWorkbenchComponent | The component to add. |
String | sTitle | The title to show for the component. |
boolean | bCollapsed | If true, the component will be collapsed. |
►
void
center(DOMElement eElement)
Centers the specified element so that it is evenly spaced between the 2 side panels.
DOMElement | eElement | The element (usually the workbench component element) to center. |