Class WindowUtilitiesForDesktop
java.lang.Object
com.inductiveautomation.factorypmi.application.script.builtin.WindowUtilities
com.inductiveautomation.factorypmi.application.script.builtin.WindowUtilitiesForDesktop
This class contains methods that are mounted under system.gui.* that are specific to individual
desktop instances. The primary WindowUtilities class dispatches to this class for these methods.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inductiveautomation.factorypmi.application.script.builtin.WindowUtilities
WindowUtilities.JyPopupMenu, WindowUtilities.PopupContext
-
Field Summary
Fields inherited from class com.inductiveautomation.factorypmi.application.script.builtin.WindowUtilities
ACCL_CONSTANT, ACCL_EASE, ACCL_FAST_TO_SLOW, ACCL_NONE, ACCL_SLOW_TO_FAST, COORD_DESIGNER, COORD_SCREEN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchooseColor
(Color initial, String title) void
findWindow
(String path) Searches through the open windows for windows with the given path.org.python.core.PyTuple
org.python.core.PyTuple
int
org.python.core.PyObject
void
messageBox
(String message, String title) passwordBox
(String message, String title, String echoChar) void
setScreenIndex
(int index) showNumericKeypad
(Number initial, int fontSize, boolean usePasswordMode) showTouchscreenKeyboard
(String initial, int fontSize, boolean password, String layout) void
warningBox
(String message, String title) Methods inherited from class com.inductiveautomation.factorypmi.application.script.builtin.WindowUtilities
chooseColor, closeDesktop, color, color, color, confirm, confirm, convertPointToScreen, createPopupContext, createPopupMenu, createPopupMenu, desktop, desktop, desktop, errorBox, find, getCurrentDesktop, getDesktopHandles, getParentWindow, getQuality, getScreens, getSibling, getWindowNames, inputBox, isTouchscreenMode, isTouchscreenModeEnabled, messageBox, moveComponent, openDesktop, openDiagnostics, passwordBox, passwordBox, reshapeComponent, resizeComponent, setTouchscreenMode, setTouchscreenModeEnabled, showNumericKeypad, showNumericKeypad, showTouchscreenKeyboard, showTouchscreenKeyboard, showTouchscreenKeyboard, showTouchscreenKeyboard, transform, warningBox
-
Constructor Details
-
WindowUtilitiesForDesktop
-
-
Method Details
-
chooseColor
- Overrides:
chooseColor
in classWindowUtilities
-
getWindow
- Overrides:
getWindow
in classWindowUtilities
-
getOpenedWindows
public org.python.core.PyTuple getOpenedWindows()- Overrides:
getOpenedWindows
in classWindowUtilities
-
getOpenedWindowNames
public org.python.core.PyTuple getOpenedWindowNames()- Overrides:
getOpenedWindowNames
in classWindowUtilities
-
findWindow
Description copied from class:WindowUtilities
Searches through the open windows for windows with the given path. May return none (empty list) or multiple depending on the state of the running client.- Overrides:
findWindow
in classWindowUtilities
-
showNumericKeypad
- Overrides:
showNumericKeypad
in classWindowUtilities
-
showTouchscreenKeyboard
public String showTouchscreenKeyboard(String initial, int fontSize, boolean password, String layout) - Overrides:
showTouchscreenKeyboard
in classWindowUtilities
-
setScreenIndex
public void setScreenIndex(int index) - Overrides:
setScreenIndex
in classWindowUtilities
-
getScreenIndex
public int getScreenIndex()- Overrides:
getScreenIndex
in classWindowUtilities
-
messageBox
- Overrides:
messageBox
in classWindowUtilities
-
warningBox
- Overrides:
warningBox
in classWindowUtilities
-
errorBox
- Overrides:
errorBox
in classWindowUtilities
-
confirm
- Overrides:
confirm
in classWindowUtilities
-
inputBox
- Overrides:
inputBox
in classWindowUtilities
-
passwordBox
- Overrides:
passwordBox
in classWindowUtilities
-