Current Page:
NeXtMidas User's Guide
![]() ![]() |
|
Panel BasicsThe NeXtMidas panel is a Java AWT (Abstract Windowing Toolkit) panel that serves as a container to attach other NeXtMidas graphic primitives.
Graphical user interfaces, or GUIs (pronounced gooies), contain menus
and prompts in addition to graphical objects. An excellent way to get
acquainted with a NeXtMidas GUI is to use one. To start a NeXtMidas GUI demo,
type The following subsections provide an overview of the NeXtMidas panel: Macro Syntax
A pipe/panel onis the same as: pipe on
A
A graphical primitive with a
In macro mode, the config file name is generated by replacing the extension
on the macro file with Panel Margins
A
The regions display text no matter how small the
To be used by a plotter, a region must have a
The panes in the panel are accessible through the set REG.PANEL.PANES.PANE1.TITLE "My Title String"
Normally, each pane in the panel is named with the ID of the primitive to be
displayed there. This is perfomed by the Panel ConfigurationTo create the inner region bars and panes, enter the Configure-->Modify mode. When the mouse is over the point of interest, press the middle mouse button (MMB). A Cfg.Add menu appears with the following items: CANCEL - don't do anything here VLINE - place a vertical bar between closest natural endpoints HLINE - place a horizontal bar between closest natural endpoints VLINEX - place a vertical bar between margins HLINEX - place a horizontal bar between margins PANE - add a pane in this regionTo configure a pane, press the MMB over the pane. Now you can set the title, text, size, and color; or, you can attach a primitive. Auto GridIn some applications, especially those with channelized data, a variable number of plots with equal size is desired.
If the NX - number of panes in the horizontal direction NY - number of panes in the vertical direction ID - id + index is the pane id NAME - name + index is the pane name TITLE - title + index is the pane title TS - title size in pixels (=0 to supress) Placing Widgets
By default, any control widget created by the
Groups are defined by the label widgets that precede them. If new controls
need to be added to previously defined groups, use the
Any graphical control added to the panel using the set REG.PANEL.CONTROLS.FREQ.value 1.33It is a common practice to make a shorter reference to this table for easier coding: set gc REG.PANEL.CONTROLS ! or use panel/controls=gc res gc.FREQ.value 1.33 res gc.MAINMENU.item 1 |
|