Package fr.soleil.globalscreen.util

Examples of fr.soleil.globalscreen.util.ComponentFinderSorter$SortableComponent


    final JButton clearFreezesBtn = tth.findButtonByText(jf1,
        "Clear Freezes");
    Assert.assertTrue("Hide button should be visible",
        clearFreezesBtn != null);

    final Component[] cbxArray = new ComponentFinderSorter(JComboBox.class)
        .findAndSort(jf1);
    Assert.assertTrue("combos should be visible", cbxArray != null);
    Assert.assertTrue("2 combos should be visible", cbxArray.length == 2);

    final JComboBox visibleDataCbx = (JComboBox) cbxArray[0];
View Full Code Here


    final MultiAttributeDualSpectrumChart widget = new MultiAttributeDualSpectrumChart.Builder(
        xAttributeNameList, yAttributeNameList).jframe(jf1).build();

    Sleeper.SECONDS.sleep(2);

    final Component[] cbxArray = new ComponentFinderSorter(JComboBox.class)
        .findAndSort(jf1);
    Assert.assertTrue("combos should be visible", cbxArray != null);
    Assert.assertTrue("2 combos should be visible", cbxArray.length == 2);

    final JComboBox visibleDataCbx = (JComboBox) cbxArray[0];
View Full Code Here

    private void getButtons(final JFrame jf, final List<ArrowButton> upButtons,
            final List<ArrowButton> downButtons) {
        upButtons.clear();
        downButtons.clear();

        final Component[] buttons = new ComponentFinderSorter(ArrowButton.class).findAndSort(jf);
        if (buttons == null) {
            return;
        }

        for (int i = 0; i < buttons.length / 2; i++) {
View Full Code Here

        Assert.assertTrue("Hide button should be visible", freezeValuesBtn != null);

        final JButton clearFreezesBtn = tth.findButtonByText(jf1, "Clear Freezes");
        Assert.assertTrue("Hide button should be visible", clearFreezesBtn != null);

        final Component[] cbxArray = new ComponentFinderSorter(JComboBox.class).findAndSort(jf1);
        Assert.assertTrue("combos should be visible", cbxArray != null);
        Assert.assertTrue("2 combos should be visible", cbxArray.length == 2);

        final JComboBox visibleDataCbx = (JComboBox) cbxArray[0];
        final JComboBox hideDataCbx = (JComboBox) cbxArray[1];
View Full Code Here

  private void getButtons(final JFrame jf, final List<ArrowButton> upButtons,
      final List<ArrowButton> downButtons) {
    upButtons.clear();
    downButtons.clear();

    final Component[] buttons = new ComponentFinderSorter(ArrowButton.class)
        .findAndSort(jf);
    if (buttons == null) {
      fail("can't find buttons");
    }
View Full Code Here

    final JButton clearFreezesBtn = tth.findButtonByText(jf1,
        "Clear Freezes");
    Assert.assertTrue("Hide button should be visible",
        clearFreezesBtn != null);

    final Component[] cbxArray = new ComponentFinderSorter(JComboBox.class)
        .findAndSort(jf1);
    Assert.assertTrue("combos should be visible", cbxArray != null);
    Assert.assertTrue("2 combos should be visible", cbxArray.length == 2);

    final JComboBox visibleDataCbx = (JComboBox) cbxArray[0];
View Full Code Here

        Assert.assertTrue("Hide button should be visible", freezeValuesBtn != null);

        final JButton clearFreezesBtn = tth.findButtonByText(jf1, "Clear Freezes");
        Assert.assertTrue("Hide button should be visible", clearFreezesBtn != null);

        final Component[] cbxArray = new ComponentFinderSorter(JComboBox.class).findAndSort(jf1);
        Assert.assertTrue("combos should be visible", cbxArray != null);
        Assert.assertTrue("2 combos should be visible", cbxArray.length == 2);

        final JComboBox visibleDataCbx = (JComboBox) cbxArray[0];
        final JComboBox hideDataCbx = (JComboBox) cbxArray[1];
View Full Code Here

        final MultiAttributeDualSpectrumChart widget = new MultiAttributeDualSpectrumChart.Builder(
                xAttributeNameList, yAttributeNameList).jframe(jf1).build();

        Sleeper.SECONDS.sleep(2);

        final Component[] cbxArray = new ComponentFinderSorter(JComboBox.class).findAndSort(jf1);
        Assert.assertTrue("combos should be visible", cbxArray != null);
        Assert.assertTrue("2 combos should be visible", cbxArray.length == 2);

        final JComboBox visibleDataCbx = (JComboBox) cbxArray[0];
View Full Code Here

TOP

Related Classes of fr.soleil.globalscreen.util.ComponentFinderSorter$SortableComponent

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.