Package com.sun.star.awt

Examples of com.sun.star.awt.XFixedText


                String[] sServices2 = xServiceInfo2.getSupportedServiceNames();
               
                XWindow xWindow = (XWindow)UnoRuntime.queryInterface(XWindow.class, aFixedText);
                xWindow.setVisible(true);

                XFixedText xFixedText = (XFixedText)UnoRuntime.queryInterface(XFixedText.class, aFixedText);
                xFixedText.setText("Dies ist ein String");

                XControl xControl = (XControl)UnoRuntime.queryInterface(XControl.class, xFixedText);
                xControl.setModel(xFixedTextModel);

                XLayoutConstrains xLayoutConstrains = (XLayoutConstrains)UnoRuntime.queryInterface(XLayoutConstrains.class, aFixedText);
View Full Code Here


                                                              xMSF.createInstance(
                                                                      "com.sun.star.awt.UnoControlFixedText"));

            txtControl.setModel(txtModel);

            XFixedText xFT = (XFixedText) UnoRuntime.queryInterface(
                                     XFixedText.class, txtControl);
            xFT.setText("FxedText");

            XControlContainer ctrlCont = (XControlContainer) UnoRuntime.queryInterface(
                                                 XControlContainer.class,
                                                 dlgControl);
View Full Code Here

                                                              xMSF.createInstance(
                                                                      "com.sun.star.awt.UnoControlFixedText"));

            txtControl.setModel(txtModel);

            XFixedText xFT = (XFixedText) UnoRuntime.queryInterface(
                                     XFixedText.class, txtControl);
            xFT.setText("FxedText");

            XControlContainer ctrlCont = (XControlContainer) UnoRuntime.queryInterface(
                                                 XControlContainer.class,
                                                 dlgControl);
View Full Code Here

        }
    }
   
   
    public XFixedText insertFixedText(XMouseListener _xMouseListener, int _nPosX, int _nPosY, int _nWidth, int _nStep, String _sLabel){
        XFixedText xFixedText = null;
        try{
            // create a unique name by means of an own implementation...
            String sName = createUniqueName(m_xDlgModelNameContainer, "Label");
           
            // create a controlmodel at the multiservicefactory of the dialog model...
View Full Code Here

                                                              xMSF.createInstance(
                                                                      "com.sun.star.awt.UnoControlFixedText"));

            txtControl.setModel(txtModel);

            XFixedText xFT = (XFixedText) UnoRuntime.queryInterface(
                                     XFixedText.class, txtControl);
            xFT.setText("FxedText");

            XControlContainer ctrlCont = (XControlContainer) UnoRuntime.queryInterface(
                                                 XControlContainer.class,
                                                 dlgControl);
View Full Code Here

            // increase click counter
            _nCounts++;
           
            // set label text
            Object label = _xControlCont.getControl( "Label1" );
            XFixedText xLabel = ( XFixedText )UnoRuntime.queryInterface(
                XFixedText.class, label );           
            xLabel.setText( _labelPrefix + _nCounts );
        }   
View Full Code Here

        }
    }
   
   
    public XFixedText insertFixedText(XMouseListener _xMouseListener, int _nPosX, int _nPosY, int _nWidth, int _nStep, String _sLabel){
        XFixedText xFixedText = null;
        try{
            // create a unique name by means of an own implementation...
            String sName = createUniqueName(m_xDlgModelNameContainer, "Label");
           
            // create a controlmodel at the multiservicefactory of the dialog model...
View Full Code Here

            // increase click counter
            _nCounts++;
           
            // set label text
            Object label = _xControlCont.getControl( "Label1" );
            XFixedText xLabel = ( XFixedText )UnoRuntime.queryInterface(
                XFixedText.class, label );           
            xLabel.setText( _labelPrefix + _nCounts );
        }   
View Full Code Here

            // increase click counter
            _nCounts++;
           
            // set label text
            Object label = _xControlCont.getControl( "Label1" );
            XFixedText xLabel = ( XFixedText )UnoRuntime.queryInterface(
                XFixedText.class, label );           
            xLabel.setText( _labelPrefix + _nCounts );
        }   
View Full Code Here

                sType = "UpwardArrowProcess";
                sourceFileName += "2";
            }
           
            XControlContainer xControlContainer = (XControlContainer) UnoRuntime.queryInterface(XControlContainer.class, m_xGalleryDialog);
            XFixedText xDiagramNameText = (XFixedText) UnoRuntime.queryInterface(XFixedText.class, xControlContainer.getControl("Label1"));
            XFixedText xDiagramDescriptionText = (XFixedText) UnoRuntime.queryInterface(XFixedText.class, xControlContainer.getControl("Label2"));
            if(xDiagramNameText != null && xDiagramDescriptionText != null){
                if(type == Controller.NOTDIAGRAM){
                    xDiagramNameText.setText("");
                    xDiagramDescriptionText.setText("");
                }else{
                    String diagramNameProperty = sourceFileName + "." + sType + ".Label";
                    String diagramDescProperty = sourceFileName + "." + sType + "Description.Label";
                    xDiagramNameText.setText(getDialogPropertyValue(sourceFileName, diagramNameProperty));
                    xDiagramDescriptionText.setText(getDialogPropertyValue(sourceFileName, diagramDescProperty));
                }
            }
        }
    }
View Full Code Here

TOP

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

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.