Interface: ISimpleToolPaneOptions
A set of options which define the basic properties of a
window pane (or sub-pane) for a simple tool. This pane can
be a top level pane, or a child pane of the top level pane,
and is the content container for all of the UI controls used
by the editor tool. Each pane is uniquely identified by the
id
property, and has a number of optional function
closures which are called at various points in the pane's
lifecycle. Note that instead of having a single onFinalize
function, panes implement a pair of onBeginFinalize
and
onEndFinalize
functions. This is to allow for the pane to
be partially constructed BEFORE any child panes are
constructed. Once all child panes have been fully finalized,
then the onEndFinalize
function is called to allow the
pane to finalize itself.
Properties
childPaneInitiallyVisible?
optional
childPaneInitiallyVisible:string
childPanes?
optional
childPanes:ISimpleToolPaneOptions
[]
childPanesMutuallyExclusive?
optional
childPanesMutuallyExclusive:boolean
id
id:
string
onBeginFinalize()?
optional
onBeginFinalize: (pane
) =>void
Parameters
Parameter | Type |
---|---|
pane | ISimpleToolPaneComponent |
Returns
void
onEndFinalize()?
optional
onEndFinalize: (pane
) =>void
Parameters
Parameter | Type |
---|---|
pane | ISimpleToolPaneComponent |
Returns
void
onHide()?
optional
onHide: (pane
) =>void
Parameters
Parameter | Type |
---|---|
pane | ISimpleToolPaneComponent |
Returns
void
onShow()?
optional
onShow: (pane
) =>void
Parameters
Parameter | Type |
---|---|
pane | ISimpleToolPaneComponent |
Returns
void
onTeardown()?
optional
onTeardown: (pane
) =>void
Parameters
Parameter | Type |
---|---|
pane | ISimpleToolPaneComponent |
Returns
void
titleAltText
titleAltText:
string
titleStringId?
optional
titleStringId:string