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) voidfindWindow(String path) Searches through the open windows for windows with the given path.org.python.core.PyTupleorg.python.core.PyTupleintorg.python.core.PyObjectvoidmessageBox(String message, String title) passwordBox(String message, String title, String echoChar) voidsetScreenIndex(int index) showNumericKeypad(Number initial, int fontSize, boolean usePasswordMode) showTouchscreenKeyboard(String initial, int fontSize, boolean password, String layout) voidwarningBox(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:
chooseColorin classWindowUtilities
-
getWindow
- Overrides:
getWindowin classWindowUtilities
-
getOpenedWindows
public org.python.core.PyTuple getOpenedWindows()- Overrides:
getOpenedWindowsin classWindowUtilities
-
getOpenedWindowNames
public org.python.core.PyTuple getOpenedWindowNames()- Overrides:
getOpenedWindowNamesin classWindowUtilities
-
findWindow
Description copied from class:WindowUtilitiesSearches 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:
findWindowin classWindowUtilities
-
showNumericKeypad
- Overrides:
showNumericKeypadin classWindowUtilities
-
showTouchscreenKeyboard
public String showTouchscreenKeyboard(String initial, int fontSize, boolean password, String layout) - Overrides:
showTouchscreenKeyboardin classWindowUtilities
-
setScreenIndex
public void setScreenIndex(int index) - Overrides:
setScreenIndexin classWindowUtilities
-
getScreenIndex
public int getScreenIndex()- Overrides:
getScreenIndexin classWindowUtilities
-
messageBox
- Overrides:
messageBoxin classWindowUtilities
-
warningBox
- Overrides:
warningBoxin classWindowUtilities
-
errorBox
- Overrides:
errorBoxin classWindowUtilities
-
confirm
- Overrides:
confirmin classWindowUtilities
-
inputBox
- Overrides:
inputBoxin classWindowUtilities
-
passwordBox
- Overrides:
passwordBoxin classWindowUtilities
-