Package com.serotonin.m2m2.gviews.component

Examples of com.serotonin.m2m2.gviews.component.BinaryGraphicComponent.tsetImageSet()


        if (!response.getHasMessages()) {
            AnalogGraphicComponent c = (AnalogGraphicComponent) getViewComponent(viewComponentId);
            c.setMin(min);
            c.setMax(max);
            c.setDisplayText(displayText);
            c.tsetImageSet(imageSet);
            resetPointComponent(c);
        }

        return response;
    }
View Full Code Here


                response.addContextualMessage("graphicRendererBinaryImageSetOneMsg", "viewEdit.graphic.missingOneImage");
        }

        if (!response.getHasMessages()) {
            BinaryGraphicComponent c = (BinaryGraphicComponent) getViewComponent(viewComponentId);
            c.tsetImageSet(imageSet);
            c.setZeroImage(zeroImage);
            c.setOneImage(oneImage);
            c.setDisplayText(displayText);
            resetPointComponent(c);
        }
View Full Code Here

        if (!response.getHasMessages()) {
            MultistateGraphicComponent c = (MultistateGraphicComponent) getViewComponent(viewComponentId);
            c.setImageStateList(imageStates);
            c.setDefaultImage(defaultImage);
            c.setDisplayText(displayText);
            c.tsetImageSet(imageSet);
            resetPointComponent(c);
        }

        return response;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.