ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahh_5.4.0.1/rzahh504.htm

116 lines
6.6 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="Long description of Figure 1: Graphical Toolbox runtime environment (rzahh504.gif)" />
<meta name="DC.Relation" scheme="URI" content="pdmlasui.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzahh504" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Long description of Figure 1: Graphical Toolbox runtime environment
(rzahh504.gif)</title>
</head>
<body id="rzahh504"><a name="rzahh504"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Long description of Figure 1: Graphical Toolbox runtime environment
(rzahh504.gif)</h1>
<div><div class="section"><p><strong>found in IBM<sup>®</sup> Toolbox for Java™: Displaying your panels at runtime</strong></p>
<p>This
figure illustrates how the elements of the Graphical Toolbox runtime environment
interact with application code.</p>
</div>
<div class="section"><h4 class="sectiontitle">Description</h4><p>The figure is composed of several boxes
of differing shapes, sizes, and colors that are connected to each other by
lines terminated by arrowheads at one or both ends.</p>
<p>In order to visualize
the figure, it is useful to divide it into three columns and four rows, numbering
the areas in sequence from top left to bottom right. fo example, The first
row contains areas 1, 2, and 3; the second row contains areas 4, 5, and 6;
and so on:</p>
<ul><li>The image of a dialog box that occupies areas 2 and 5 represents the GUI
interface for your Java program. The dialog box features a
variety of options, like check boxes, text fields, and so on.</li>
<li>Two tan cylinders at the top of area 1 are labeled PDML Source and Resource
Bundle. These cylinders represent PDML source and Java resource files that reside on a storage
medium.</li>
<li>One tan cylinder in area 10 labeled PDML Serialized represents one or
more serialized PDML files that reside on a storage medium.</li>
<li>Five blue rectangles that surround the bottom portion of the dialog box
represent components of the Graphical Toolbox. Starting at the leftmost rectangle
and moving counter-clockwise, they are labeled: <ul><li>XML Parser (Pure Java) in area 4, which represents the IBM XML
Parser.</li>
<li> Runtime Managers (Pure Java) in area 7. Your Java program
is a client of one or more of the objects contained in Runtime Managers:
Panels, Property sheets, Wizards, and Layout.</li>
<li>Common Data Exchanger (Pure Java) in area 8.</li>
<li>Common Formatters (Pure Java) in area 9.</li>
<li>Common Handlers (Pure Java) in area 6.</li>
</ul>
</li>
<li>Three green rectangles represent code provided by the application programmer
and are labeled: <ul><li>Custom Handlers (Java Application) in area 3</li>
<li>Custom Formatters (Java Application) in are 12</li>
<li>User Interface Data Beans (Pure Java) in area 11</li>
</ul>
</li>
<li>Lines connect many of the shapes: <ul><li>A line that has a single arrowhead (on one end) indicates an action.
Single arrowhead lines point toward a function or component that uses the
object from which the line originates. In the following description, the
word "use" means that a line with a single arrowhead points toward an object
from the component that acts upon it.</li>
<li>A line that has a double arrowhead (one at each end) indicates an interaction.
These lines connect objects that share a two-way exchange of information.
In the following description, the word "interact" means that the components
are connected by a line with a double arrowhead. </li>
</ul>
</li>
</ul>
<p>The GUI interface for your Java program (the image of the dialog in
areas 2 and 5) interacts with the Runtime Managers for the Graphical Toolbox
(the blue rectangle in area 7).</p>
<p>The Runtime Managers, which are pure Java,
contain panels, property sheets, wizards, and the GUI layouts. To generate
the GUI, the Runtime Managers use a Java resource bundle (one of two tan cylinders
in area 1) and PDML data. Runtime Managers can process PDML data in one of
two ways:</p>
<ul><li>Using serialized PDML files (the tan cylinder in area 10)</li>
<li>Using the IBM iSeries™ XML
Parser (the blue rectangle in area 4), which in turn uses (parses) the PDML
source files (one of two tan cylinders in area 1)</li>
</ul>
<p> Your GUI-enabled Java program operates on data in one of
the following ways:</p>
<ul><li>Having the GUI interface interact with custom handlers (the green rectangle
in area 3) and common handlers (the blue rectangle in area 6)</li>
<li>Having the common data exchanger (the blue rectangle in area 8) use the
GUI interface to obtain information</li>
</ul>
<p>The custom handlers, common handlers, and the common data exchanger
all interact with the user interface data beans (the green rectangle in area
11), passing information back and forth. The common data exchanger interacts
with common formatters (the blue rectangle in area 9) and custom formatters
(the green rectangle in area 12) to convert the data into appropriate formats
for the user interface data beans.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="pdmlasui.htm" title="The Graphical Toolbox provides a redistributable API that your Java programs can use to display user interface panels defined using PDML. The API displays your panels by interpreting the PDML and rendering your user interface using the Java Foundation Classes.">Displaying your panels at runtime</a></div>
</div>
</div>
</body>
</html>