The BajadocViewer Plugin provides the ability to navigate and browse Baja reference documentation. Baja reference documentation
includes both Java API details as well as Baja slot documentation. It shows documentation for the following:
Constructors
Methods
Fields
In order to view Bajadoc, either right-click on a
Bajadoc file and select -> or select
from the main Menu or popup Menu.
See Object Model in the Developer Guide for more information.
This option allows you to view only the documentation for slots (Properties, Actions, and Topics). When it is set to false, documentation on the Java constructors, methods and fields is also displayed.
This option allows you to flatten the inheritance hierarchy into a single set of documentation. When it is false only the Java members and Baja slots declared in the specified class are displayed. When it is set to true all the Java members and Baja slots inherited from super classes are also shown.
Properties represent a storage location of another Niagara object. Flags are boolean values which are stored as a bitmask on each slot in a Baja Object. Some flags apply to all slot types, while some only have meaning for certain slot types.
Table 8. Flags
| Flag | Char | Applies | Description |
|---|---|---|---|
| readonly | r | P | The readonly flag is used to indicate slots which are not accessible to users.
|
| transient | t | P | Transient properties do not get persisted when saving a object graph to the file system. Transient properties are usually also readonly, unless they are designed to be a linkable input slot. |
| hidden | h | P,A,T | Hidden slots are designed to be invisible to the user, and exist only for Java developers. User interfaces should rarely display hidden slots. |
| summary | s | P | Summary properties are the focal points of any given BComponent. This flag is used by user interface tools to indicate primary properties for display. This might be as a columns in a Table, or as a glyph in a graphical programming tool. |
| async | a | A | By default Action are invoked synchronously on the callers thread. By using the async flag on an Action, invocations are coalesced and executed asynchronously at some point in the near future on the engine's
thread.
|
| noExecute | x | P | No execute properties prevents start/stop from recursing on properties with this flag set. |
| defaultOnClone | d | P | Specifies that when an object is cloned via the newCopy() method these properties retain their default value, not the clone source's value. |
| confirmRequired | c | A | When the Action is invoked by a user, a confirmation dialog must be acknowledged before proceeding. |
| operator | c | P,A,T | This makes a slot as operator security level. By default when this flag is clear, the slot is an admin security level. |
| userDefined1 | 1 | P,A,T | User defined. |
| userDefined2 | 2 | P,A,T | User defined. |
| userDefined3 | 3 | P,A,T | User defined. |
| userDefined4 | 4 | P,A,T | User defined. |
See Config Flags for information on configuring flags on properties.
An Action is a slot that specifies behavior which may be invoked either through a user command or by an event. Actions provide the capability to provide direction to Components. They may be issued manually by the operator or automatically through links. Actions can be issued by Right-clicking on the Component. The Component bajadoc provides a complete list of Actions available for each Component. Typical Actions include:
Manual actions are available based on Component type. The following are commonly available:
Auto (BooleanWritable, NumericWritable and EnumWritable)
Active (BooleanWritable)
Inactive (BooleanWritable)
Override (NumericWritable and EnumWritable)
Each of the above actions is issued to the priorityArray of the Component at level 8 (Manual Operator).
Many other Actions are available on other Components. Each Action available for a Component is listed in the Actions sect2 of the Component bajadoc.
Copyright © 2000-2014 Tridium Inc. All rights reserved.