Package nextapp.echo2.app

Examples of nextapp.echo2.app.Component.addPropertyChangeListener()


     * Test <code>focusTraversalIndex</code> property.
     */
    public void testFocusTraversalIndex() {
        Component c = new NullComponent();
        PropertyChangeEvaluator pce = new PropertyChangeEvaluator();
        c.addPropertyChangeListener(pce);
        assertEquals(0, c.getFocusTraversalIndex());
        c.setFocusTraversalIndex(5);
        assertEquals(Component.FOCUS_TRAVERSAL_INDEX_CHANGED_PROPERTY, pce.lastEvent.getPropertyName());
        assertEquals(5, c.getFocusTraversalIndex());
        c.setVisible(false);
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.