Class XttGraph
Version 1.0
Modified 08-MAR-2026 11:05:32.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
String104 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 Attribute
Class Attribute
Type String104
Flags
Body RtBody
 Description of the object.

Action Attribute
Class Attribute
Type String80
Flags
Body RtBody
 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.

Title Attribute
Class Attribute
Type String40
Flags
Body RtBody
Title of the window.

ButtonText Attribute
Class Attribute
Type String40
Flags
Body RtBody
Text of the pushbutton in the operator window.

UpdateInterval Attribute
Class Attribute
Type Float32
Flags
Body RtBody
Not implemented.

X Attribute
Class Attribute
Type Int32
Flags
Body RtBody
X position in pixel for the window.

Y Attribute
Class Attribute
Type Int32
Flags
Body RtBody
Y position in pixel for the window.

Width Attribute
Class Attribute
Type Int32
Flags
Body RtBody
Width of the window in pixel.

Height Attribute
Class Attribute
Type Int32
Flags
Body RtBody
Height of the window in pixel.

Object Attribute
Class Attribute
Type Array of Objid
Flags ARRAY
Elements 4
Body RtBody
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 Attribute
Class Attribute
Type XttGraphOptionsMask
Flags
Body RtBody
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.

Borders Attribute
Class Attribute
Type Array of Float32
Flags ARRAY
Elements 4
Body RtBody
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.

ConfigurationStatus Attribute
Class Attribute
Type ConfigStatusEnum
Flags
Body RtBody
 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.

SafetyLevel Attribute
Class Attribute
Type SafetyLevelEnum
Flags
Body RtBody
 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.