Package com.volantis.mcs.components

Examples of com.volantis.mcs.components.RolloverImageComponent


        XMLRepositoryManager xmlRepositoryMgr = new XMLRepositoryManager();
        xmlRepositoryMgr.executeWith(new XMLRepositoryManager.RepositoryCommand() {
            public void execute(RepositoryConnection repositoryConnection,
                                XMLRepository repository,
                                String repositoryDir) throws Exception {
        RolloverImageComponent ic =
                new RolloverImageComponent("/testAddRolloverImageComponent.mrlv");
                ic.setNormalImageComponentName("/normal.mimg");
                ic.setOverImageComponentName("/over.mimg");
        ImageRepositoryManager manager =
               new ImageRepositoryManager(repository);
        manager.addRolloverImageComponent(repositoryConnection, ic);

                containerExists(ic.getName(), false, repositoryConnection, repository);
            }
        });
    }
View Full Code Here


        XMLRepositoryManager xmlRepositoryMgr = new XMLRepositoryManager();
        xmlRepositoryMgr.executeWith(new XMLRepositoryManager.RepositoryCommand() {
            public void execute(RepositoryConnection repositoryConnection,
                                XMLRepository repository,
                                String repositoryDir) throws Exception {
                RolloverImageComponent ic =
                        new RolloverImageComponent("/testRemoveRolloverImageComponent.mrlv");
                ic.setNormalImageComponentName("/normal.mimg");
                ic.setOverImageComponentName("/over.mimg");
                ImageRepositoryManager manager =
                        new ImageRepositoryManager(repository);
                manager.addRolloverImageComponent(repositoryConnection, ic);

                containerExists(ic.getName(), false, repositoryConnection,
                        repository);

                manager.removeRolloverImageComponent(repositoryConnection,
                        ic.getName());

                containerExists(ic.getName(), true, repositoryConnection,
                        repository);
            }
        });
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.components.RolloverImageComponent

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.