This is not a standard struts class. Shouldn't you email the author directly? -Tim
-----Original Message----- From: sjones [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 11:36 AM To: [EMAIL PROTECTED] Subject: Re: Html Buttons and Struts this class /** * Copyright 2001-2003 Antonio W. Lagnada. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. The name "Antonio W. Lagnada" must not be used to endorse or * promote products derived from this software without prior * written permission. For written permission, * please contact [EMAIL PROTECTED] * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL ANTONIO W. LAGNADA OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * */ package com.lagnada.j2ee.struts.htmlbutton; import java.io.Serializable; /** * HtmlButton */ public class HtmlButton implements Serializable { private String m_name = null; private Integer m_x = null; private Integer m_y = null; /** * Default Constructor */ public HtmlButton() { } /** * Button Pressed * @return boolean */ public boolean pressed() { return !(m_name == null || m_name.trim().length() <= 0) || (m_x != null || m_y != null); } /** * @return String */ public String getName() { return m_name; } /** * @return Integer */ public Integer getX() { return m_x; } /** * @return Integer */ public Integer getY() { return m_y; } /** * Sets the name. * @param name The name to set */ public void setName(String name) { m_name = name; } /** * Sets the x. * @param x The x to set */ public void setX(Integer x) { m_x = x; } /** * Sets the y. * @param y The y to set */ public void setY(Integer y) { m_y = y; } } "sjones" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > has any body used this class, can you please > > give you please explain it more in depth than the author. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

