10. pane
Prev | Chapter 4. Reference | Next

## 10. pane

    <pane
      name = NMTOKEN
      icon = anyURI
      label = non empty token
      helpId = NMTOKEN
    >
      Content: class [ property ]*
    </pane>

    <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 pane, that is, a form like standard Edit tool or standard Attributes tool, intended to be placed at the left or at the right of the document views. The Java™ object implementing the form must be an instance of class `java.awt.Component`, implementing interface `com.xmlmind.xmleditapp.kit.AppPane`.

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

icon

  Required. Icon of the pane (the pane is generally contained in a tabbed container and this is needed for the tab showing the pane). This URI may be resolved using XML catalogs.

label

  Required. Label of the pane (the pane is generally contained in a tabbed container and this is needed for the tab showing the pane).

helpId

  Online help ID of the pane.

Example:

      <pane name="textSearchReplacePane" label="Search"
            icon="icons/textSearchReplacePane.gif"
            helpId="textSearchReplacePane">
        <class>com.xmlmind.xmleditapp.kit.part.TextSearchReplacePane</class>
      </pane>

Prev | Up | Next
9. openedDocumentHook | Home | 11. part