Package com.sun.star.awt

Examples of com.sun.star.awt.XSystemChildFactory


    catch( Exception ex )
    {
      return null;
    }

    XSystemChildFactory xChildFactory = (XSystemChildFactory)UnoRuntime.queryInterface(
        XSystemChildFactory.class,
        xToolkit);

    try
    {
View Full Code Here


        XToolkit xToolkit = (XToolkit) UnoRuntime.queryInterface(
            XToolkit.class, getXMultiServiceFactory().createInstance(
                "com.sun.star.awt.Toolkit"));

        //      initialise le xChildFactory
        XSystemChildFactory xChildFactory = (XSystemChildFactory) UnoRuntime
            .queryInterface(XSystemChildFactory.class, xToolkit);

        Integer handle = nativeView.getHWND();
        short systeme = (short) nativeView.getNativeWindowSystemType();
        byte[] procID = new byte[0];

        XWindowPeer xWindowPeer = xChildFactory.createSystemChild(
            (Object) handle, procID, systeme);

        XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
            xWindowPeer);
View Full Code Here

        XToolkit xToolkit = (XToolkit) UnoRuntime.queryInterface(
            XToolkit.class, getXMultiServiceFactory()
                .createInstance("com.sun.star.awt.Toolkit"));

        // initialise le xChildFactory
        XSystemChildFactory xChildFactory = (XSystemChildFactory) UnoRuntime
            .queryInterface(XSystemChildFactory.class, xToolkit);

        Integer handle = nativeView.getHWND();
        short systeme = (short) nativeView.getNativeWindowSystemType();
        byte[] procID = new byte[0];

        XWindowPeer xWindowPeer = xChildFactory.createSystemChild(
            (Object) handle, procID, systeme);

        XWindow xWindow = (XWindow) UnoRuntime.queryInterface(
            XWindow.class, xWindowPeer);
View Full Code Here

    catch( Exception ex )
    {
      return null;
    }

    XSystemChildFactory xChildFactory = (XSystemChildFactory)UnoRuntime.queryInterface(
        XSystemChildFactory.class,
        xToolkit);

    try
    {
View Full Code Here

TOP

Related Classes of com.sun.star.awt.XSystemChildFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.