About Widgets

Widgets are components that provide visualization. Using Px Editor, you can work with widget properties to define user interface functions for control and information display .

User widgets can process input in the form of mouse, keyboard, and focus events. User events are grouped into these same event categories. The bajaui module, the kitPxGraphics module, the kitPxHvac module, and the kitPx module all contain widgets that you can use for building rich user interfaces. You can find these widgets by opening them under the palette side bar, shown below, or you can find them using the Make Widget wizard.

In AX 3.8, a number of new widgets have been added to the kitPxGraphics module. The new widgets include:

  • high-detail images of several different actuators in both large and small sizes
  • static images of a JACE controller in three different sizes
  • various animated widgets



Figure 25.   Widgets in the bajaui, kitPxGraphics, kitPxHvac, and kitPx palettes

Image

The widget tree side bar provides a good illustration of the hierarchy structure of all widgets in a Px file (refer to “About the widget tree side bar” in the for a summary).

Some complicated widgets have mini-frameworks all to their own, such as the table widget, tree widget, treeTable widget, and textEditor widget. Refer to the “Baja Widget Toolkit” in the for more details about these types of widgets and for developer-level information about widgets.

The following sections discuss some of the primary characteristics of widgets.