See: Description
Interface | Description |
---|---|
GXIBrowserSupportedFeatures |
Class | Description |
---|---|
GXIllegalPositionException |
This exception is thrown when performing a query on a screen tag model that
requires a position but the specified position is outside the screen tag model bounds.
|
GXPresentationConstants |
This class contains general constants that are used by the API and
its sub packages.
|
GXRenderConfig |
This class is used for setting the Renderer configuration.
|
GXTagUtil | |
GXUndefinedPositionException |
This exception is thrown when performing a query on a screen tag model that
requires a position but the specified position is empty.
|
The following API enables registering as many transformation classes as you require. These transformations can manipulate the output by adding, removing, replacing and changing the screen tag model using a rich library of tags and an easy-to-use API.
The tags are are rendered in absolute terms, as oppose to the relative rendering used previously. Rendering the HTML tags relatively caused indentation problems when trying to add or change elements or style sheets such as GUI elements, host windows and different fonts. In the following API, each tag is rendered with corresponding top/left attributes which places the tag in an exact position. The main advantage of this approach is that changing/adding tags/stylesheets doesn't affect the neighboring tags of the modified tag.
The host screen entity (which is part of the base object API) is the data model that represents the host screen. The host screen is a collection of fields and additional screen data. The host screen is used in transformations as an event parameter. The host screen event parameter can be used for querying the host screen as to its field contents and properties. (Refer to BaseObject JavaDoc for further documentation).
This class represents a position on the host screen. It is used by the host field and the tag to indicate a specific position on the host screen.
This entity is represented as an instant tag in the JSP/Instant control in .NET (in instant.jsp/aspx). The Renderer tag renders the HTML output based on the current host screen Renderer configuration settings and registered transformations.
The Renderer Configuration class contains various configurations such as screen area, font size and sub configurations for various built-in transformations. Examples for such sub configurations include host keys, GUI elements, tables, windows, etc. Each sub configuration also allows disabling specific built-in transformations. The Renderer configuration provides transformation registration of the tag listener and completion listener.
The tag entity is the root class of all tag types, such as text fields, labels, links, combo boxes etc. The tag is a host oriented entity.
The tag provides a reference to the host field, and allows locating tags by setting their position in host units (row, column). The initial position is derived from the host field, and can be modified by the developer. The position will be rendered to HTML units as top/left.
Each tag type contains methods relevant to its type.
Special HTML tags are also available such as GXHtmlGenericTag
– for creating a generic tag by specifying the tag name and GXHtmlString
– for using direct strings and adding them to the screen tag model.
The tags factory is used for creating new HTML tags and for improving performance.
Syntax:
GXHtmlTagFactory.instance().newLink(…)
This class contains methods for each type of tag.
Transformations are listeners which are registered to the Renderer configuration by the developer, and allow modifying the screen tag model before it is rendered. The transformations can be one of the following types: Tag listeners or Completion listeners.
Note: All ApplinX special entities such as host keys, tables, GUI elements and windows are also represented as built-in transformations, and are performed automatically by the Renderer entity.
onNewTextField", "onNewLabel", "onNewButton",
etc.
It should be used for tag level manipulations, such as changing the content and attributes, adding icons, etc.
onComplete
event,
which should be used for manipulating the entire tag model.
Copyright 2021 Software AG. All rights reserved. Use is subject to license terms.