Package com.volantis.mcs.assets

Examples of com.volantis.mcs.assets.ChartAsset


     */
    public void testRewriteAssetURLChartAsset() throws Exception {

        String strURL = "http://host.com/this=that";
        MarinerURL url = new MarinerURL(strURL);
        ChartAsset asset = new ChartAsset("Test");
        String expected = strURL;

        doRewriterTest(asset, null, url, expected);
    }
View Full Code Here


            InternalDevice device) {

        // Convert the variant into an asset.
        ChartMetaData metaData = (ChartMetaData) variant.getMetaData();

        ChartAsset asset = new ChartAsset();

        setAssetIdentity(policy, asset);

        AxisMetaData axis;

        asset.setHeightHint(metaData.getHeightHint());
        asset.setWidthHint(metaData.getWidthHint());

        axis = metaData.getXAxis();
        asset.setXInterval(axis.getInterval());
        asset.setXTitle(axis.getTitle());

        axis = metaData.getYAxis();
        asset.setYInterval(axis.getInterval());
        asset.setYTitle(axis.getTitle());

        return asset;
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.assets.ChartAsset

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.