org.mentawai.tag.html.dyntag
Class BaseTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.mentawai.tag.util.PrintTag
              extended by org.mentawai.tag.html.HTMLTag
                  extended by org.mentawai.tag.html.dyntag.Base
                      extended by org.mentawai.tag.html.dyntag.BaseTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
AjaxCompleter, AjaxSelect, ButtonAction, InputText, Label, SelectBox

public abstract class BaseTag
extends Base

See Also:
Serialized Form

Field Summary
static java.lang.String BASE_DIR
          Diretorio onde serao copiados os resources das tags.
 
Fields inherited from class org.mentawai.tag.util.PrintTag
action, application, loc, maxToPrint, req, res, session
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
BaseTag()
           
 
Method Summary
 java.lang.String getDisabled()
           
 java.lang.String getI18nByKey(java.lang.String _keyI18n, boolean _noPrefix)
           
 java.lang.String getId()
           
 java.lang.String getKeyI18n()
           
 java.lang.String getKlass()
           
 java.lang.String getKlassStyle()
           
 java.lang.String getName()
           
 java.lang.String getOnblur()
          Returns the onBlur event handler.
 java.lang.String getOnchange()
          Returns the onChange event handler.
 java.lang.String getOnclick()
          Returns the onClick event handler.
 java.lang.String getOndblclick()
          Returns the onDblClick event handler.
 java.lang.String getOnfocus()
          Returns the onFocus event handler.
 java.lang.String getOnkeydown()
          Returns the onKeyDown event handler.
 java.lang.String getOnkeypress()
          Returns the onKeyPress event handler.
 java.lang.String getOnkeyup()
          Returns the onKeyUp event handler.
 java.lang.String getOnmousedown()
          Returns the onMouseDown event handler.
 java.lang.String getOnmousemove()
          Returns the onMouseMove event handler.
 java.lang.String getOnmouseout()
          Returns the onMouseOut event handler.
 java.lang.String getOnmouseover()
          Returns the onMouseOver event handler.
 java.lang.String getOnmouseup()
          Returns the onMouseUp event handler.
 java.lang.String getOnselect()
          Returns the onSelect event handler.
 java.lang.String getStringToPrint()
          Override this method to return what you want to print in the screen.
protected  java.lang.String getTagClose()
          Method to close compoenent
 java.lang.String getTextAlign()
           
 java.lang.String getTitle()
           
 java.lang.String getValue()
           
 boolean isNoPrefix()
           
protected  boolean isXhtml()
           
protected  void prepareFocusEvents(java.lang.StringBuffer handlers)
           
protected  void prepareKeyEvents(java.lang.StringBuffer handlers)
           
protected  void prepareMouseEvents(java.lang.StringBuffer handlers)
           
protected  void prepareTextEvents(java.lang.StringBuffer handlers)
           
 void setDisabled(java.lang.String disabled)
           
 void setId(java.lang.String id)
           
 void setKeyI18n(java.lang.String keyI18n)
           
 void setKlass(java.lang.String klass)
           
 void setKlassStyle(java.lang.String klassStyle)
           
 void setName(java.lang.String name)
           
 void setNoPrefix(boolean noPrefix)
           
 void setOnblur(java.lang.String onBlur)
          Sets the onBlur event handler.
 void setOnchange(java.lang.String onChange)
          Sets the onChange event handler.
 void setOnclick(java.lang.String onClick)
          Sets the onClick event handler.
 void setOndblclick(java.lang.String onDblClick)
          Sets the onDblClick event handler.
 void setOnfocus(java.lang.String onFocus)
          Sets the onFocus event handler.
 void setOnkeydown(java.lang.String onKeyDown)
          Sets the onKeyDown event handler.
 void setOnkeypress(java.lang.String onKeyPress)
          Sets the onKeyPress event handler.
 void setOnkeyup(java.lang.String onKeyUp)
          Sets the onKeyUp event handler.
 void setOnmousedown(java.lang.String onMouseDown)
          Sets the onMouseDown event handler.
 void setOnmousemove(java.lang.String onMouseMove)
          Sets the onMouseMove event handler.
 void setOnmouseout(java.lang.String onMouseOut)
          Sets the onMouseOut event handler.
 void setOnmouseover(java.lang.String onMouseOver)
          Sets the onMouseOver event handler.
 void setOnmouseup(java.lang.String onMouseUp)
          Sets the onMouseUp event handler.
 void setOnselect(java.lang.String onSelect)
          Sets the onSelect event handler.
 void setTextAlign(java.lang.String textAlign)
           
 void setTitle(java.lang.String title)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class org.mentawai.tag.html.dyntag.Base
prepareAttribute
 
Methods inherited from class org.mentawai.tag.html.HTMLTag
contains, contains, findObject, findObject, findValue, findValues, getExtraAttributes, setExtra, setSeparator
 
Methods inherited from class org.mentawai.tag.util.PrintTag
doEndTag, doStartTag, getBooleanValue, getValue, getValue, getValue, setMax
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

BASE_DIR

public static java.lang.String BASE_DIR
Diretorio onde serao copiados os resources das tags.

Constructor Detail

BaseTag

public BaseTag()
Method Detail

getDisabled

public java.lang.String getDisabled()

setDisabled

public void setDisabled(java.lang.String disabled)

getId

public java.lang.String getId()
Overrides:
getId in class javax.servlet.jsp.tagext.TagSupport

setId

public void setId(java.lang.String id)
Overrides:
setId in class javax.servlet.jsp.tagext.TagSupport

getKlass

public java.lang.String getKlass()

setKlass

public void setKlass(java.lang.String klass)

getKlassStyle

public java.lang.String getKlassStyle()

setKlassStyle

public void setKlassStyle(java.lang.String klassStyle)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String title)

getStringToPrint

public java.lang.String getStringToPrint()
                                  throws javax.servlet.jsp.JspException
Description copied from class: PrintTag
Override this method to return what you want to print in the screen.

Overrides:
getStringToPrint in class Base
Returns:
The string to print.
Throws:
javax.servlet.jsp.JspException

setOnclick

public void setOnclick(java.lang.String onClick)
Sets the onClick event handler.


getOnclick

public java.lang.String getOnclick()
Returns the onClick event handler.


setOndblclick

public void setOndblclick(java.lang.String onDblClick)
Sets the onDblClick event handler.


getOndblclick

public java.lang.String getOndblclick()
Returns the onDblClick event handler.


setOnmousedown

public void setOnmousedown(java.lang.String onMouseDown)
Sets the onMouseDown event handler.


getOnmousedown

public java.lang.String getOnmousedown()
Returns the onMouseDown event handler.


setOnmouseup

public void setOnmouseup(java.lang.String onMouseUp)
Sets the onMouseUp event handler.


getOnmouseup

public java.lang.String getOnmouseup()
Returns the onMouseUp event handler.


setOnmousemove

public void setOnmousemove(java.lang.String onMouseMove)
Sets the onMouseMove event handler.


getOnmousemove

public java.lang.String getOnmousemove()
Returns the onMouseMove event handler.


setOnmouseover

public void setOnmouseover(java.lang.String onMouseOver)
Sets the onMouseOver event handler.


getOnmouseover

public java.lang.String getOnmouseover()
Returns the onMouseOver event handler.


setOnmouseout

public void setOnmouseout(java.lang.String onMouseOut)
Sets the onMouseOut event handler.


getOnmouseout

public java.lang.String getOnmouseout()
Returns the onMouseOut event handler.


setOnkeydown

public void setOnkeydown(java.lang.String onKeyDown)
Sets the onKeyDown event handler.


getOnkeydown

public java.lang.String getOnkeydown()
Returns the onKeyDown event handler.


setOnkeyup

public void setOnkeyup(java.lang.String onKeyUp)
Sets the onKeyUp event handler.


getOnkeyup

public java.lang.String getOnkeyup()
Returns the onKeyUp event handler.


setOnkeypress

public void setOnkeypress(java.lang.String onKeyPress)
Sets the onKeyPress event handler.


getOnkeypress

public java.lang.String getOnkeypress()
Returns the onKeyPress event handler.


setOnchange

public void setOnchange(java.lang.String onChange)
Sets the onChange event handler.


getOnchange

public java.lang.String getOnchange()
Returns the onChange event handler.


setOnselect

public void setOnselect(java.lang.String onSelect)
Sets the onSelect event handler.


getOnselect

public java.lang.String getOnselect()
Returns the onSelect event handler.


setOnblur

public void setOnblur(java.lang.String onBlur)
Sets the onBlur event handler.


getOnblur

public java.lang.String getOnblur()
Returns the onBlur event handler.


setOnfocus

public void setOnfocus(java.lang.String onFocus)
Sets the onFocus event handler.


getOnfocus

public java.lang.String getOnfocus()
Returns the onFocus event handler.


prepareMouseEvents

protected void prepareMouseEvents(java.lang.StringBuffer handlers)

prepareKeyEvents

protected void prepareKeyEvents(java.lang.StringBuffer handlers)

prepareTextEvents

protected void prepareTextEvents(java.lang.StringBuffer handlers)

prepareFocusEvents

protected void prepareFocusEvents(java.lang.StringBuffer handlers)

isXhtml

protected boolean isXhtml()

getTagClose

protected java.lang.String getTagClose()
Method to close compoenent


getI18nByKey

public java.lang.String getI18nByKey(java.lang.String _keyI18n,
                                     boolean _noPrefix)
                              throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

getKeyI18n

public java.lang.String getKeyI18n()
Returns:
Returns the keyI18n.
Throws:
javax.servlet.jsp.JspException

setKeyI18n

public void setKeyI18n(java.lang.String keyI18n)
Parameters:
keyI18n - The keyI18n to set.

isNoPrefix

public boolean isNoPrefix()
Returns:
Returns the noPrefix.

setNoPrefix

public void setNoPrefix(boolean noPrefix)
Parameters:
noPrefix - The noPrefix to set.

getTextAlign

public java.lang.String getTextAlign()

setTextAlign

public void setTextAlign(java.lang.String textAlign)

getValue

public java.lang.String getValue()
Returns:
Returns the value.

setValue

public void setValue(java.lang.String value)
Parameters:
value - The value to set.


Copyright © 2005 Mentawai Team. All Rights Reserved.