jdk/src/share/classes/javax/swing/plaf/synth/doc-files/synth.dtd
author xdono
Wed, 02 Jul 2008 12:55:45 -0700
changeset 715 f16baef3a20e
parent 142 f78032e8a30b
child 5506 202f599c92aa
permissions -rw-r--r--
6719955: Update copyright year Summary: Update copyright year for files that have been modified in 2008 Reviewed-by: ohair, tbell
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
<!ELEMENT defaultsProperty EMPTY>
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
<?xml version="1.0" encoding="iso-8859-1"?>
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
<!--
715
f16baef3a20e 6719955: Update copyright year
xdono
parents: 142
diff changeset
     5
 Copyright 2003-2008 Sun Microsystems, Inc.  All Rights Reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
 under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 published by the Free Software Foundation.  Sun designates this
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 particular file as subject to the "Classpath" exception as provided
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 by Sun in the LICENSE file that accompanied this code.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
 CA 95054 USA or visit www.sun.com if you need additional information or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
 have any questions.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
-->
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
<!ELEMENT synth ((%beansPersistance;) | style | bind | font | color |
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
          imagePainter | imageIcon | inputMap | defaultsProperty)*>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
<!ATTLIST synth
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
          version              CDATA          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
<!ELEMENT style (property | defaultsProperty | state | font |
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
          graphicsUtils | insets | painter | imagePainter | opaque |
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
          inputMap | %beansPersistance; | imageIcon)*>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
<!ATTLIST style
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
          id                   ID             #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
          clone                IDREF          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
<!ELEMENT state (font | color | painter | imagePainter |
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
          (%beansPersistance;) | property | imageIcon)*>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
<!ATTLIST state
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
          id                   ID             #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
          clone                IDREF          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
          value                CDATA          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
          idref                IDREF          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
<!ELEMENT font EMPTY>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
<!ATTLIST font
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
          id                   ID             #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
          idref                IDREF          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
          name                 CDATA          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
          style                CDATA          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
          size                 CDATA          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
<!ELEMENT color EMPTY>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
<!ATTLIST color
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
          id                   ID             #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
          idref                IDREF          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
          type                 CDATA          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
          value                CDATA          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
<!ELEMENT property EMPTY>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
<!ATTLIST property
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
          key         CDATA                                           #REQUIRED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
          type        (idref|boolean|dimension|insets|integer|string) "idref"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
          value       CDATA                                           #REQUIRED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
>
142
f78032e8a30b 6627817: Remove ^M characters in all files (Makefiles too)
ohair
parents: 2
diff changeset
    76
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
<!ELEMENT defaultsProperty EMPTY>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
<!ATTLIST defaultsProperty
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
          key         CDATA                                           #REQUIRED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
          type        (idref|boolean|dimension|insets|integer|string)   "idref"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
          value       CDATA                                           #REQUIRED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
<!ELEMENT graphicsUtils EMPTY>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
<!ATTLIST graphicsUtils
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
          idref                IDREF          #REQUIRED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
<!ELEMENT insets EMPTY>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
<!ATTLIST insets
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
          id                   ID             #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
          idref                IDREF          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
          top                  CDATA          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
          bottom               CDATA          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
          left                 CDATA          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
          right                CDATA          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
<!ELEMENT bind EMPTY>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
<!ATTLIST bind
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
          style                IDREF          #REQUIRED
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
          type                 (NAME|REGION)  "REGION"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
          key                  CDATA          #REQUIRED
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
<!ELEMENT painter EMPTY>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
<!ATTLIST painter
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
          idref                IDREF          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
          method               CDATA          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
          direction            (north|south|east|west|top|left|bottom|right|horizontal|vertical|horizontal_split|vertical_split)          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
<!ELEMENT imagePainter EMPTY>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
<!ATTLIST imagePainter
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
          id                   ID             #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
          method               CDATA          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
          direction            (north|south|east|west|top|left|bottom|right|horizontal|vertical|horizontal_split|vertical_split)          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
          path                 CDATA          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
          sourceInsets         CDATA          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
          destinationInsets    CDATA          #IMPLIED
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
          paintCenter          (true|false)   "true"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
          stretch              (true|false)   "true"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
          center               (true|false)   "false"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
<!ELEMENT imageIcon EMPTY>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
<!ATTLIST imageIcon
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
          id                   ID             #REQUIRED
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
          path                 CDATA          #REQUIRED
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
<!ELEMENT opaque EMPTY>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
<!ATTLIST opaque
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
          value                (true|false)   "true"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
<!ELEMENT inputMap (bindKey)*>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
<!ATTLIST inputMap
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
          id                   ID             #REQUIRED
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
<!ELEMENT bindKey EMPTY>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
<!ATTLIST bindKey
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
          key                  CDATA          #REQUIRED
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
          action               CDATA          #REQUIRED
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
>