All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zkoss.zk.au.out.AuSetAttribute Maven / Gradle / Ivy

There is a newer version: 10.0.0-jakarta
Show newest version
/* AuSetAttribute.java

	Purpose:
		
	Description:
		
	History:
		Thu Oct 13 11:28:05     2005, Created by tomyeh

Copyright (C) 2005 Potix Corporation. All Rights Reserved.

{{IS_RIGHT
	This program is distributed under LGPL Version 2.1 in the hope that
	it will be useful, but WITHOUT ANY WARRANTY.
}}IS_RIGHT
*/
package org.zkoss.zk.au.out;

import org.zkoss.zk.au.AuResponse;
import org.zkoss.zk.ui.Component;

/**
 * A response to set the attribute of the specified component at the client.
 * 

data[0]: the uuid of the component
* data[1]: the attribute name
* data[2]: the attribute value * * @author tomyeh * @since 3.0.0 */ public class AuSetAttribute extends AuResponse { /** Construct an instance for miscellaneous values, such as Boolean, * Integer and so on. * @param val the value. It could be null, String, Date, * {@link org.zkoss.zk.au.DeferredValue}, * and any kind of objects that * the client accepts (marshaled by JSON). * @since 5.0.0 */ public AuSetAttribute(Component comp, String attr, Object val) { super("setAttr", comp, new Object[] { comp, attr, val }); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy