Code example for Dialog

Methods: cancel

0
         * @param name 
         * @param color 
         * @param timeon 
         * @param timeoff 
         */ 
        public Package(String name, Integer color, Integer timeon, Integer timeoff) {
            this.name = name;
            this.color = color;
            this.timeon = timeon;
            this.timeoff = timeoff;
        } 
 
        public String toString() {
            StringBuilder builder = new StringBuilder();
            builder.append(name);
            builder.append("=");
            builder.append(color);
            builder.append(";");
            builder.append(timeon);
            builder.append(";");
Contextual code suggestions in your IDE  Get Codota for Java