All Implemented Interfaces:
BindingRoot, DesignableContainer, TopLevelContainer, ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class FPMIWindow extends JInternalFrame implements TopLevelContainer
Each window in the Vision module is an instance of this class.
See Also:
  • Field Details

  • Constructor Details

    • FPMIWindow

      public FPMIWindow(String name)
  • Method Details

    • setCloser

      public void setCloser(WindowCloser closer)
    • doDefaultCloseAction

      public void doDefaultCloseAction()
      Overrides:
      doDefaultCloseAction in class JInternalFrame
    • setSerializationVersion

      @Deprecated public void setSerializationVersion(int i)
      Deprecated.
    • createRef

      public void createRef(Object o)
    • setLayer

      public void setLayer(Integer layer) throws org.python.core.PyIgnoreMethodTag
      Overrides:
      setLayer in class JInternalFrame
      Throws:
      org.python.core.PyIgnoreMethodTag
    • getPath

      public String getPath()
    • getBorderInsets

      public Insets 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

      public Component getMostRecentFocusOwner()
      This causes the window to make sure that NO COMPONENT receives input focus when the window is selected.
      Overrides:
      getMostRecentFocusOwner in class JInternalFrame
    • updateUI

      public void updateUI()
      Overrides:
      updateUI in class JInternalFrame
    • setContentPane

      public void setContentPane(Container c)
      Specified by:
      setContentPane in interface RootPaneContainer
      Overrides:
      setContentPane in class JInternalFrame
    • initialize

      public void initialize(VisionClientContext context)
      Description copied from interface: BindingRoot
      Initialize this root. Should connect any bindings, but shouldn't start anything up.
      Specified by:
      initialize in interface BindingRoot
    • initializeUIRoot

      public static void initializeUIRoot(VisionClientContext context, DefaultInteractionController interactions, VisionContainer rootContainer, boolean bindInitVisitRoot, LoggerEx log)
    • startup

      public void startup()
      Description copied from interface: BindingRoot
      Start up the root. Start-up adapters, and start-up any children ComponentLifecycles.
      Specified by:
      startup in interface BindingRoot
    • shutdown

      public void shutdown()
      Description copied from interface: BindingRoot
      Shutdown the root. Shut-down adapters, and shut-down any children ComponentLifecycles.
      Specified by:
      shutdown in interface BindingRoot
    • isStarted

      public boolean isStarted()
      Description copied from interface: BindingRoot
      Returns true if this BindingRoot is considered to be running/active. Typically, this means that its initialized, started, and hasn't been shutdown.
      Specified by:
      isStarted in interface BindingRoot
    • getInteractionController

      public InteractionController getInteractionController()
      Specified by:
      getInteractionController in interface BindingRoot
    • setInteractionController

      public void setInteractionController(InteractionController controller)
    • setNameBypass

      public void setNameBypass(String name)
    • setTitle

      public void setTitle(String title)
      Overrides:
      setTitle in class JInternalFrame
    • getRuntimeGlassPane

      public Component getRuntimeGlassPane()
    • setRuntimeGlassPane

      public void setRuntimeGlassPane(Component component)
    • getTitleBar

      public JComponent getTitleBar()
    • toString

      public String toString()
      Overrides:
      toString in class Component
    • setOpenOnStart

      @Deprecated public void setOpenOnStart(boolean b)
      Deprecated.
      This function is no longer used, it is for backwards compatibility so that older serialized classes don't break
    • getRootContainer

      public BasicContainer getRootContainer()
    • setPropertyAdapters

      @Deprecated public void setPropertyAdapters(HashMap<PropertyKey,PropertyAdapter> map)
      Deprecated.
      Only here for backwards compatibility with old serialized windows. Deprecated in 7.4.
    • setGeneralAdapters

      @Deprecated public void setGeneralAdapters(HashMap<Component,List<Adapter>> map)
      Deprecated.
      Only here for backwards compatibility with old serialized windows. Deprecated in 7.4.
    • getPathForComponent

      public String getPathForComponent(Component c)
      Specified by:
      getPathForComponent in interface BindingRoot
    • getComponentForPath

      public JComponent getComponentForPath(String path)
      Specified by:
      getComponentForPath in interface BindingRoot
    • setSecuritySettings

      @Deprecated public void setSecuritySettings(String name, SecuritySettings settings)
      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:
      setResizable in class JInternalFrame
    • setIconifiable

      public void setIconifiable(boolean b)
      Overrides:
      setIconifiable in class JInternalFrame
    • setMaximizable

      public void setMaximizable(boolean b)
      Overrides:
      setMaximizable in class JInternalFrame
    • 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

      public Font getTitlebarFont()
    • setTitlebarFont

      public void setTitlebarFont(Font titlebarFont)
    • getTitlebarHeight

      public int getTitlebarHeight()
    • setTitlebarHeight

      public void setTitlebarHeight(int titlebarHeight)
    • getResourcePath

      public ResourcePath getResourcePath()
      Specified by:
      getResourcePath in interface DesignableContainer
    • setResourcePath

      public void setResourcePath(ResourcePath resourcePath)
    • getStartingLocation

      public Point getStartingLocation()
    • setStartingLocation

      public void setStartingLocation(Point newLocation)
    • setSize

      public void setSize(Dimension newSize)
      Overrides:
      setSize in class Component
    • getAppContext

      public VisionClientContext getAppContext()
    • addVisionWindowListener

      public void addVisionWindowListener(VisionWindowListener listener)
    • removeVisionWindowListener

      public void removeVisionWindowListener(VisionWindowListener listener)
    • getVisionWindowListeners

      public VisionWindowListener[] getVisionWindowListeners()
    • fireVisionWindowOpened

      public void fireVisionWindowOpened()
    • fireVisionWindowClosed

      public void fireVisionWindowClosed()