Class XttGraph
|
Version |
1.0 |
|
Modified |
15-JAN-2025 13:23:35.00 |
|
The XttGraph object defines a xtt action for an operator, that can be
executed from a pushbutton in the operator window. An action can be
opening a ge graph or a java frame, or executing a xtt-command.
In the attribute Action, a xtt graph, java class or xtt-command can
be entered.
The XttGraph object is connected to a pushbutton in the
operator window by entering the name of the XttGraph-object in the
FastAvail-array i the User-object for the operator place.
I the action is opening a ge graph, the graph can be opened from the
popup menu for an object by putting the name of the XttGraph in
the DefGraph attribute for the object (or for an ancestor to the object).
This action i supported for all objects that contains a DefGraph attribute,
for example $PlantHier, Ai, Ao, Di, Do, Av and Dv.
See also
RtBody attributes pwr_sClass_XttGraph |
String80 |
Description |
|
Description of the object. |
String80 |
Action |
|
Action to be performed: pwg-file, java class or xtt command.
|
String40 |
Title |
|
Title of the window. |
String40 |
ButtonText |
|
Text of the pushbutton in the operator window. |
Float32 |
UpdateInterval |
|
Not implemented. |
Int32 |
X |
|
X position in pixel for the window. |
Int32 |
Y |
|
Y position in pixel for the window. |
Int32 |
Width |
|
Width of the window in pixel. |
Int32 |
Height |
|
Height of the window in pixel. |
Array of Objid |
Object |
|
Name of an object, if action is opening a class graph for a specific object.
In Ge graphs, first element replaces "$object", second "$object2" etc. |
XttGraphOptionsMask |
Options |
|
Options for the graph.
- FullScreen Open the graph as full screen without frame.
- Maximize Open the graph maximized, not covering the operator window (NYI).
- FullMaximize Open the graph maximized, covering the operator window.
- Iconify Open the graph iconified.
- Menu Add a standard menu with close and zoom buttons.
- Srollbars Add scrollbars.
- Navigator Open a navigator window for scrolling and zooming the graph. |
Array of Float32 |
Borders |
|
Determines the border of a Ge graph. The first two elements are the
coordinates for the upper left corner, and the two last, the coordinates for
the lower right corner. These values will override the x0, y0, x1 and y1
values in Graph Attributes for the graph. |
ConfigStatusEnum |
ConfigurationStatus |
|
Configuration status.
|
SafetyLevelEnum |
SafetyLevel |
|
Safety level.
|
Template Object |
UpdateInterval |
1.0 |
Attributes detail
Description of the object.
Action to be performed. The action can be
- open a ge graph. The action attribute should contain the
name of the graph-file, for example "my_graph.pwg"
- open a java frame. The action attribute should contain the
name of the class, for example "MyFrame.class". This requires
that the xtt java process (Jop) is started.
- execute a xtt command. The action attribute should contain the
xtt command.
Text of the pushbutton in the operator window.
X position in pixel for the window.
Y position in pixel for the window.
Width of the window in pixel.
Height of the window in pixel.
Name of an object, if action is opening a class graph for a specific object.
In Ge graphs, first element replaces "$object", second "$object2" etc.
Options for the graph.
- FullScreen Open the graph as full screen without frame.
- Maximize Open the graph maximized, not covering the operator window (NYI).
- FullMaximize Open the graph maximized, covering the operator window.
- Iconify Open the graph iconified.
- Menu Add a standard menu with close and zoom buttons.
- Srollbars Add scrollbars.
- Navigator Open a navigator window for scrolling and zooming the graph.
Determines the border of a Ge graph. The first two elements are the
coordinates for the upper left corner, and the two last, the coordinates for
the lower right corner. These values will override the x0, y0, x1 and y1
values in Graph Attributes for the graph.
Configuration status.
Status in the development environment for an hierarchy,
plcprogram or process graph, set by the designer to indicate
the current state. If a status is set for an object, it is
marked red, yellow or green in the configurator. Also the
status text if viewed surrounded by angel brackets.
Safety level.
Safety level in the development environment for an hierarchy,
plcprogram or process graph, set by the designer to indicate
the level. If a level is set for an object, it is marked with
a warning trangle.