A view is an area in the browser that shows graphical
presentations. In the following example, the view shows a portion
of a JViews diagram. There are different implementations of the view
concept and they are designed to show special graphic views such charts,
diagrams, maps, Gantt charts, etc.
At the HTML level, a view is implemented by <div>
, <img>
,
and <script>
elements. The <img>
element
is used to display the graphic view provided by JViews servlets running on Web application servers.JViews servlets generate images in JPEG
, PNG
,
or GIF
so they can be displayed by standard
Web browsers.
A view is also a set of JavaScript classes
that handle the network communication with JViews servlets. For example, when the graphic view
is zoomed, the view needs to send the right parameters to JViews servlets and to display the returned image. For
implementation details, see
IlvView JavaScript class.