11. part
Prev | Chapter 4. Reference | Next

## 11. part

    <part
      name = NMTOKEN
    >
      Content: class [ property ]*
    </part>

    <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 generic part, that is, a Java™ Object implementing interface `com.xmlmind.xmleditapp.kit.AppPart`. Unlike action, tool, pane, etc, generic parts are ``behind the scene workers'', which are referenced in the hidden section of a layout.

The class implementing interface `com.xmlmind.xmleditapp.kit.AppPart` 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 part in this GUI specification.

Examples:

    <part name="autoSavePart">
      <class>com.xmlmind.xmleditapp.kit.part.AutoSavePart</class>
    </part>

Prev | Up | Next
10. pane | Home | 11.1. Bean properties