org.apache.struts.taglib
Class ButtonTag

org.apache.struts.taglib.BaseHandlerTag
  |
  +--org.apache.struts.taglib.ButtonTag

public final class ButtonTag
extends BaseHandlerTag

Renders an HTML BUTTON tag within the Struts framework.

Version:
$Revision: 1.5 $ $Date: 2000/07/17 16:37:45 $
Author:
Don Clasen

Field Summary
private  java.lang.String property
          The property name of the generated button.
private  java.lang.String value
          The value of the button label.
 
Fields inherited from class org.apache.struts.taglib.BaseHandlerTag
accessKey, messages, onBlur, onChange, onClick, onDblClick, onFocus, onKeyDown, onKeyPress, onKeyUp, onMouseDown, onMouseMove, onMouseOut, onMouseOver, onMouseUp, onSelect, style, styleClass, styleId, tabIndex
 
Constructor Summary
ButtonTag()
           
 
Method Summary
 int doEndTag()
          Process the end of this tag.
 int doStartTag()
          Process the start of this tag.
 java.lang.String getProperty()
          Return the property name.
 java.lang.String getValue()
          Return the label value.
 void release()
          Release any acquired resources.
 void setProperty(java.lang.String property)
          Set the property name.
 void setValue(java.lang.String value)
          Set the label value.
 
Methods inherited from class org.apache.struts.taglib.BaseHandlerTag
getAccessKey, getOnBlur, getOnChange, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getOnSelect, getStyle, getStyleClass, getStyleId, getTabIndex, prepareEventHandlers, prepareFocusEvents, prepareKeyEvents, prepareMouseEvents, prepareStyles, prepareTextEvents, setAccessKey, setOnBlur, setOnChange, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnSelect, setStyle, setStyleClass, setStyleId, setTabIndex
 

Field Detail

property

private java.lang.String property
The property name of the generated button.

value

private java.lang.String value
The value of the button label.
Constructor Detail

ButtonTag

public ButtonTag()
Method Detail

getProperty

public java.lang.String getProperty()
Return the property name.

setProperty

public void setProperty(java.lang.String property)
Set the property name.
Parameters:
name - The property name

getValue

public java.lang.String getValue()
Return the label value.

setValue

public void setValue(java.lang.String value)
Set the label value.
Parameters:
value - The label value

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Process the start of this tag.
Throws:
JspException - if a JSP exception has occurred

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Process the end of this tag.
Throws:
JspException - if a JSP exception has occurred

release

public void release()
Release any acquired resources.
Overrides:
release in class BaseHandlerTag


Copyright © 2000-2002 - Apache Software Foundation