Package fr.soleil.comete.widget.util

Examples of fr.soleil.comete.widget.util.CometeColor


    private void fillColorMap(String scanServer, String[] attributeNameList) {
        if (attributeNameList != null) {
            for (String element : attributeNameList) {
                // Get the associated label
                String label = CurrentScanDataModel.getAttributeLabel(scanServer, element);
                CometeColor color = widget.getComponent().getDataViewCometeColor(idMap.get(label));
                if (color != null && !colorMap.containsKey(label)) {
                    colorMap.put(label, color);
                }
            }
        }
View Full Code Here


        }
    }

    private void setDefaultColor(String label) {
        if (colorMap.containsKey(label)) {
            CometeColor color = colorMap.get(label);
            widget.getComponent().setDataViewCometeColor(idMap.get(label), color);
        }
    }
View Full Code Here

TOP

Related Classes of fr.soleil.comete.widget.util.CometeColor

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.