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 Attribute
Klass Attribute
Typ String80
Flags
Kropp RtBody
 Description of the object.

Action Attribute
Klass Attribute
Typ String80
Flags
Kropp 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
Klass Attribute
Typ String40
Flags
Kropp RtBody
Title of the window.

ButtonText Attribute
Klass Attribute
Typ String40
Flags
Kropp RtBody
Text of the pushbutton in the operator window.

UpdateInterval Attribute
Klass Attribute
Typ Float32
Flags
Kropp RtBody
Not implemented.

X Attribute
Klass Attribute
Typ Int32
Flags
Kropp RtBody
X position in pixel for the window.

Y Attribute
Klass Attribute
Typ Int32
Flags
Kropp RtBody
Y position in pixel for the window.

Width Attribute
Klass Attribute
Typ Int32
Flags
Kropp RtBody
Width of the window in pixel.

Height Attribute
Klass Attribute
Typ Int32
Flags
Kropp RtBody
Height of the window in pixel.

Object Attribute
Klass Attribute
Typ Array of Objid
Flags ARRAY
Elements 4
Kropp 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
Klass Attribute
Typ XttGraphOptionsMask
Flags
Kropp 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
Klass Attribute
Typ Array of Float32
Flags ARRAY
Elements 4
Kropp 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
Klass Attribute
Typ ConfigStatusEnum
Flags
Kropp 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
Klass Attribute
Typ SafetyLevelEnum
Flags
Kropp 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.