Package fr.soleil.comete.swing

Examples of fr.soleil.comete.swing.NumberTable


        Sleeper.SECONDS.sleep(1);

        final JDialog tableDialog = tth.findDialog("Matrix Data");
        Assert.assertTrue("Table dialog not found", tableDialog != null);

        final NumberTable table = (NumberTable) tth.findFirstComponent(NumberTable.class,
                tableDialog);
        Assert.assertTrue("Table not found", table != null);

        Assert.assertTrue("Table should not be editable", !table.isEditable());

    }
View Full Code Here


        Sleeper.SECONDS.sleep(1);

        final JDialog tableDialog = tth.findDialog("Matrix Data");
        Assert.assertTrue("Table dialog not found", tableDialog != null);

        final NumberTable table = (NumberTable) tth.findFirstComponent(NumberTable.class,
                tableDialog);
        Assert.assertTrue("Table not found", table != null);

        widget.setUserEnabled(false);
        Sleeper.SECONDS.sleep(1);

        Assert.assertFalse("Table should not be editable", table.isEditable());

        System.out.println("test userEnable true source ro");
        widget.setUserEnabled(true);
        Sleeper.SECONDS.sleep(1);

        Assert.assertFalse("Table should not be editable", table.isEditable());

        // clean
        widget.stop();
        jf1.dispose();
    }
View Full Code Here

        Sleeper.SECONDS.sleep(1);

        final JDialog tableDialog = tth.findDialog("Matrix Data");
        Assert.assertTrue("Table dialog not found", tableDialog != null);

        final NumberTable table = (NumberTable) tth.findFirstComponent(NumberTable.class,
                tableDialog);
        Assert.assertTrue("Table not found", table != null);

        widget.setUserEnabled(false);
        Sleeper.SECONDS.sleep(1);

        Assert.assertTrue("Table should not be editable", !table.isEditable());

        widget.setUserEnabled(true);
        Sleeper.SECONDS.sleep(1);

        Assert.assertTrue("Table should be editable", table.isEditable());

        // clean
        widget.stop();
        jf1.dispose();
    }
View Full Code Here

    Sleeper.SECONDS.sleep(1);

    final JDialog tableDialog = tth.findDialog("Matrix Data");
    Assert.assertTrue("Table dialog not found", tableDialog != null);

    final NumberTable table = (NumberTable) tth.findFirstComponent(
        NumberTable.class, tableDialog);
    Assert.assertTrue("Table not found", table != null);

    Assert.assertTrue("Table should not be editable", !table.isEditable());

  }
View Full Code Here

    Sleeper.SECONDS.sleep(1);

    final JDialog tableDialog = tth.findDialog("Matrix Data");
    Assert.assertTrue("Table dialog not found", tableDialog != null);

    final NumberTable table = (NumberTable) tth.findFirstComponent(
        NumberTable.class, tableDialog);
    Assert.assertTrue("Table not found", table != null);

    widget.setUserEnabled(false);
    Sleeper.SECONDS.sleep(1);

    Assert.assertFalse("Table should not be editable", table.isEditable());

    System.out.println("test userEnable true source ro");
    widget.setUserEnabled(true);
    Sleeper.SECONDS.sleep(1);

    Assert.assertFalse("Table should not be editable", table.isEditable());

    // clean
    widget.stop();
    jf1.dispose();
  }
View Full Code Here

    Sleeper.SECONDS.sleep(1);

    final JDialog tableDialog = tth.findDialog("Matrix Data");
    Assert.assertTrue("Table dialog not found", tableDialog != null);

    final NumberTable table = (NumberTable) tth.findFirstComponent(
        NumberTable.class, tableDialog);
    Assert.assertTrue("Table not found", table != null);

    widget.setUserEnabled(false);
    Sleeper.SECONDS.sleep(1);

    Assert.assertTrue("Table should not be editable", !table.isEditable());

    widget.setUserEnabled(true);
    Sleeper.SECONDS.sleep(1);

    Assert.assertTrue("Table should be editable", table.isEditable());

    // clean
    widget.stop();
    jf1.dispose();
  }
View Full Code Here

TOP

Related Classes of fr.soleil.comete.swing.NumberTable

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.