The object represents an application window with a panel, where it is possible to visualize the data of the PROMOTIC system. The content itself of the panel is created by means of the
graphics editor from
Pmg objects that can bind to the application data by
data bindings.
In the
PmaPanel object, multiple
PmaPanel objects can be created (it is meaningful if these additional objects are acting as auxiliary windows opened only from the window of this object).
This object can be created in objects:
PmaRoot,
PmaFolder,
PmaPrototype,
PmaPanel. Multiple objects of this type can be created in such objects.
The
PmaPanel object is suitable for creating windows, with content that is periodicaly updated (for example displaying current data). For windows containing large ammounts of figures without the need of quick updating (e.g. daily reporting ..)
the PmaReport object can be used. Some simpler window can be created by using the special methods, see
Pm visualization methods.
The
PmaPanel object can also
automatically generate its graphic data
into dynamic HTML pages and offer these pages to Web clients - see chapter
Web panels. Offering Web pages can be enabled on the "
PmaPanel > Web server" tab.
The client requiring data from this Web component is of the
PmWebClient type from the licence point of view.
The panel window can be displayed in the workspace (in the
PmaWorkspace object), can be opened in a separate window, it can also act as
modal window, or it can be displayed in the
Pmg object (in the
PmgFrame object) in another panel.
The window can be opened by default
by the Pm.CreateView method. This method can be called for example in the panel button and it is functional for both local and Web applications (i.e. when the method is called for example in the
Web panel button).
The
PmaPanel object exists constantly, while the panel window (with graphic content) in the local application may or may not be open (exist).
If the "
Enable multiple opening of local panel" configurator is checked, then even multiple panel windows of the same
PmaPanel object may be open simultaneously.
If the "
Level of integration of the panel viewer and the local application" configurator is set to
client - LIMITED access from scripts to the PmaPanel object and Pm object (recommended setting), then
the panel window itself is isolated from the rest of the application. It is not possible to access the window from the application by script directly and vice versa. All changes and actions in the open panel window must be executed by active panel graphic (
Pmg objects) that can use the means for communication with the application itself (data bindings, panel/global methods). This mode allows opening panel window in the Web browser on another computer and also multiple panel windows of the same
PmaPanel object simultaneously in the local application.