Class FPMIWindow
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JInternalFrame
com.inductiveautomation.factorypmi.application.FPMIWindow
- All Implemented Interfaces:
BindingRoot,DesignableContainer,TopLevelContainer,ImageObserver,MenuContainer,Serializable,Accessible,RootPaneContainer,WindowConstants
Each window in the Vision module is an instance of this class.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class javax.swing.JInternalFrame
JInternalFrame.AccessibleJInternalFrame, JInternalFrame.JDesktopIconNested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponentNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intprotected EventListenerListprotected LocaleListenerstatic final StringSpecial string that will resolve to the FPMIWindow itself for calls to getComponentForPath() and getPathForComponent()static final intstatic final intstatic final intFields inherited from class javax.swing.JInternalFrame
closable, CONTENT_PANE_PROPERTY, desktopIcon, FRAME_ICON_PROPERTY, frameIcon, GLASS_PANE_PROPERTY, iconable, IS_CLOSED_PROPERTY, IS_ICON_PROPERTY, IS_MAXIMUM_PROPERTY, IS_SELECTED_PROPERTY, isClosed, isIcon, isMaximum, isSelected, LAYERED_PANE_PROPERTY, maximizable, MENU_BAR_PROPERTY, resizable, ROOT_PANE_PROPERTY, rootPane, rootPaneCheckingEnabled, title, TITLE_PROPERTYFields inherited from class javax.swing.JComponent
TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWFields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTHFields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddVisionWindowListener(VisionWindowListener listener) voidvoidvoidvoidintReturns an Insets object that represents the normal size of borders/titlebar area that will appear on this window when it is opened.intgetComponentForPath(String path) intintThis causes the window to make sure that NO COMPONENT receives input focus when the window is selected.getPath()intintvoidinitialize(VisionClientContext context) Initialize this root.static voidinitializeUIRoot(VisionClientContext context, DefaultInteractionController interactions, VisionContainer rootContainer, boolean bindInitVisitRoot, LoggerEx log) booleanReturns true if this BindingRoot is considered to be running/active.booleanvoidvoidsetBorderDisplayPolicy(int borderDisplayPolicy) voidsetCachePolicy(int cachePolicy) voidsetCloser(WindowCloser closer) voidvoidsetDockIndex(int dockIndex) voidsetDockPosition(int newPosition) voidDeprecated.voidsetIconifiable(boolean b) voidsetInteractionController(InteractionController controller) voidvoidsetMaximizable(boolean b) voidsetNameBypass(String name) voidsetOpenOnStart(boolean b) Deprecated.voidDeprecated.voidsetResizable(boolean b) voidsetResourcePath(ResourcePath resourcePath) voidsetRuntimeGlassPane(Component component) voidsetSecuritySettings(String name, SecuritySettings settings) Deprecated.voidsetSerializationVersion(int i) Deprecated.voidvoidsetStartingLocation(Point newLocation) voidsetStartMaximized(boolean b) voidvoidsetTitlebarDisplayPolicy(int titlebarDisplayPolicy) voidsetTitlebarFont(Font titlebarFont) voidsetTitlebarHeight(int titlebarHeight) voidshutdown()Shutdown the root.voidstartup()Start up the root.toString()voidupdateUI()booleanMethods inherited from class javax.swing.JInternalFrame
addImpl, addInternalFrameListener, createRootPane, dispose, fireInternalFrameEvent, getAccessibleContext, getContentPane, getDefaultCloseOperation, getDesktopIcon, getDesktopPane, getFocusCycleRootAncestor, getFocusOwner, getFrameIcon, getGlassPane, getInternalFrameListeners, getJMenuBar, getLastCursor, getLayer, getLayeredPane, getMenuBar, getNormalBounds, getRootPane, getTitle, getUI, getUIClassID, getWarningString, hide, isClosable, isClosed, isFocusCycleRoot, isIcon, isIconifiable, isMaximizable, isMaximum, isResizable, isRootPaneCheckingEnabled, isSelected, moveToBack, moveToFront, pack, paintComponent, paramString, remove, removeInternalFrameListener, reshape, restoreSubcomponentFocus, setClosable, setClosed, setCursor, setDefaultCloseOperation, setDesktopIcon, setFocusCycleRoot, setFrameIcon, setGlassPane, setIcon, setJMenuBar, setLayer, setLayeredPane, setLayout, setMaximum, setMenuBar, setNormalBounds, setRootPane, setRootPaneCheckingEnabled, setSelected, setUI, show, toBack, toFrontMethods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateMethods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusDownCycle, validate, validateTreeMethods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, show, size, transferFocus, transferFocusBackward, transferFocusUpCycleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.client.designable.DesignableContainer
addPropertyChangeListener, addPropertyChangeListener, getClientProperty, getName, putClientProperty, removePropertyChangeListener, removePropertyChangeListener
-
Field Details
-
DOCK_FLOAT
public static final int DOCK_FLOAT- See Also:
-
DOCK_NORTH
public static final int DOCK_NORTH- See Also:
-
DOCK_EAST
public static final int DOCK_EAST- See Also:
-
DOCK_WEST
public static final int DOCK_WEST- See Also:
-
DOCK_SOUTH
public static final int DOCK_SOUTH- See Also:
-
CACHE_AUTO
public static final int CACHE_AUTO- See Also:
-
CACHE_NEVER
public static final int CACHE_NEVER- See Also:
-
CACHE_ALWAYS
public static final int CACHE_ALWAYS- See Also:
-
SHOW_ALWAYS
public static final int SHOW_ALWAYS- See Also:
-
SHOW_NEVER
public static final int SHOW_NEVER- See Also:
-
SHOW_NOT_MAXIMIZED
public static final int SHOW_NOT_MAXIMIZED- See Also:
-
PARENT_WINDOW_NAME
Special string that will resolve to the FPMIWindow itself for calls to getComponentForPath() and getPathForComponent()- See Also:
-
localeListener
-
listenerList
-
-
Constructor Details
-
FPMIWindow
-
-
Method Details
-
setCloser
-
doDefaultCloseAction
public void doDefaultCloseAction()- Overrides:
doDefaultCloseActionin classJInternalFrame
-
setSerializationVersion
Deprecated. -
createRef
-
setLayer
- Overrides:
setLayerin classJInternalFrame- Throws:
org.python.core.PyIgnoreMethodTag
-
getPath
-
getBorderInsets
Returns an Insets object that represents the normal size of borders/titlebar area that will appear on this window when it is opened. -
getMostRecentFocusOwner
This causes the window to make sure that NO COMPONENT receives input focus when the window is selected.- Overrides:
getMostRecentFocusOwnerin classJInternalFrame
-
updateUI
public void updateUI()- Overrides:
updateUIin classJInternalFrame
-
setContentPane
- Specified by:
setContentPanein interfaceRootPaneContainer- Overrides:
setContentPanein classJInternalFrame
-
initialize
Description copied from interface:BindingRootInitialize this root. Should connect any bindings, but shouldn't start anything up.- Specified by:
initializein interfaceBindingRoot
-
initializeUIRoot
public static void initializeUIRoot(VisionClientContext context, DefaultInteractionController interactions, VisionContainer rootContainer, boolean bindInitVisitRoot, LoggerEx log) -
startup
public void startup()Description copied from interface:BindingRootStart up the root. Start-up adapters, and start-up any children ComponentLifecycles.- Specified by:
startupin interfaceBindingRoot
-
shutdown
public void shutdown()Description copied from interface:BindingRootShutdown the root. Shut-down adapters, and shut-down any children ComponentLifecycles.- Specified by:
shutdownin interfaceBindingRoot
-
isStarted
public boolean isStarted()Description copied from interface:BindingRootReturns true if this BindingRoot is considered to be running/active. Typically, this means that its initialized, started, and hasn't been shutdown.- Specified by:
isStartedin interfaceBindingRoot
-
getInteractionController
- Specified by:
getInteractionControllerin interfaceBindingRoot
-
setInteractionController
-
setNameBypass
-
setTitle
- Overrides:
setTitlein classJInternalFrame
-
getRuntimeGlassPane
-
setRuntimeGlassPane
-
getTitleBar
-
toString
-
setOpenOnStart
Deprecated.This function is no longer used, it is for backwards compatibility so that older serialized classes don't break -
getRootContainer
-
setPropertyAdapters
Deprecated.Only here for backwards compatibility with old serialized windows. Deprecated in 7.4. -
setGeneralAdapters
Deprecated.Only here for backwards compatibility with old serialized windows. Deprecated in 7.4. -
getPathForComponent
- Specified by:
getPathForComponentin interfaceBindingRoot
-
getComponentForPath
- Specified by:
getComponentForPathin interfaceBindingRoot
-
setSecuritySettings
Deprecated.Only here for backwards compatability with old serialized windows. -
isStartMaximized
public boolean isStartMaximized() -
setStartMaximized
public void setStartMaximized(boolean b) -
setResizable
public void setResizable(boolean b) - Overrides:
setResizablein classJInternalFrame
-
setIconifiable
public void setIconifiable(boolean b) - Overrides:
setIconifiablein classJInternalFrame
-
setMaximizable
public void setMaximizable(boolean b) - Overrides:
setMaximizablein classJInternalFrame
-
wouldBeResizable
public boolean wouldBeResizable() -
getDockPosition
public int getDockPosition() -
setDockPosition
public void setDockPosition(int newPosition) -
getDockIndex
public int getDockIndex() -
setDockIndex
public void setDockIndex(int dockIndex) -
getCachePolicy
public int getCachePolicy() -
setCachePolicy
public void setCachePolicy(int cachePolicy) -
getBorderDisplayPolicy
public int getBorderDisplayPolicy() -
setBorderDisplayPolicy
public void setBorderDisplayPolicy(int borderDisplayPolicy) -
getTitlebarDisplayPolicy
public int getTitlebarDisplayPolicy() -
setTitlebarDisplayPolicy
public void setTitlebarDisplayPolicy(int titlebarDisplayPolicy) -
getTitlebarFont
-
setTitlebarFont
-
getTitlebarHeight
public int getTitlebarHeight() -
setTitlebarHeight
public void setTitlebarHeight(int titlebarHeight) -
getResourcePath
- Specified by:
getResourcePathin interfaceDesignableContainer
-
setResourcePath
-
getStartingLocation
-
setStartingLocation
-
setSize
-
getAppContext
-
addVisionWindowListener
-
removeVisionWindowListener
-
getVisionWindowListeners
-
fireVisionWindowOpened
public void fireVisionWindowOpened() -
fireVisionWindowClosed
public void fireVisionWindowClosed()
-