Examples of XWindow


Examples of com.sun.star.awt.XWindow

  private synchronized void releaseSystemWindow()
  {
    if ( bPeer )
    {
             // hide document window
      XWindow aWindow = (XWindow)UnoRuntime.queryInterface(XWindow.class, mWindow);
      aWindow.setVisible( false );

      // set null parent
      XVclWindowPeer xVclWindowPeer = (XVclWindowPeer)UnoRuntime.queryInterface(
                               XVclWindowPeer.class, mWindow);
      xVclWindowPeer.setProperty( "PluginParent", new Long(0) );
View Full Code Here

Examples of com.sun.star.awt.XWindow

        ? WindowAttribute.SHOW : 0;
      mWindow  = queryAWTToolkit().createWindow(desc);


      // set initial visibility
            XWindow aWindow = (XWindow)UnoRuntime.queryInterface(XWindow.class, mWindow);
      aWindow.setVisible( bPeer );
    }
    catch (com.sun.star.uno.Exception exp) {
    }

    return mWindow;
View Full Code Here

Examples of com.sun.star.awt.XWindow

                        new String[] { "Enabled", "Height", "Label", "PositionX", "PositionY", "Step", "TabIndex", "Width" },
                        new Object[] { Boolean.FALSE, new Integer(8), _reslblTables, new Integer(95), new Integer(27), IStep, new Short((short) 3), LabelWidth });
            xTableListBox = CurUnoDialog.insertListBox(sTableListBoxName, 0, null, new ItemListenerImpl(),
                        new String[] { "Dropdown", "Enabled", "Height", "HelpURL", "LineCount", "PositionX", "PositionY", "Step", "TabIndex", "Width" },
                        new Object[] { Boolean.TRUE, Boolean.FALSE, new Integer(12), "HID:" + (super.FirstHelpIndex-1), new Short("7"), new Integer(95), new Integer(37), IStep, new Short((short) 4), getListboxWidth()});
            XWindow xTableListBoxWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class, xTableListBox);
            fillupCommandListBox();
        } catch (Exception exception) {
            exception.printStackTrace(System.out);
        }
    }
View Full Code Here

Examples of com.sun.star.awt.XWindow

   
    /**
     * Is used to add a keylistener to different controls...
     */
    static void addKeyListener(Object control,XKeyListener listener) {
        XWindow xlastControl = (XWindow)UnoRuntime.queryInterface(XWindow.class,
                control );
        xlastControl.addKeyListener(listener);
    }
View Full Code Here

Examples of com.sun.star.awt.XWindow

    /**
     * Is used to add a focuslistener to different controls...
     */
    static void addFocusListener(Object control,XFocusListener listener) {
        XWindow xlastControl = (XWindow)UnoRuntime.queryInterface(XWindow.class,
                control );
        xlastControl.addFocusListener(listener);
    }
View Full Code Here

Examples of com.sun.star.awt.XWindow

        XModel aModel = (XModel)
            UnoRuntime.queryInterface(XModel.class, xChartDoc);

        AccessibilityTools at = new AccessibilityTools();

        XWindow xWindow = at.getCurrentWindow((XMultiServiceFactory)Param.getMSF(), aModel);
        XAccessible xRoot = at.getAccessibleObject(xWindow);

        XAccessibleContext cont = at.getAccessibleObjectForRole(
                xRoot, AccessibleRole.SHAPE, "", "AccLegend");
View Full Code Here

Examples of com.sun.star.awt.XWindow

        XModel aModel = (XModel)
            UnoRuntime.queryInterface(XModel.class, xChartDoc);

        AccessibilityTools at = new AccessibilityTools();

        XWindow xWindow = at.getCurrentWindow((XMultiServiceFactory)Param.getMSF(), aModel);
        XAccessible xRoot = at.getAccessibleObject(xWindow);

        at.printAccessibleTree(log, xRoot, Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE));

        XAccessibleContext cont = at.getAccessibleObjectForRole(
View Full Code Here

Examples of com.sun.star.awt.XWindow

        XModel aModel = (XModel)
            UnoRuntime.queryInterface(XModel.class, xChartDoc);

        AccessibilityTools at = new AccessibilityTools();

        XWindow xWindow = at.getCurrentWindow((XMultiServiceFactory)Param.getMSF(), aModel);
        XAccessible xRoot = at.getAccessibleObject(xWindow);

        XAccessibleContext cont = at.getAccessibleObjectForRole(
                xRoot, AccessibleRole.SHAPE, "", "AccLegendEntry");
View Full Code Here

Examples of com.sun.star.awt.XWindow

        XModel aModel = (XModel)
            UnoRuntime.queryInterface(XModel.class, xChartDoc);

        AccessibilityTools at = new AccessibilityTools();

        XWindow xWindow = at.getCurrentWindow((XMultiServiceFactory)Param.getMSF(), aModel);
        XAccessible xRoot = at.getAccessibleObject(xWindow);

        at.printAccessibleTree(log, xRoot, Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE));

        XAccessibleContext cont = at.getAccessibleObjectForRole(
View Full Code Here

Examples of com.sun.star.awt.XWindow

   
    private XAccessibleContext getAccessibleContext(XMutableTreeNode xNode ){
       
        UITools oDocUITools = new UITools(this.mxMSF, this.xTextDoc);
       
        XWindow xDialogWindow = null;
        try {
           
            xDialogWindow = oDocUITools.getActiveTopWindow();
        } catch (Exception ex) {
            ex.printStackTrace();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.