Package org.fluxtream.core.services.impl.BodyTrackHelper

Examples of org.fluxtream.core.services.impl.BodyTrackHelper.TimespanStyle


            mapping.apiKeyId = updateInfo.apiKey.getId();
            bodyTrackHelper.persistChannelMapping(mapping);

            ChannelStyle channelStyle = new ChannelStyle();
            channelStyle.timespanStyles = new MainTimespanStyle();
            channelStyle.timespanStyles.defaultStyle = new TimespanStyle();
            channelStyle.timespanStyles.defaultStyle.fillColor = "#e9e9e9";
            channelStyle.timespanStyles.defaultStyle.borderColor = "#c9c9c9";
            channelStyle.timespanStyles.defaultStyle.borderWidth = 2;
            channelStyle.timespanStyles.defaultStyle.top = 0.0;
            channelStyle.timespanStyles.defaultStyle.bottom = 1.0;
            channelStyle.timespanStyles.values = new HashMap();

            TimespanStyle stylePart = new TimespanStyle();
            stylePart.top = 0.25;
            stylePart.bottom = 0.75;
            stylePart.fillColor = "#23ee70";
            stylePart.borderColor = "#03ce50";
            channelStyle.timespanStyles.values.put("wlk",stylePart);

            stylePart = new TimespanStyle();
            stylePart.top = 0.25;
            stylePart.bottom = 0.75;
            stylePart.fillColor = "#e674ec";
            stylePart.borderColor = "#c654cc";
            channelStyle.timespanStyles.values.put("run",stylePart);

            stylePart = new TimespanStyle();
            stylePart.top = 0.25;
            stylePart.bottom = 0.75;
            stylePart.fillColor = "#68abef";
            stylePart.borderColor = "#488bcf";
            channelStyle.timespanStyles.values.put("cyc",stylePart);

            stylePart = new TimespanStyle();
            stylePart.top = 0.25;
            stylePart.bottom = 0.75;
            stylePart.fillColor = "#8f8f8d";
            stylePart.borderColor = "#6f6f6d";
            channelStyle.timespanStyles.values.put("trp",stylePart);
View Full Code Here


                    mapping.objectTypeId = type.value();
                    bodyTrackHelper.persistChannelMapping(mapping);

                    ChannelStyle channelStyle = new ChannelStyle();
                    channelStyle.timespanStyles = new MainTimespanStyle();
                    channelStyle.timespanStyles.defaultStyle = new TimespanStyle();
                    channelStyle.timespanStyles.defaultStyle.fillColor = "green";
                    channelStyle.timespanStyles.defaultStyle.borderColor = "#006000";
                    channelStyle.timespanStyles.defaultStyle.borderWidth = 2;
                    channelStyle.timespanStyles.defaultStyle.top = 0.0;
                    channelStyle.timespanStyles.defaultStyle.bottom = 1.0;
View Full Code Here

TOP

Related Classes of org.fluxtream.core.services.impl.BodyTrackHelper.TimespanStyle

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.