Package fr.soleil.globalscreen.tangowidget.attribute

Examples of fr.soleil.globalscreen.tangowidget.attribute.AttributeImagePanel.stop()


        // test du SetVisible fait avec le fen�tre Roi car il n'est pas possible de retrouver
        // l'objet image

        // clean
        widget.stop();
        jf1.dispose();
    }

    private void roiTest() throws DevFailed {
        final String attributeName = "int_image_rw";
View Full Code Here


        // test du SetVisible
        widget.setVisible(false);
        Assert.assertTrue("widget should not be visible", !roiTable.isShowing());

        // clean
        widget.stop();
        jf1.dispose();
    }

    private void tableListenerTest() throws DevFailed {
        final String attributeName = "int_image_rw";
View Full Code Here

        // Rectangle zoneImage = viewer.getImageZoneLocationOnScreen()

        widget.removeTableListener(listenerTest);

        // clean
        widget.stop();
        jf1.dispose();
    }

    protected void componentBehaviourWithROAttTest() throws DevFailed {
        jf1 = new JFrame();
View Full Code Here

                "int_image_ro").jframe(jf1).build();
        Sleeper.SECONDS.sleep(2);

        notEditableBehaviour(jf1);
        // clean
        widget.stop();
        jf1.dispose();
    }

    @Override
    protected void componentNotWritableTest() throws DevFailed {
View Full Code Here

        Sleeper.SECONDS.sleep(2);

        notEditableBehaviour(jf1);

        // clean
        widget.stop();
        jf1.dispose();
    }

    private void notEditableBehaviour(final JFrame jf) throws DevFailed {
View Full Code Here

                Assert.assertTrue("Image is not BW", isBWColor(new Color(image.getRGB(0, 0))));
            }
        }

        // clean
        widget.stop();
        jf1.dispose();
    }

    private boolean isBWColor(final Color color) {
        if (color.getBlue() != color.getRed()) {
View Full Code Here

    // test du SetVisible fait avec le fen�tre Roi car il n'est pas possible
    // de retrouver
    // l'objet image

    // clean
    widget.stop();
    jf1.dispose();
  }

  private void roiTest() throws DevFailed {
    final String attributeName = "int_image_rw";
View Full Code Here

    // test du SetVisible
    widget.setVisible(false);
    Assert.assertTrue("widget should not be visible", !roiTable.isShowing());

    // clean
    widget.stop();
    jf1.dispose();
  }

  private void tableListenerTest() throws DevFailed {
    final String attributeName = "int_image_rw";
View Full Code Here

    // Rectangle zoneImage = viewer.getImageZoneLocationOnScreen()

    widget.removeTableListener(listenerTest);

    // clean
    widget.stop();
    jf1.dispose();
  }

  protected void componentBehaviourWithROAttTest() throws DevFailed {
    jf1 = new JFrame();
View Full Code Here

        m_deviceName, "int_image_ro").jframe(jf1).build();
    Sleeper.SECONDS.sleep(2);

    notEditableBehaviour(jf1);
    // clean
    widget.stop();
    jf1.dispose();
  }

  @Override
  protected void componentNotWritableTest() throws DevFailed {
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.