17. toolBarItems
Prev | Chapter 4. Reference | Next

## 17. toolBarItems

    <toolBarItems
      name = NMTOKEN
      count = strictly positive int
    >
      Content: class [ property ]*
    </toolBarItems>

    <class>
      Content: Java class name
    </class>

    <property
      name = NMTOKEN matching [_a-zA-Z][_a-zA-Z0-9]*
      type = (boolean|byte|char|short|int|long|float|double|
              String|Color|Font)
      value = string
    />

Specifies a dynamic set of tool bar items, that is, a Java™ Object implementing interface `com.xmlmind.xmleditapp.kit.AppToolBarItems`.

The class implementing interface `com.xmlmind.xmleditapp.kit.AppToolBarItems` is specified by the `class` child element.

`Property` child elements may be used to parametrize a newly created part. See bean properties.

Attributes:

name

  Required. Unique name identifying the dynamic set of tool bar items in this GUI specification.

count

  The fixed number of items which will be dynamically added to this part. This attribute must not be specified for truly dynamic set of tool bar items.

Example:

    <toolBarItems name="configSpecificToolBarItems">
      <class>com.xmlmind.xmleditapp.kit.part.ConfigSpecificToolBarItems</class>
    </toolBarItems>

Prev | Up | Next
16. toolBar | Home | 18. translation