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:
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 String BASE_DIR
          Diretorio onde serao copiados os resources das tags.
 
Fields inherited from class org.mentawai.tag.html.HTMLTag
cript
 
Fields inherited from class org.mentawai.tag.util.PrintTag
action, application, loc, maxToPrint, noHTML, 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
 String getDisabled()
           
 String getI18nByKey(String _keyI18n, boolean _noPrefix)
           
 String getId()
           
 String getKeyI18n()
           
 String getKlass()
           
 String getKlassStyle()
           
 String getName()
           
 String getOnblur()
          Returns the onBlur event handler.
 String getOnchange()
          Returns the onChange event handler.
 String getOnclick()
          Returns the onClick event handler.
 String getOndblclick()
          Returns the onDblClick event handler.
 String getOnfocus()
          Returns the onFocus event handler.
 String getOnkeydown()
          Returns the onKeyDown event handler.
 String getOnkeypress()
          Returns the onKeyPress event handler.
 String getOnkeyup()
          Returns the onKeyUp event handler.
 String getOnmousedown()
          Returns the onMouseDown event handler.
 String getOnmousemove()
          Returns the onMouseMove event handler.
 String getOnmouseout()
          Returns the onMouseOut event handler.
 String getOnmouseover()
          Returns the onMouseOver event handler.
 String getOnmouseup()
          Returns the onMouseUp event handler.
 String getOnselect()
          Returns the onSelect event handler.
 String getStringToPrint()
          Override this method to return what you want to print in the screen.
protected  String getTagClose()
          Method to close compoenent
 String getTextAlign()
           
 String getTitle()
           
 String getValue()
           
 boolean isNoPrefix()
           
protected  boolean isXhtml()
           
protected  void prepareFocusEvents(StringBuffer handlers)
           
protected  void prepareKeyEvents(StringBuffer handlers)
           
protected  void prepareMouseEvents(StringBuffer handlers)
           
protected  void prepareTextEvents(StringBuffer handlers)
           
 void setDisabled(String disabled)
           
 void setId(String id)
           
 void setKeyI18n(String keyI18n)
           
 void setKlass(String klass)
           
 void setKlassStyle(String klassStyle)
           
 void setName(String name)
           
 void setNoPrefix(boolean noPrefix)
           
 void setOnblur(String onBlur)
          Sets the onBlur event handler.
 void setOnchange(String onChange)
          Sets the onChange event handler.
 void setOnclick(String onClick)
          Sets the onClick event handler.
 void setOndblclick(String onDblClick)
          Sets the onDblClick event handler.
 void setOnfocus(String onFocus)
          Sets the onFocus event handler.
 void setOnkeydown(String onKeyDown)
          Sets the onKeyDown event handler.
 void setOnkeypress(String onKeyPress)
          Sets the onKeyPress event handler.
 void setOnkeyup(String onKeyUp)
          Sets the onKeyUp event handler.
 void setOnmousedown(String onMouseDown)
          Sets the onMouseDown event handler.
 void setOnmousemove(String onMouseMove)
          Sets the onMouseMove event handler.
 void setOnmouseout(String onMouseOut)
          Sets the onMouseOut event handler.
 void setOnmouseover(String onMouseOver)
          Sets the onMouseOver event handler.
 void setOnmouseup(String onMouseUp)
          Sets the onMouseUp event handler.
 void setOnselect(String onSelect)
          Sets the onSelect event handler.
 void setTextAlign(String textAlign)
           
 void setTitle(String title)
           
 void setValue(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, findValue, findValues, findValues, getExtraAttributes, processCriptedName, processCriptValue, setCript, setExtra, setSeparator
 
Methods inherited from class org.mentawai.tag.util.PrintTag
doEndTag, doStartTag, getBody, getBooleanValue, getSessionObj, getValue, getValue, getValue, getValue, getValue, setMax, setNoHTML
 
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, 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 String BASE_DIR
Diretorio onde serao copiados os resources das tags.

Constructor Detail

BaseTag

public BaseTag()
Method Detail

getDisabled

public String getDisabled()

setDisabled

public void setDisabled(String disabled)

getId

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

setId

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

getKlass

public String getKlass()

setKlass

public void setKlass(String klass)

getKlassStyle

public String getKlassStyle()

setKlassStyle

public void setKlassStyle(String klassStyle)

getName

public String getName()

setName

public void setName(String name)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getStringToPrint

public 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(String onClick)
Sets the onClick event handler.


getOnclick

public String getOnclick()
Returns the onClick event handler.


setOndblclick

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


getOndblclick

public String getOndblclick()
Returns the onDblClick event handler.


setOnmousedown

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


getOnmousedown

public String getOnmousedown()
Returns the onMouseDown event handler.


setOnmouseup

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


getOnmouseup

public String getOnmouseup()
Returns the onMouseUp event handler.


setOnmousemove

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


getOnmousemove

public String getOnmousemove()
Returns the onMouseMove event handler.


setOnmouseover

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


getOnmouseover

public String getOnmouseover()
Returns the onMouseOver event handler.


setOnmouseout

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


getOnmouseout

public String getOnmouseout()
Returns the onMouseOut event handler.


setOnkeydown

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


getOnkeydown

public String getOnkeydown()
Returns the onKeyDown event handler.


setOnkeyup

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


getOnkeyup

public String getOnkeyup()
Returns the onKeyUp event handler.


setOnkeypress

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


getOnkeypress

public String getOnkeypress()
Returns the onKeyPress event handler.


setOnchange

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


getOnchange

public String getOnchange()
Returns the onChange event handler.


setOnselect

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


getOnselect

public String getOnselect()
Returns the onSelect event handler.


setOnblur

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


getOnblur

public String getOnblur()
Returns the onBlur event handler.


setOnfocus

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


getOnfocus

public String getOnfocus()
Returns the onFocus event handler.


prepareMouseEvents

protected void prepareMouseEvents(StringBuffer handlers)

prepareKeyEvents

protected void prepareKeyEvents(StringBuffer handlers)

prepareTextEvents

protected void prepareTextEvents(StringBuffer handlers)

prepareFocusEvents

protected void prepareFocusEvents(StringBuffer handlers)

isXhtml

protected boolean isXhtml()

getTagClose

protected String getTagClose()
Method to close compoenent


getI18nByKey

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

getKeyI18n

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

setKeyI18n

public void setKeyI18n(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 String getTextAlign()

setTextAlign

public void setTextAlign(String textAlign)

getValue

public String getValue()
Returns:
Returns the value.

setValue

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


Copyright © 2013. All Rights Reserved.