@yamcs/opi 1.2.5 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +0 -35
- package/dist/opi.js +1 -1
- package/dist/opi.js.map +1 -1
- package/dist/types/ColorMap.d.ts +1 -1
- package/dist/types/DialogHandler.d.ts +14 -0
- package/dist/types/Display.d.ts +58 -47
- package/dist/types/EventHandler.d.ts +3 -3
- package/dist/types/Font.d.ts +3 -1
- package/dist/types/FontResolver.d.ts +4 -0
- package/dist/types/Graphics.d.ts +11 -11
- package/dist/types/HitCanvas.d.ts +1 -1
- package/dist/types/HitRegionSpecification.d.ts +2 -2
- package/dist/types/PathResolver.d.ts +2 -2
- package/dist/types/Widget.d.ts +19 -13
- package/dist/types/XMLNode.d.ts +17 -17
- package/dist/types/actions/Action.d.ts +10 -0
- package/dist/types/actions/ExecuteCommandAction.d.ts +10 -0
- package/dist/types/actions/ExecuteJavaScriptAction.d.ts +10 -0
- package/dist/types/actions/OpenDisplayAction.d.ts +11 -0
- package/dist/types/actions/OpenFileAction.d.ts +8 -0
- package/dist/types/actions/OpenWebpageAction.d.ts +8 -0
- package/dist/types/actions/PlaySoundAction.d.ts +8 -0
- package/dist/types/actions/WritePVAction.d.ts +11 -0
- package/dist/types/actions.d.ts +1 -55
- package/dist/types/events.d.ts +6 -6
- package/dist/types/index.d.ts +11 -8
- package/dist/types/properties.d.ts +14 -14
- package/dist/types/pv/FormulaPVProvider.d.ts +2 -2
- package/dist/types/pv/LocalPV.d.ts +7 -3
- package/dist/types/pv/PV.d.ts +3 -3
- package/dist/types/pv/PVEngine.d.ts +18 -8
- package/dist/types/pv/PVProvider.d.ts +1 -1
- package/dist/types/pv/Sample.d.ts +1 -1
- package/dist/types/pv/SimulatedPVProvider.d.ts +2 -2
- package/dist/types/pv/formulas/CompiledFormula.d.ts +1 -1
- package/dist/types/pv/formulas/FormulaCompiler.d.ts +1 -1
- package/dist/types/pv/formulas/ast.d.ts +16 -16
- package/dist/types/pv/sim.d.ts +1 -1
- package/dist/types/rules.d.ts +4 -4
- package/dist/types/scripting/ActionWrapper.d.ts +12 -0
- package/dist/types/scripting/ArrayList.d.ts +5 -0
- package/dist/types/scripting/ColorFontUtil.d.ts +2 -2
- package/dist/types/scripting/ConsoleUtil.d.ts +1 -1
- package/dist/types/scripting/DisplayWrapper.d.ts +4 -2
- package/dist/types/scripting/FileUtil.d.ts +1 -1
- package/dist/types/scripting/GUIUtil.d.ts +4 -1
- package/dist/types/scripting/Java.d.ts +81 -15
- package/dist/types/scripting/MessageDialog.d.ts +3 -0
- package/dist/types/scripting/PVUtil.d.ts +6 -3
- package/dist/types/scripting/PVWrapper.d.ts +2 -1
- package/dist/types/scripting/ScriptEngine.d.ts +6 -2
- package/dist/types/scripting/ScriptUtil.d.ts +1 -1
- package/dist/types/scripting/SpreadSheetTable.d.ts +9 -2
- package/dist/types/scripting/SpreadSheetTableWrapper.d.ts +30 -0
- package/dist/types/scripting/TableWrapper.d.ts +6 -5
- package/dist/types/scripting/WidgetWrapper.d.ts +5 -2
- package/dist/types/scripting/XYGraphWrapper.d.ts +2 -2
- package/dist/types/scripting/utils.d.ts +4 -3
- package/dist/types/widgets/controls/ActionButton.d.ts +8 -6
- package/dist/types/widgets/controls/BooleanButton.d.ts +6 -6
- package/dist/types/widgets/controls/BooleanSwitch.d.ts +5 -5
- package/dist/types/widgets/controls/CheckBox.d.ts +6 -6
- package/dist/types/widgets/controls/ChoiceButton.d.ts +6 -6
- package/dist/types/widgets/controls/Combo.d.ts +5 -5
- package/dist/types/widgets/controls/ImageBooleanButton.d.ts +5 -5
- package/dist/types/widgets/controls/MenuButton.d.ts +6 -6
- package/dist/types/widgets/controls/NativeButton.d.ts +1 -1
- package/dist/types/widgets/controls/RadioBox.d.ts +6 -6
- package/dist/types/widgets/controls/Scrollbar.d.ts +5 -5
- package/dist/types/widgets/controls/TextInput.d.ts +5 -5
- package/dist/types/widgets/figures/Ramp.d.ts +3 -3
- package/dist/types/widgets/graphics/Arc.d.ts +4 -4
- package/dist/types/widgets/graphics/Ellipse.d.ts +5 -5
- package/dist/types/widgets/graphics/ImageWidget.d.ts +4 -4
- package/dist/types/widgets/graphics/Label.d.ts +5 -5
- package/dist/types/widgets/graphics/Polygon.d.ts +6 -6
- package/dist/types/widgets/graphics/Polyline.d.ts +5 -5
- package/dist/types/widgets/graphics/Rectangle.d.ts +5 -5
- package/dist/types/widgets/graphics/RoundedRectangle.d.ts +5 -5
- package/dist/types/widgets/monitors/ByteMonitor.d.ts +5 -5
- package/dist/types/widgets/monitors/Gauge.d.ts +6 -6
- package/dist/types/widgets/monitors/ImageBooleanIndicator.d.ts +5 -5
- package/dist/types/widgets/monitors/IntensityGraph.d.ts +7 -7
- package/dist/types/widgets/monitors/LED.d.ts +7 -7
- package/dist/types/widgets/monitors/LinearScale.d.ts +4 -4
- package/dist/types/widgets/monitors/Meter.d.ts +6 -6
- package/dist/types/widgets/monitors/ProgressBar.d.ts +6 -6
- package/dist/types/widgets/monitors/Tank.d.ts +6 -6
- package/dist/types/widgets/monitors/TextUpdate.d.ts +5 -5
- package/dist/types/widgets/monitors/Thermometer.d.ts +6 -6
- package/dist/types/widgets/monitors/xygraph/Axis.d.ts +4 -4
- package/dist/types/widgets/monitors/xygraph/CommandBuffer.d.ts +1 -1
- package/dist/types/widgets/monitors/xygraph/PlotAreaRegion.d.ts +4 -4
- package/dist/types/widgets/monitors/xygraph/Trace.d.ts +4 -4
- package/dist/types/widgets/monitors/xygraph/XYGraph.d.ts +10 -10
- package/dist/types/widgets/monitors/xygraph/XYGraphToolbar.d.ts +6 -6
- package/dist/types/widgets/others/AbstractContainerWidget.d.ts +4 -4
- package/dist/types/widgets/others/Connection.d.ts +6 -6
- package/dist/types/widgets/others/DisplayWidget.d.ts +6 -6
- package/dist/types/widgets/others/GroupingContainer.d.ts +3 -3
- package/dist/types/widgets/others/LinkingContainer.d.ts +4 -4
- package/dist/types/widgets/others/TabbedContainer.d.ts +5 -5
- package/dist/types/widgets/others/Table.d.ts +6 -6
- package/dist/types/widgets/others/WebBrowser.d.ts +4 -4
- package/package.json +6 -11
- package/dist/fonts/stylesheet.css +0 -83
- package/dist/opi.umd.js +0 -2
- package/dist/opi.umd.js.map +0 -1
- package/dist/types/pv/formulas/parser.d.ts +0 -10
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Display } from
|
|
3
|
-
import { Graphics } from
|
|
4
|
-
import { Widget } from
|
|
5
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Color } from "../../Color";
|
|
2
|
+
import { Display } from "../../Display";
|
|
3
|
+
import { Graphics } from "../../Graphics";
|
|
4
|
+
import { Widget } from "../../Widget";
|
|
5
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
6
6
|
export declare class BooleanSwitch extends Widget {
|
|
7
7
|
private manualToggleState;
|
|
8
8
|
private shaftRegion?;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Display } from
|
|
3
|
-
import { Font } from
|
|
4
|
-
import { Graphics } from
|
|
5
|
-
import { Widget } from
|
|
6
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Color } from "../../Color";
|
|
2
|
+
import { Display } from "../../Display";
|
|
3
|
+
import { Font } from "../../Font";
|
|
4
|
+
import { Graphics } from "../../Graphics";
|
|
5
|
+
import { Widget } from "../../Widget";
|
|
6
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
7
7
|
export declare class CheckBox extends Widget {
|
|
8
8
|
private hovered;
|
|
9
9
|
private manualToggleState;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Display } from
|
|
3
|
-
import { Font } from
|
|
4
|
-
import { Graphics } from
|
|
5
|
-
import { Widget } from
|
|
6
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Color } from "../../Color";
|
|
2
|
+
import { Display } from "../../Display";
|
|
3
|
+
import { Font } from "../../Font";
|
|
4
|
+
import { Graphics } from "../../Graphics";
|
|
5
|
+
import { Widget } from "../../Widget";
|
|
6
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
7
7
|
export declare class ChoiceButton extends Widget {
|
|
8
8
|
private pushedItem?;
|
|
9
9
|
private itemRegions;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Display } from
|
|
2
|
-
import { Font } from
|
|
3
|
-
import { Graphics } from
|
|
4
|
-
import { Widget } from
|
|
5
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Display } from "../../Display";
|
|
2
|
+
import { Font } from "../../Font";
|
|
3
|
+
import { Graphics } from "../../Graphics";
|
|
4
|
+
import { Widget } from "../../Widget";
|
|
5
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
6
6
|
export declare class Combo extends Widget {
|
|
7
7
|
private areaRegion?;
|
|
8
8
|
private selectEl?;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Display } from
|
|
2
|
-
import { Font } from
|
|
3
|
-
import { Graphics } from
|
|
4
|
-
import { Widget } from
|
|
5
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Display } from "../../Display";
|
|
2
|
+
import { Font } from "../../Font";
|
|
3
|
+
import { Graphics } from "../../Graphics";
|
|
4
|
+
import { Widget } from "../../Widget";
|
|
5
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
6
6
|
export declare class ImageBooleanButton extends Widget {
|
|
7
7
|
private onImageElement?;
|
|
8
8
|
private onImageLoaded;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Display } from
|
|
3
|
-
import { Font } from
|
|
4
|
-
import { Graphics } from
|
|
5
|
-
import { Widget } from
|
|
6
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Color } from "../../Color";
|
|
2
|
+
import { Display } from "../../Display";
|
|
3
|
+
import { Font } from "../../Font";
|
|
4
|
+
import { Graphics } from "../../Graphics";
|
|
5
|
+
import { Widget } from "../../Widget";
|
|
6
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
7
7
|
export declare class MenuButton extends Widget {
|
|
8
8
|
private areaRegion?;
|
|
9
9
|
private selectEl?;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Display } from
|
|
3
|
-
import { Font } from
|
|
4
|
-
import { Graphics } from
|
|
5
|
-
import { Widget } from
|
|
6
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Color } from "../../Color";
|
|
2
|
+
import { Display } from "../../Display";
|
|
3
|
+
import { Font } from "../../Font";
|
|
4
|
+
import { Graphics } from "../../Graphics";
|
|
5
|
+
import { Widget } from "../../Widget";
|
|
6
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
7
7
|
export declare class RadioBox extends Widget {
|
|
8
8
|
private hoveredItem?;
|
|
9
9
|
private itemRegions;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Display } from
|
|
2
|
-
import { Font } from
|
|
3
|
-
import { Graphics } from
|
|
4
|
-
import { Widget } from
|
|
5
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Display } from "../../Display";
|
|
2
|
+
import { Font } from "../../Font";
|
|
3
|
+
import { Graphics } from "../../Graphics";
|
|
4
|
+
import { Widget } from "../../Widget";
|
|
5
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
6
6
|
export declare class Scrollbar extends Widget {
|
|
7
7
|
private decreaseRegion?;
|
|
8
8
|
private decreasePressed;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Display } from
|
|
2
|
-
import { Font } from
|
|
3
|
-
import { Graphics } from
|
|
4
|
-
import { Widget } from
|
|
5
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Display } from "../../Display";
|
|
2
|
+
import { Font } from "../../Font";
|
|
3
|
+
import { Graphics } from "../../Graphics";
|
|
4
|
+
import { Widget } from "../../Widget";
|
|
5
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
6
6
|
export declare class TextInput extends Widget {
|
|
7
7
|
private areaRegion?;
|
|
8
8
|
private inputEl?;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Graphics } from
|
|
3
|
-
import { Bounds } from
|
|
1
|
+
import { Color } from "../../Color";
|
|
2
|
+
import { Graphics } from "../../Graphics";
|
|
3
|
+
import { Bounds } from "../../positioning";
|
|
4
4
|
export declare class Ramp {
|
|
5
5
|
private rampWidth;
|
|
6
6
|
private startAngle;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Display } from
|
|
2
|
-
import { Graphics } from
|
|
3
|
-
import { Widget } from
|
|
4
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Display } from "../../Display";
|
|
2
|
+
import { Graphics } from "../../Graphics";
|
|
3
|
+
import { Widget } from "../../Widget";
|
|
4
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
5
5
|
export declare class Arc extends Widget {
|
|
6
6
|
constructor(display: Display, parent: AbstractContainerWidget);
|
|
7
7
|
draw(g: Graphics): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Display } from
|
|
3
|
-
import { Graphics } from
|
|
4
|
-
import { Widget } from
|
|
5
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Color } from "../../Color";
|
|
2
|
+
import { Display } from "../../Display";
|
|
3
|
+
import { Graphics } from "../../Graphics";
|
|
4
|
+
import { Widget } from "../../Widget";
|
|
5
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
6
6
|
export declare class Ellipse extends Widget {
|
|
7
7
|
constructor(display: Display, parent: AbstractContainerWidget);
|
|
8
8
|
draw(g: Graphics): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Display } from
|
|
2
|
-
import { Graphics } from
|
|
3
|
-
import { Widget } from
|
|
4
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Display } from "../../Display";
|
|
2
|
+
import { Graphics } from "../../Graphics";
|
|
3
|
+
import { Widget } from "../../Widget";
|
|
4
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
5
5
|
export declare class ImageWidget extends Widget {
|
|
6
6
|
private currentImageFile?;
|
|
7
7
|
private imageElement?;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Display } from
|
|
2
|
-
import { Font } from
|
|
3
|
-
import { Graphics } from
|
|
4
|
-
import { Widget } from
|
|
5
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Display } from "../../Display";
|
|
2
|
+
import { Font } from "../../Font";
|
|
3
|
+
import { Graphics } from "../../Graphics";
|
|
4
|
+
import { Widget } from "../../Widget";
|
|
5
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
6
6
|
export declare class Label extends Widget {
|
|
7
7
|
constructor(display: Display, parent: AbstractContainerWidget);
|
|
8
8
|
draw(g: Graphics): void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Display } from
|
|
3
|
-
import { Graphics } from
|
|
4
|
-
import { Point } from
|
|
5
|
-
import { Widget } from
|
|
6
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Color } from "../../Color";
|
|
2
|
+
import { Display } from "../../Display";
|
|
3
|
+
import { Graphics } from "../../Graphics";
|
|
4
|
+
import { Point } from "../../positioning";
|
|
5
|
+
import { Widget } from "../../Widget";
|
|
6
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
7
7
|
export declare class Polygon extends Widget {
|
|
8
8
|
constructor(display: Display, parent: AbstractContainerWidget);
|
|
9
9
|
init(): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Display } from
|
|
2
|
-
import { Graphics } from
|
|
3
|
-
import { Point } from
|
|
4
|
-
import { Widget } from
|
|
5
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Display } from "../../Display";
|
|
2
|
+
import { Graphics } from "../../Graphics";
|
|
3
|
+
import { Point } from "../../positioning";
|
|
4
|
+
import { Widget } from "../../Widget";
|
|
5
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
6
6
|
export declare class Polyline extends Widget {
|
|
7
7
|
constructor(display: Display, parent: AbstractContainerWidget);
|
|
8
8
|
draw(g: Graphics): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Display } from
|
|
3
|
-
import { Graphics } from
|
|
4
|
-
import { Widget } from
|
|
5
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Color } from "../../Color";
|
|
2
|
+
import { Display } from "../../Display";
|
|
3
|
+
import { Graphics } from "../../Graphics";
|
|
4
|
+
import { Widget } from "../../Widget";
|
|
5
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
6
6
|
export declare class Rectangle extends Widget {
|
|
7
7
|
constructor(display: Display, parent: AbstractContainerWidget);
|
|
8
8
|
draw(g: Graphics): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Display } from
|
|
3
|
-
import { Graphics } from
|
|
4
|
-
import { Widget } from
|
|
5
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Color } from "../../Color";
|
|
2
|
+
import { Display } from "../../Display";
|
|
3
|
+
import { Graphics } from "../../Graphics";
|
|
4
|
+
import { Widget } from "../../Widget";
|
|
5
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
6
6
|
export declare class RoundedRectangle extends Widget {
|
|
7
7
|
constructor(display: Display, parent: AbstractContainerWidget);
|
|
8
8
|
draw(g: Graphics): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Display } from
|
|
3
|
-
import { Graphics } from
|
|
4
|
-
import { Widget } from
|
|
5
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Color } from "../../Color";
|
|
2
|
+
import { Display } from "../../Display";
|
|
3
|
+
import { Graphics } from "../../Graphics";
|
|
4
|
+
import { Widget } from "../../Widget";
|
|
5
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
6
6
|
export declare class ByteMonitor extends Widget {
|
|
7
7
|
constructor(display: Display, parent: AbstractContainerWidget);
|
|
8
8
|
getLedColor(index: number): Color;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Display } from
|
|
3
|
-
import { Font } from
|
|
4
|
-
import { Graphics } from
|
|
5
|
-
import { Widget } from
|
|
6
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Color } from "../../Color";
|
|
2
|
+
import { Display } from "../../Display";
|
|
3
|
+
import { Font } from "../../Font";
|
|
4
|
+
import { Graphics } from "../../Graphics";
|
|
5
|
+
import { Widget } from "../../Widget";
|
|
6
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
7
7
|
export declare class Gauge extends Widget {
|
|
8
8
|
constructor(display: Display, parent: AbstractContainerWidget);
|
|
9
9
|
draw(g: Graphics): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Display } from
|
|
2
|
-
import { Font } from
|
|
3
|
-
import { Graphics } from
|
|
4
|
-
import { Widget } from
|
|
5
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Display } from "../../Display";
|
|
2
|
+
import { Font } from "../../Font";
|
|
3
|
+
import { Graphics } from "../../Graphics";
|
|
4
|
+
import { Widget } from "../../Widget";
|
|
5
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
6
6
|
export declare class ImageBooleanIndicator extends Widget {
|
|
7
7
|
private onImageElement?;
|
|
8
8
|
private onImageLoaded;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { ColorMap } from
|
|
3
|
-
import { Display } from
|
|
4
|
-
import { Font } from
|
|
5
|
-
import { Graphics } from
|
|
6
|
-
import { Widget } from
|
|
7
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Color } from "../../Color";
|
|
2
|
+
import { ColorMap } from "../../ColorMap";
|
|
3
|
+
import { Display } from "../../Display";
|
|
4
|
+
import { Font } from "../../Font";
|
|
5
|
+
import { Graphics } from "../../Graphics";
|
|
6
|
+
import { Widget } from "../../Widget";
|
|
7
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
8
8
|
export declare class IntensityGraph extends Widget {
|
|
9
9
|
constructor(display: Display, parent: AbstractContainerWidget);
|
|
10
10
|
draw(g: Graphics): void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Display } from
|
|
3
|
-
import { Font } from
|
|
4
|
-
import { Graphics } from
|
|
5
|
-
import { Widget } from
|
|
6
|
-
import { XMLNode } from
|
|
7
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Color } from "../../Color";
|
|
2
|
+
import { Display } from "../../Display";
|
|
3
|
+
import { Font } from "../../Font";
|
|
4
|
+
import { Graphics } from "../../Graphics";
|
|
5
|
+
import { Widget } from "../../Widget";
|
|
6
|
+
import { XMLNode } from "../../XMLNode";
|
|
7
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
8
8
|
export declare class LED extends Widget {
|
|
9
9
|
private areaRegion?;
|
|
10
10
|
private states;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Font } from
|
|
3
|
-
import { Graphics } from
|
|
4
|
-
import { Range } from
|
|
1
|
+
import { Color } from "../../Color";
|
|
2
|
+
import { Font } from "../../Font";
|
|
3
|
+
import { Graphics } from "../../Graphics";
|
|
4
|
+
import { Range } from "../../Range";
|
|
5
5
|
export declare class LinearScale {
|
|
6
6
|
private scale;
|
|
7
7
|
private scaleFont;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Display } from
|
|
3
|
-
import { Font } from
|
|
4
|
-
import { Graphics } from
|
|
5
|
-
import { Widget } from
|
|
6
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Color } from "../../Color";
|
|
2
|
+
import { Display } from "../../Display";
|
|
3
|
+
import { Font } from "../../Font";
|
|
4
|
+
import { Graphics } from "../../Graphics";
|
|
5
|
+
import { Widget } from "../../Widget";
|
|
6
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
7
7
|
export declare class Meter extends Widget {
|
|
8
8
|
private areaRegion?;
|
|
9
9
|
constructor(display: Display, parent: AbstractContainerWidget);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Display } from
|
|
3
|
-
import { Font } from
|
|
4
|
-
import { Graphics } from
|
|
5
|
-
import { Widget } from
|
|
6
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Color } from "../../Color";
|
|
2
|
+
import { Display } from "../../Display";
|
|
3
|
+
import { Font } from "../../Font";
|
|
4
|
+
import { Graphics } from "../../Graphics";
|
|
5
|
+
import { Widget } from "../../Widget";
|
|
6
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
7
7
|
export declare class ProgressBar extends Widget {
|
|
8
8
|
constructor(display: Display, parent: AbstractContainerWidget);
|
|
9
9
|
draw(g: Graphics): void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Display } from
|
|
3
|
-
import { Font } from
|
|
4
|
-
import { Graphics } from
|
|
5
|
-
import { Widget } from
|
|
6
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Color } from "../../Color";
|
|
2
|
+
import { Display } from "../../Display";
|
|
3
|
+
import { Font } from "../../Font";
|
|
4
|
+
import { Graphics } from "../../Graphics";
|
|
5
|
+
import { Widget } from "../../Widget";
|
|
6
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
7
7
|
export declare class Tank extends Widget {
|
|
8
8
|
constructor(display: Display, parent: AbstractContainerWidget);
|
|
9
9
|
draw(g: Graphics): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Display } from
|
|
2
|
-
import { Font } from
|
|
3
|
-
import { Graphics } from
|
|
4
|
-
import { Widget } from
|
|
5
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Display } from "../../Display";
|
|
2
|
+
import { Font } from "../../Font";
|
|
3
|
+
import { Graphics } from "../../Graphics";
|
|
4
|
+
import { Widget } from "../../Widget";
|
|
5
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
6
6
|
export declare class TextUpdate extends Widget {
|
|
7
7
|
private areaRegion?;
|
|
8
8
|
constructor(display: Display, parent: AbstractContainerWidget);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Display } from
|
|
3
|
-
import { Font } from
|
|
4
|
-
import { Graphics } from
|
|
5
|
-
import { Widget } from
|
|
6
|
-
import { AbstractContainerWidget } from
|
|
1
|
+
import { Color } from "../../Color";
|
|
2
|
+
import { Display } from "../../Display";
|
|
3
|
+
import { Font } from "../../Font";
|
|
4
|
+
import { Graphics } from "../../Graphics";
|
|
5
|
+
import { Widget } from "../../Widget";
|
|
6
|
+
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
7
7
|
export declare class Thermometer extends Widget {
|
|
8
8
|
constructor(display: Display, parent: AbstractContainerWidget);
|
|
9
9
|
draw(g: Graphics): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Font } from
|
|
3
|
-
import { LinearScale } from
|
|
4
|
-
import { XYGraph } from
|
|
1
|
+
import { Color } from "../../../Color";
|
|
2
|
+
import { Font } from "../../../Font";
|
|
3
|
+
import { LinearScale } from "../LinearScale";
|
|
4
|
+
import { XYGraph } from "./XYGraph";
|
|
5
5
|
export declare class Axis {
|
|
6
6
|
private widget;
|
|
7
7
|
readonly index: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { OpiGrabEvent, OpiMouseEvent } from
|
|
2
|
-
import { HitRegionSpecification } from
|
|
3
|
-
import { Bounds } from
|
|
4
|
-
import { XYGraph } from
|
|
1
|
+
import { OpiGrabEvent, OpiMouseEvent } from "../../../EventHandler";
|
|
2
|
+
import { HitRegionSpecification } from "../../../HitRegionSpecification";
|
|
3
|
+
import { Bounds } from "../../../positioning";
|
|
4
|
+
import { XYGraph } from "./XYGraph";
|
|
5
5
|
export declare class PlotAreaRegion implements HitRegionSpecification {
|
|
6
6
|
private widget;
|
|
7
7
|
id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Graphics } from
|
|
3
|
-
import { Point } from
|
|
4
|
-
import { XYGraph } from
|
|
1
|
+
import { Color } from "../../../Color";
|
|
2
|
+
import { Graphics } from "../../../Graphics";
|
|
3
|
+
import { Point } from "../../../positioning";
|
|
4
|
+
import { XYGraph } from "./XYGraph";
|
|
5
5
|
export declare class Trace {
|
|
6
6
|
private widget;
|
|
7
7
|
private i;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Display } from
|
|
3
|
-
import { Font } from
|
|
4
|
-
import { Graphics } from
|
|
5
|
-
import { Range } from
|
|
6
|
-
import { Widget } from
|
|
7
|
-
import { AbstractContainerWidget } from
|
|
8
|
-
import { Axis } from
|
|
9
|
-
import { Trace } from
|
|
10
|
-
import { XYGraphToolbar } from
|
|
1
|
+
import { Color } from "../../../Color";
|
|
2
|
+
import { Display } from "../../../Display";
|
|
3
|
+
import { Font } from "../../../Font";
|
|
4
|
+
import { Graphics } from "../../../Graphics";
|
|
5
|
+
import { Range } from "../../../Range";
|
|
6
|
+
import { Widget } from "../../../Widget";
|
|
7
|
+
import { AbstractContainerWidget } from "../../others/AbstractContainerWidget";
|
|
8
|
+
import { Axis } from "./Axis";
|
|
9
|
+
import { Trace } from "./Trace";
|
|
10
|
+
import { XYGraphToolbar } from "./XYGraphToolbar";
|
|
11
11
|
export declare class XYGraph extends Widget {
|
|
12
12
|
toolbar?: XYGraphToolbar;
|
|
13
13
|
private plotAreaRegion?;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Graphics } from
|
|
2
|
-
import { HitRegionSpecification } from
|
|
3
|
-
import { Bounds } from
|
|
4
|
-
import { Command } from
|
|
5
|
-
import { XYGraph } from
|
|
1
|
+
import { Graphics } from "../../../Graphics";
|
|
2
|
+
import { HitRegionSpecification } from "../../../HitRegionSpecification";
|
|
3
|
+
import { Bounds } from "../../../positioning";
|
|
4
|
+
import { Command } from "./CommandBuffer";
|
|
5
|
+
import { XYGraph } from "./XYGraph";
|
|
6
6
|
declare class Button {
|
|
7
7
|
private imageFile;
|
|
8
8
|
private disabledImageFile;
|
|
@@ -35,7 +35,7 @@ export declare class XYGraphToolbar {
|
|
|
35
35
|
private redo;
|
|
36
36
|
private camera;
|
|
37
37
|
private imagesLoaded;
|
|
38
|
-
currentTool:
|
|
38
|
+
currentTool: "rubberband-zoom" | "horizontal-zoom" | "vertical-zoom" | "zoom-in" | "zoom-out" | "panning" | "default";
|
|
39
39
|
private commandBuffer;
|
|
40
40
|
constructor(xyGraph: XYGraph);
|
|
41
41
|
updateState(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Display } from
|
|
2
|
-
import { MacroSet } from
|
|
3
|
-
import { Widget } from
|
|
4
|
-
import { Connection } from
|
|
1
|
+
import { Display } from "../../Display";
|
|
2
|
+
import { MacroSet } from "../../macros";
|
|
3
|
+
import { Widget } from "../../Widget";
|
|
4
|
+
import { Connection } from "./Connection";
|
|
5
5
|
export declare abstract class AbstractContainerWidget extends Widget {
|
|
6
6
|
_widgets: Widget[];
|
|
7
7
|
_connections: Connection[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Color } from
|
|
2
|
-
import { Display } from
|
|
3
|
-
import { Graphics } from
|
|
4
|
-
import { Point } from
|
|
5
|
-
import { Widget } from
|
|
6
|
-
import { XMLNode } from
|
|
1
|
+
import { Color } from "../../Color";
|
|
2
|
+
import { Display } from "../../Display";
|
|
3
|
+
import { Graphics } from "../../Graphics";
|
|
4
|
+
import { Point } from "../../positioning";
|
|
5
|
+
import { Widget } from "../../Widget";
|
|
6
|
+
import { XMLNode } from "../../XMLNode";
|
|
7
7
|
export declare class Connection extends Widget {
|
|
8
8
|
private sourceWidget?;
|
|
9
9
|
private targetWidget?;
|