Package com.sun.star.awt

Examples of com.sun.star.awt.WindowDescriptor


        bPeer = false;
      }

      // create native window (mWindow)
      Rectangle aRect = new Rectangle( 0, 0, 20, 20 );
      WindowDescriptor desc = new WindowDescriptor();
      desc.Type = WindowClass.TOP;
      desc.Parent = parentPeer;
      desc.Bounds = aRect;
      desc.WindowServiceName = "workwindow";
      desc.WindowAttributes = (type == SystemDependent.SYSTEM_WIN32
View Full Code Here


        bPeer = false;
      }

      // create native window (mWindow)
      Rectangle aRect = new Rectangle( 0, 0, 20, 20 );
      WindowDescriptor desc = new WindowDescriptor();
      desc.Type = WindowClass.TOP;
      desc.Parent = parentPeer;
      desc.Bounds = aRect;
      desc.WindowServiceName = "workwindow";
      desc.WindowAttributes = (type == SystemDependent.SYSTEM_WIN32
View Full Code Here

        public void showMessageBox(String sTitle, String sMessage) {
      try {
        if ( null != m_xFrame && null != m_xToolkit ) {

          // describe window properties.
          WindowDescriptor aDescriptor = new WindowDescriptor();
          aDescriptor.Type              = WindowClass.MODALTOP;
          aDescriptor.WindowServiceName = new String( "infobox" );
          aDescriptor.ParentIndex       = -1;
          aDescriptor.Parent            = (XWindowPeer)UnoRuntime.queryInterface(
            XWindowPeer.class, m_xFrame.getContainerWindow());
View Full Code Here

            // TODO Auto-generated catch block
            e.printStackTrace();
        }

        //describe the window and its properties
        WindowDescriptor aDescriptor = new WindowDescriptor();
        aDescriptor.Type                =   com.sun.star.awt.WindowClass.TOP;
        aDescriptor.WindowServiceName   =   "window";
        aDescriptor.ParentIndex         =   -1;
        aDescriptor.Parent              =   null;
        aDescriptor.Bounds              =   new Rectangle(10,10,640,480);
View Full Code Here

        bPeer = false;
      }

      // create native window (mWindow)
      Rectangle aRect = new Rectangle( 0, 0, 20, 20 );
      WindowDescriptor desc = new WindowDescriptor();
      desc.Type = WindowClass.TOP;
      desc.Parent = parentPeer;
      desc.Bounds = aRect;
      desc.WindowServiceName = "workwindow";
      desc.WindowAttributes = (type == SystemDependent.SYSTEM_WIN32
View Full Code Here

        }

        XToolkit tk = (XToolkit) UnoRuntime.queryInterface(
                                      XToolkit.class, oObj);

  WindowDescriptor descriptor = new com.sun.star.awt.WindowDescriptor();

        descriptor.Type = com.sun.star.awt.WindowClass.TOP;
        descriptor.WindowServiceName = "modelessdialog";
        descriptor.ParentIndex =  -1;
View Full Code Here

    /**
    * Just creates the WindowDescriptor as an argument for createWindow().
    */
    public WindowDescriptor createDesc(Rectangle rect) {
        XWindowPeer win = (XWindowPeer) tEnv.getObjRelation("WINPEER");
        return new WindowDescriptor(com.sun.star.awt.WindowClass.TOP,
            "", win, (short) -1, rect, com.sun.star.awt.WindowAttribute.SHOW);
    }
View Full Code Here

        bPeer = false;
      }

      // create native window (mWindow)
      Rectangle aRect = new Rectangle( 0, 0, 20, 20 );
      WindowDescriptor desc = new WindowDescriptor();
      desc.Type = WindowClass.TOP;
      desc.Parent = parentPeer;
      desc.Bounds = aRect;
      desc.WindowServiceName = "workwindow";
      desc.WindowAttributes = (type == SystemDependent.SYSTEM_WIN32
View Full Code Here

        bPeer = false;
      }

      // create native window (mWindow)
      Rectangle aRect = new Rectangle( 0, 0, 20, 20 );
      WindowDescriptor desc = new WindowDescriptor();
      desc.Type = WindowClass.TOP;
      desc.Parent = parentPeer;
      desc.Bounds = aRect;
      desc.WindowServiceName = "workwindow";
      desc.WindowAttributes = (type == SystemDependent.SYSTEM_WIN32
View Full Code Here

        }

        XToolkit tk = (XToolkit) UnoRuntime.queryInterface(
                XToolkit.class, oObj);

        WindowDescriptor descriptor = new com.sun.star.awt.WindowDescriptor();

        descriptor.Type = com.sun.star.awt.WindowClass.TOP;
        descriptor.WindowServiceName = "modelessdialog";
        descriptor.ParentIndex = -1;
View Full Code Here

TOP

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

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.