<customToolbarComboBox> Element

This element specifies the properties for a developer defined custom toolbar combo box for use within Ephox EditLive! for Java.

Element Tree Structure

<editLiveForJava>
    <toolbars>
        <commandToolbar> OR <formatToolbar>
            <customToolbarComboBox>

<editLiveForJava>
     ...
     <toolbars>
          <formatToolbar> OR <commandToolbar>*
               <customToolbarComboBox>
                    <!--custom toolbar combo box settings-->
               </customToolbarComboBox>
          </formatToolbar> OR </commandToolbar>*
     </toolbars>
     ...
</editLiveForJava>

*Note:  The <customToolbarComboBox> element can exist within either the <formatToolbar> element or the <commandToolbar> element.  Closing tags should be matched to opening tags (ie. <formatToolbar> ... </formatToolbar>).

Child Elements

Element Description
<customComboBoxItem> This element defines an item which is to be used within a custom combo box.

Required Attributes

Attribute Description
name The name which uniquely defines this custom toolbar combo box.

Example

The following example demonstrates how to define a custom toolbar combo box for use within EditLive! for Java on the Command Toolbar.  

<editLiveForJava>
    ...
    <toolbars>
        <commandToolbar>
            <customToolbarComboBox name="CustomCombo">
                <!--customToolbarComboBox settings-->
            </customToolbarComboBox>
        </commandToolbar>
    </toolbars>
    ...
</editLiveForJava>

Remarks

The <customToolbarComboBox> element can appear multiple times within the <commandToolbar> or <formatToolbar> elements.

See Also