Caplin Trader 4.0.3

Interface: module:caplin/component/frame/DialogFrame

module:caplin/component/frame/DialogFrame

Extends

Methods

resize(nWidth, nHeight)

Resize the dialog window.
Parameters:
Name Type Description
nWidth int The new width of the dialog.
nHeight int The new height of the dialog.

setClosable(bClosable)

Sets whether the dialog can be closed or not.
Parameters:
Name Type Description
bClosable boolean True if the dialog can be closed, false otherwise.

setHeading(sHeading)

Sets the heading text for the dialog frame.
Parameters:
Name Type Description
sHeading String the text which heading will be set to.

setSubHeading(sSubHeading)

Sets the sub heading text for the dialog frame.
Parameters:
Name Type Description
sSubHeading String the text which sub-heading will be set to.