Examples of selectItem()


Examples of com.sun.star.awt.XListBox.selectItem()

            protected void setCondition(PropertyValue _filtercondition) {
            try {
                int ikey;
                XListBox xFieldsListBox = (XListBox) UnoRuntime.queryInterface(XListBox.class, ControlElements[SOLSTFIELDNAME]);
                xFieldsListBox.selectItem(_filtercondition.Name, true);
                XListBox xOperatorListBox = (XListBox) UnoRuntime.queryInterface(XListBox.class, ControlElements[SOLSTOPERATOR]);
                xOperatorListBox.selectItemPos((short) (_filtercondition.Handle - 1), true);
                if (AnyConverter.isString(_filtercondition.Value)){
                    String sValue = AnyConverter.toString(_filtercondition.Value);
                    if (sValue.indexOf("{D '") > -1){
View Full Code Here

Examples of com.sun.star.awt.XListBox.selectItem()

                XListBox listBoxControl = getListBoxControl( sheet );
                listBoxControl.addItemListener( this );

                // in the list box of this new sheet, select its name. Everything else
                // is way too confusing
                listBoxControl.selectItem( selectedEntry, true );
                    // don't do it. It deadlocks :(
            }
        }
        catch( com.sun.star.uno.Exception e )
        {
View Full Code Here

Examples of com.sun.star.awt.XListBox.selectItem()

        protected void setCondition(PropertyValue _filtercondition)
        {
            try
            {
                XListBox xFieldsListBox = (XListBox) UnoRuntime.queryInterface(XListBox.class, ControlElements[SOLSTFIELDNAME]);
                xFieldsListBox.selectItem(_filtercondition.Name, true);
                XListBox xOperatorListBox = (XListBox) UnoRuntime.queryInterface(XListBox.class, ControlElements[SOLSTOPERATOR]);
                xOperatorListBox.selectItemPos((short) (_filtercondition.Handle - 1), true);

                if (AnyConverter.isString(_filtercondition.Value))
                {
View Full Code Here

Examples of com.sun.star.awt.XListBox.selectItem()

                XListBox listBoxControl = getListBoxControl( sheet );
                listBoxControl.addItemListener( this );

                // in the list box of this new sheet, select its name. Everything else
                // is way too confusing
                listBoxControl.selectItem( selectedEntry, true );
                    // don't do it. It deadlocks :(
            }
        }
        catch( com.sun.star.uno.Exception e )
        {
View Full Code Here

Examples of org.fest.swing.fixture.JComboBoxFixture.selectItem()

      dialogFixture.comboBox("ComboBoxWeeks").target
          .setSelectedIndex(Util.getCurrentWeek() - 2);
      Pause.pause(PAUSE);
    }
    JComboBoxFixture combo = dialogFixture.comboBox("ComboBoxSupplier1");
    combo.selectItem(combo.target.getSelectedIndex() + 1);
    dialogFixture.button("SaveTransport").click();
    dialogFixture
        .table(TableEnum.TABLETRANSPORTORDERS.getTableName() + "1")
        .cell(row(0).column(1)).select();
    dialogFixture
View Full Code Here

Examples of org.fest.swing.fixture.JComboBoxFixture.selectItem()

      dialogFixture.comboBox("ComboBoxWeeks").target
          .setSelectedItem(1);
      Pause.pause(PAUSE);
    }
    JComboBoxFixture combo = dialogFixture.comboBox("ComboBoxSupplier1");
    combo.selectItem(combo.target.getSelectedIndex() + 1);
    dialogFixture.button("SaveTransport").click();
    JCheckBoxFixture checkBox = dialogFixture.checkBox("CheckBoxSent1");

    if (checkBox.target.isSelected()) {
      checkBox.uncheck();
View Full Code Here

Examples of org.fest.swing.fixture.JComboBoxFixture.selectItem()

        "YearChooserTransportCost"));
    yearChooser.setYear(2008);

    JComboBoxFixture comboBoxWeekFrom = dialogFixture
        .comboBox("ComboBoxWeekFrom");
    comboBoxWeekFrom.selectItem("50");

    JComboBoxFixture comboBoxWeekTo = dialogFixture
        .comboBox("ComboBoxWeekTo");
    comboBoxWeekTo.selectItem("50");
View Full Code Here

Examples of org.fest.swing.fixture.JComboBoxFixture.selectItem()

        .comboBox("ComboBoxWeekFrom");
    comboBoxWeekFrom.selectItem("50");

    JComboBoxFixture comboBoxWeekTo = dialogFixture
        .comboBox("ComboBoxWeekTo");
    comboBoxWeekTo.selectItem("50");

    dialogFixture.table("TableTransportCostBasis").requireVisible();

  }
View Full Code Here

Examples of org.fest.swing.fixture.JComboBoxFixture.selectItem()

  @Test
  public void testShowReportSalgDriftTransport() {
    JComboBoxFixture comboBox = dialogFixture
        .comboBox("ComboBoxReportType");
    comboBox.selectItem(0);
    String reportName = comboBox.valueAt(0);
    dialogFixture.comboBox("ComboBoxProductArea").selectItem(
        "Garasje villa");
    dialogFixture.comboBox("ComboBoxWeek").selectItem(3);
    dialogFixture.button("ButtonShowReport").click();
View Full Code Here

Examples of org.fest.swing.fixture.JComboBoxFixture.selectItem()

  public void testShowReportMonteringOkonomi() {
    dialogFixture.comboBox("ComboBoxProductArea").selectItem(
        "Garasje villa");
    JComboBoxFixture comboBox = dialogFixture
        .comboBox("ComboBoxReportType");
    comboBox.selectItem(1);
    String reportName = comboBox.valueAt(1);
   
    dialogFixture.comboBox("ComboBoxWeek").selectItem(3);
    dialogFixture.button("ButtonShowReport").click();
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.