Class Frame

  • All Implemented Interfaces:
    com.sun.star.frame.XDispatchProvider, com.sun.star.frame.XDispatchProviderInterception, com.sun.star.frame.XFrame, com.sun.star.lang.XComponent, com.sun.star.lib.uno.Proxy, com.sun.star.uno.IQueryInterface, com.sun.star.uno.XInterface

    public class Frame
    extends java.lang.Object
    implements com.sun.star.frame.XFrame, com.sun.star.frame.XDispatchProvider, com.sun.star.frame.XDispatchProviderInterception
    Wrapper class for a com.sun.star.frame.XFrame.
    Since:
    OOo 2.0.0
    • Field Summary

      • Fields inherited from interface com.sun.star.lang.XComponent

        UNOTYPEINFO
      • Fields inherited from interface com.sun.star.frame.XDispatchProvider

        UNOTYPEINFO
      • Fields inherited from interface com.sun.star.frame.XDispatchProviderInterception

        UNOTYPEINFO
      • Fields inherited from interface com.sun.star.frame.XFrame

        UNOTYPEINFO
    • Constructor Summary

      Constructors 
      Constructor Description
      Frame​(com.sun.star.frame.XFrame xFrame)  
    • Constructor Detail

      • Frame

        public Frame​(com.sun.star.frame.XFrame xFrame)
    • Method Detail

      • initialize

        public void initialize​(com.sun.star.awt.XWindow xWindow)
        Specified by:
        initialize in interface com.sun.star.frame.XFrame
      • getContainerWindow

        public com.sun.star.awt.XWindow getContainerWindow()
        Specified by:
        getContainerWindow in interface com.sun.star.frame.XFrame
      • setCreator

        public void setCreator​(com.sun.star.frame.XFramesSupplier xCreator)
        Specified by:
        setCreator in interface com.sun.star.frame.XFrame
      • getCreator

        public com.sun.star.frame.XFramesSupplier getCreator()
        Specified by:
        getCreator in interface com.sun.star.frame.XFrame
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface com.sun.star.frame.XFrame
      • setName

        public void setName​(java.lang.String aName)
        Specified by:
        setName in interface com.sun.star.frame.XFrame
      • findFrame

        public com.sun.star.frame.XFrame findFrame​(java.lang.String aTargetFrameName,
                                                   int nSearchFlags)
        Specified by:
        findFrame in interface com.sun.star.frame.XFrame
      • isTop

        public boolean isTop()
        Specified by:
        isTop in interface com.sun.star.frame.XFrame
      • activate

        public void activate()
        Specified by:
        activate in interface com.sun.star.frame.XFrame
      • deactivate

        public void deactivate()
        Specified by:
        deactivate in interface com.sun.star.frame.XFrame
      • isActive

        public boolean isActive()
        Specified by:
        isActive in interface com.sun.star.frame.XFrame
      • setComponent

        public boolean setComponent​(com.sun.star.awt.XWindow xComponentWindow,
                                    com.sun.star.frame.XController xController)
        Specified by:
        setComponent in interface com.sun.star.frame.XFrame
      • getComponentWindow

        public com.sun.star.awt.XWindow getComponentWindow()
        Specified by:
        getComponentWindow in interface com.sun.star.frame.XFrame
      • getController

        public com.sun.star.frame.XController getController()
        Specified by:
        getController in interface com.sun.star.frame.XFrame
      • contextChanged

        public void contextChanged()
        Specified by:
        contextChanged in interface com.sun.star.frame.XFrame
      • addFrameActionListener

        public void addFrameActionListener​(com.sun.star.frame.XFrameActionListener xListener)
        Specified by:
        addFrameActionListener in interface com.sun.star.frame.XFrame
      • removeFrameActionListener

        public void removeFrameActionListener​(com.sun.star.frame.XFrameActionListener xListener)
        Specified by:
        removeFrameActionListener in interface com.sun.star.frame.XFrame
      • queryDispatch

        public com.sun.star.frame.XDispatch queryDispatch​(com.sun.star.util.URL aURL,
                                                          java.lang.String aTargetFrameName,
                                                          int nSearchFlags)
        Specified by:
        queryDispatch in interface com.sun.star.frame.XDispatchProvider
      • queryDispatches

        public com.sun.star.frame.XDispatch[] queryDispatches​(com.sun.star.frame.DispatchDescriptor[] aRequests)
        Specified by:
        queryDispatches in interface com.sun.star.frame.XDispatchProvider
      • registerDispatchProviderInterceptor

        public void registerDispatchProviderInterceptor​(com.sun.star.frame.XDispatchProviderInterceptor xInterceptor)
        Specified by:
        registerDispatchProviderInterceptor in interface com.sun.star.frame.XDispatchProviderInterception
      • releaseDispatchProviderInterceptor

        public void releaseDispatchProviderInterceptor​(com.sun.star.frame.XDispatchProviderInterceptor xInterceptor)
        Specified by:
        releaseDispatchProviderInterceptor in interface com.sun.star.frame.XDispatchProviderInterception
      • getOid

        public java.lang.String getOid()
        Specified by:
        getOid in interface com.sun.star.uno.IQueryInterface
      • isSame

        public boolean isSame​(java.lang.Object aObject)
        Specified by:
        isSame in interface com.sun.star.uno.IQueryInterface
      • queryInterface

        public java.lang.Object queryInterface​(com.sun.star.uno.Type aType)
        Specified by:
        queryInterface in interface com.sun.star.uno.IQueryInterface
      • dispose

        public void dispose()
        Specified by:
        dispose in interface com.sun.star.lang.XComponent
      • addEventListener

        public void addEventListener​(com.sun.star.lang.XEventListener xListener)
        Specified by:
        addEventListener in interface com.sun.star.lang.XComponent
      • removeEventListener

        public void removeEventListener​(com.sun.star.lang.XEventListener xListener)
        Specified by:
        removeEventListener in interface com.sun.star.lang.XComponent