| schema location: | http://www.microemu.org/2.0.2/device.xsd |
| attribute form default: | |
| element form default: | qualified |
| targetNamespace: | http://www.microemu.org/2.0.2/ |
| Elements | Complex types | Simple types |
| device | button | command |
| chars | ||
| device | ||
| display | ||
| fontBase | ||
| fontMapping | ||
| fontReference | ||
| fonts | ||
| icon | ||
| img | ||
| input | ||
| paintable | ||
| point | ||
| polygon | ||
| rectangle | ||
| softbutton | ||
| status | ||
| statusImg | ||
| system | ||
| system-properties | ||
| ttf |
| diagram | ![]() |
||||||||||||||||||||||
| namespace | http://www.microemu.org/2.0.2/ | ||||||||||||||||||||||
| type | device | ||||||||||||||||||||||
| properties |
|
||||||||||||||||||||||
| children | class-name system-properties img display fonts input | ||||||||||||||||||||||
| attributes |
|
||||||||||||||||||||||
| annotation |
|
||||||||||||||||||||||
| source | <xsd:element name="device" type="device"> <xsd:annotation> <xsd:documentation>The device element is the root of the device descriptor.</xsd:documentation> </xsd:annotation> </xsd:element> |
| diagram | ![]() |
||||||||||||||||||||||||||||||||||||||||||||||
| namespace | http://www.microemu.org/2.0.2/ | ||||||||||||||||||||||||||||||||||||||||||||||
| children | chars rectangle polygon | ||||||||||||||||||||||||||||||||||||||||||||||
| used by |
|
||||||||||||||||||||||||||||||||||||||||||||||
| attributes |
|
||||||||||||||||||||||||||||||||||||||||||||||
| source | <xsd:complexType name="button"> <xsd:annotation> <xsd:documentation/> </xsd:annotation> <xsd:sequence> <xsd:element name="chars" type="chars" minOccurs="0" maxOccurs="unbounded"/> <xsd:choice> <xsd:element name="rectangle" type="rectangle"/> <xsd:element name="polygon" type="polygon"/> </xsd:choice> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required"> <xsd:annotation> <xsd:documentation>Name of the button. e.g. 0, 1, 2 ... # *</xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="key" type="xsd:string"> <xsd:annotation> <xsd:documentation>Computer keyboard key codes space separated used to trigger this button.</xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="keyboardChars" type="xsd:string"> <xsd:annotation> <xsd:documentation>Computer keyboard key codes in character (not separated) used to trigger this button.</xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="keyCode" type="xsd:string"> <xsd:annotation> <xsd:documentation>Keyboard key code passed to Canvas.keyPressed() finction</xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="modeChange" type="xsd:boolean"> <xsd:annotation> <xsd:documentation>This button is modeChange button for text inputs</xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:complexType> |
| type | xsd:string | ||||
| properties |
|
||||
| annotation |
|
||||
| source | <xsd:attribute name="name" type="xsd:string" use="required"> <xsd:annotation> <xsd:documentation>Name of the button. e.g. 0, 1, 2 ... # *</xsd:documentation> </xsd:annotation> </xsd:attribute> |
| type | xsd:string | ||
| properties |
|
||
| annotation |
|
||
| source | <xsd:attribute name="key" type="xsd:string"> <xsd:annotation> <xsd:documentation>Computer keyboard key codes space separated used to trigger this button.</xsd:documentation> </xsd:annotation> </xsd:attribute> |
| type | xsd:string | ||
| properties |
|
||
| annotation |
|
||
| source | <xsd:attribute name="keyboardChars" type="xsd:string"> <xsd:annotation> <xsd:documentation>Computer keyboard key codes in character (not separated) used to trigger this button.</xsd:documentation> </xsd:annotation> </xsd:attribute> |
| type | xsd:string | ||
| properties |
|
||
| annotation |
|
||
| source | <xsd:attribute name="keyCode" type="xsd:string"> <xsd:annotation> <xsd:documentation>Keyboard key code passed to Canvas.keyPressed() finction</xsd:documentation> </xsd:annotation> </xsd:attribute> |
| type | xsd:boolean | ||
| properties |
|
||
| annotation |
|
||
| source | <xsd:attribute name="modeChange" type="xsd:boolean"> <xsd:annotation> <xsd:documentation>This button is modeChange button for text inputs</xsd:documentation> </xsd:annotation> </xsd:attribute> |
| diagram | ![]() |
||||||||||||
| namespace | http://www.microemu.org/2.0.2/ | ||||||||||||
| type | chars | ||||||||||||
| properties |
|
||||||||||||
| children | char | ||||||||||||
| attributes |
|
||||||||||||
| source | <xsd:element name="chars" type="chars" minOccurs="0" maxOccurs="unbounded"/> |
| diagram | ![]() |
||||
| namespace | http://www.microemu.org/2.0.2/ | ||||
| type | rectangle | ||||
| properties |
|
||||
| children | x y width height | ||||
| source | <xsd:element name="rectangle" type="rectangle"/> |
| diagram | ![]() |
||||
| namespace | http://www.microemu.org/2.0.2/ | ||||
| type | polygon | ||||
| properties |
|
||||
| children | point | ||||
| source | <xsd:element name="polygon" type="polygon"/> |
| diagram | ![]() |
||||||||||||
| namespace | http://www.microemu.org/2.0.2/ | ||||||||||||
| children | char | ||||||||||||
| used by |
|
||||||||||||
| attributes |
|
||||||||||||
| source | <xsd:complexType name="chars"> <xsd:sequence> <xsd:element name="char" type="xsd:string" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="input" type="xsd:string"/> </xsd:complexType> |
| type | xsd:string | ||
| properties |
|
||
| source | <xsd:attribute name="input" type="xsd:string"/> |
| diagram | ![]() |
||||||||
| namespace | http://www.microemu.org/2.0.2/ | ||||||||
| type | xsd:string | ||||||||
| properties |
|
||||||||
| source | <xsd:element name="char" type="xsd:string" maxOccurs="unbounded"/> |
| diagram | ![]() |
||||||||||||||||||||||
| namespace | http://www.microemu.org/2.0.2/ | ||||||||||||||||||||||
| children | class-name system-properties img display fonts input | ||||||||||||||||||||||
| used by |
|
||||||||||||||||||||||
| attributes |
|
||||||||||||||||||||||
| source | <xsd:complexType name="device"> <xsd:sequence> <xsd:element name="class-name" type="xsd:string" default="org.microemu.device.Device" minOccurs="0"> <xsd:annotation> <xsd:documentation>The optional class that implements this device</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="system-properties" type="system-properties" minOccurs="0"/> <xsd:element name="img" type="img" minOccurs="0" maxOccurs="3"> <xsd:annotation> <xsd:documentation>The image of the phone. Optional when device is extension.</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="display" type="display"/> <xsd:element name="fonts" type="fonts" minOccurs="0"/> <xsd:element name="input" type="input"/> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" default="path"> <xsd:annotation> <xsd:documentation>The name of this device</xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="extends" type="xsd:string"> <xsd:annotation> <xsd:documentation>The path to parent device.xml for inheritance</xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:complexType> |
| type | xsd:string | ||||
| properties |
|
||||
| annotation |
|
||||
| source | <xsd:attribute name="name" type="xsd:string" default="path"> <xsd:annotation> <xsd:documentation>The name of this device</xsd:documentation> </xsd:annotation> </xsd:attribute> |
| type | xsd:string | ||
| properties |
|
||
| annotation |
|
||
| source | <xsd:attribute name="extends" type="xsd:string"> <xsd:annotation> <xsd:documentation>The path to parent device.xml for inheritance</xsd:documentation> </xsd:annotation> </xsd:attribute> |
| diagram | ![]() |
||||||||||
| namespace | http://www.microemu.org/2.0.2/ | ||||||||||
| type | xsd:string | ||||||||||
| properties |
|
||||||||||
| annotation |
|
||||||||||
| source | <xsd:element name="class-name" type="xsd:string" default="org.microemu.device.Device" minOccurs="0"> <xsd:annotation> <xsd:documentation>The optional class that implements this device</xsd:documentation> </xsd:annotation> </xsd:element> |
| diagram | ![]() |
||||||||
| namespace | http://www.microemu.org/2.0.2/ | ||||||||
| type | system-properties | ||||||||
| properties |
|
||||||||
| children | system-property | ||||||||
| source | <xsd:element name="system-properties" type="system-properties" minOccurs="0"/> |
| diagram | ![]() |
||||||||||||||||||
| namespace | http://www.microemu.org/2.0.2/ | ||||||||||||||||||
| type | img | ||||||||||||||||||
| properties |
|
||||||||||||||||||
| attributes |
|
||||||||||||||||||
| annotation |
|
||||||||||||||||||
| source | <xsd:element name="img" type="img" minOccurs="0" maxOccurs="3"> <xsd:annotation> <xsd:documentation>The image of the phone. Optional when device is extension.</xsd:documentation> </xsd:annotation> </xsd:element> |
| diagram | ![]() |
||||
| namespace | http://www.microemu.org/2.0.2/ | ||||
| type | display | ||||
| properties |
|
||||
| children | iscolor numcolors numalphalevels foreground background rectangle paintable icon status | ||||
| source | <xsd:element name="display" type="display"/> |
| diagram | ![]() |
||||||||||||
| namespace | http://www.microemu.org/2.0.2/ | ||||||||||||
| type | fonts | ||||||||||||
| properties |
|
||||||||||||
| children | font | ||||||||||||
| attributes |
|
||||||||||||
| source | <xsd:element name="fonts" type="fonts" minOccurs="0"/> |
| diagram | ![]() |
||||
| namespace | http://www.microemu.org/2.0.2/ | ||||
| type | input | ||||
| properties |
|
||||
| children | haspointerevents haspointermotionevents hasrepeatevents softbutton button | ||||
| source | <xsd:element name="input" type="input"/> |
| diagram | ![]() |
||
| namespace | http://www.microemu.org/2.0.2/ | ||
| children | iscolor numcolors numalphalevels foreground background rectangle paintable icon status | ||
| used by |
|
||
| annotation |
|
||
| source | <xsd:complexType name="display"> <xsd:annotation> <xsd:documentation>Define device display capabilities</xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="iscolor" type="xsd:boolean" default="true" minOccurs="0"> <xsd:annotation> <xsd:documentation>The screen is capable of displaying colors</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="numcolors" type="xsd:integer" minOccurs="0"/> <xsd:element name="numalphalevels" type="xsd:integer" minOccurs="0"/> <xsd:element name="foreground" type="xsd:string" default="000000" minOccurs="0"> <xsd:annotation> <xsd:documentation>The foreground color of display</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="background" type="xsd:string" default="ffffff" minOccurs="0"> <xsd:annotation> |