/* AuRemove.java Purpose: Description: History: Thu Oct 13 11:23:40 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; import org.zkoss.zk.ui.Page; /** * A response to remove the specified component at the client. * <p>data[0]: the uuid of the component being removed * * @author tomyeh * @since 3.0.0 */ public class AuRemove extends AuResponse { /** @deprecated As of release 6.0.0, replaced with {@link #AuRemove(String)}. */ public AuRemove(Component comp) { this(comp.getUuid()); } public AuRemove(Page page) { this(page.getUuid()); } /** Removes a component by its UUID. * This constructor is used only if a component's UUID is changed. */ public AuRemove(String uuid) { super("rm", uuid); } }