Package datasoul.datashow

Examples of datasoul.datashow.Alert


                // Consistence check
                if (text.trim().length() == 0 ||
                        (showonmain == null && showonmonitor == null)){
                    output = this.getForm("Invalid Parameters");
                }else{
                    Alert obj = new Alert();
                    obj.setText(text);
                    obj.setTime(duration*1000);
                    obj.setShowOnMain(showonmain != null);
                    obj.setShowOnMonitor(showonmonitor != null);
                    obj.setMainTemplate(maintemplate);
                    obj.setMonitorTemplate(monitortemplate);
                    Alert.enqueue(obj);
                   
                    output = this.getForm("Alert sent");
                }
               
View Full Code Here

TOP

Related Classes of datasoul.datashow.Alert

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.