Package com.volantis.mcs.interaction.event

Examples of com.volantis.mcs.interaction.event.InsertedIntoListEvent


        // Remember that the proxy has been modified.
        modifiedProxy();

        int firstItemIndex = index;
        int lastItemIndex = index + proxies.size() - 1;
        InsertedIntoListEvent event = new InsertedIntoListEvent(this,
                firstItemIndex, lastItemIndex, true);
        fireEvent(event);
    }
View Full Code Here


        // The item proxy may be asked if it has a model object associated
        // with it.
        itemProxyMock.expects.getModelObject().returns(null).any();

        // Should cause an event to be sent to listeners on the object.
        InsertedIntoListEvent event = new InsertedIntoListEvent(
                listProxy, 0, 0, true);
        listenerMock.expects.addedToList(event);

        // Should also cause an event to be sent to the parent proxy.
        parentProxyMock.expects.fireEvent(event);
View Full Code Here

TOP

Related Classes of com.volantis.mcs.interaction.event.InsertedIntoListEvent

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.