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