Panel Definition Markup Language

from Wikipedia, the free encyclopedia

The Panel Definition Markup Language (PDML) is one of IBM developed markup language for describing graphical user interfaces (GUI).

PDML is often used in conjunction with the Java programming language and, like it, is platform independent . As in XML, pairs of tags are used here (e.g. <LABEL> </LABEL>).

example

<PDML version="2.0" source="JAVA" basescreensize="1024x768">
	<PANEL name="PANEL1">
		<TITLE>PANEL1</TITLE>
		<SIZE>300,174</SIZE>
		<BUTTON name="BUTTON1">
			<TITLE>PANEL1.BUTTON1</TITLE>
			<LOCATION>21,135</LOCATION>
			<SIZE>80,25</SIZE>
			<ACTION>COMMIT</ACTION>
			<HELPLINK>PANEL1.BUTTON1</HELPLINK>
		</BUTTON>
		<TEXTFIELD name="TEXTFIELD1">
			<TITLE>PANEL1.TEXTFIELD1</TITLE>
			<LOCATION>83,37</LOCATION>
			<SIZE>134,24</SIZE>
		</TEXTFIELD>
		<LABEL name="LABEL1">
			<TITLE>PANEL1.LABEL1</TITLE>
			<LOCATION>20,36</LOCATION>
			<SIZE>63,20</SIZE>
			<HELPLINK>PANEL1.LABEL1</HELPLINK>
		</LABEL>
	</PANEL>
</PDML>

Although manual production is possible, a GUI creation program should be used (the GUI builder provided for this is supplied with the AS / 400 Toolbox for Java ). Certain user interfaces provided by IBM are available for accessing PDML sources in Java programs.

Web links