org.mentawai.tag.html.dyntag.inputMoney
Class InputMoney
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.mentawai.tag.util.PrintTag
org.mentawai.tag.html.HTMLTag
org.mentawai.tag.html.dyntag.Base
org.mentawai.tag.html.dyntag.BaseTag
org.mentawai.tag.html.dyntag.inputText.InputText
org.mentawai.tag.html.dyntag.inputMoney.InputMoney
- All Implemented Interfaces:
- Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class InputMoney
- extends InputText
- See Also:
- Serialized Form
Fields inherited from class org.mentawai.tag.html.HTMLTag |
cript |
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 |
Methods inherited from class org.mentawai.tag.html.dyntag.BaseTag |
getDisabled, getI18nByKey, getId, getKeyI18n, getKlass, getKlassStyle, getName, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getTagClose, getTextAlign, getTitle, getValue, isNoPrefix, isXhtml, prepareFocusEvents, prepareKeyEvents, prepareMouseEvents, prepareTextEvents, setDisabled, setId, setKeyI18n, setKlass, setKlassStyle, setName, setNoPrefix, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setTextAlign, setTitle, setValue |
Methods inherited from class org.mentawai.tag.html.HTMLTag |
contains, contains, findObject, findObject, findValue, findValue, findValues, findValues, processCriptedName, processCriptValue, setCript |
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 |
InputMoney
public InputMoney()
isInPlaceTagIntegration
public boolean isInPlaceTagIntegration()
- Este metodo verifica se esta tag esta dentro da tag inplace
caso esteja, retorna true e nao printa a tag, e apenas passa
os parametros para a tag inplace
- Overrides:
isInPlaceTagIntegration
in class InputText
- Returns:
- boolean true if inner InPlaceTag
buildTag
public StringBuffer buildTag()
- Method to build tag
- Overrides:
buildTag
in class InputText
prepareValue
protected void prepareValue(StringBuffer results)
- Description copied from class:
InputText
- Method to prepare value component
- Overrides:
prepareValue
in class InputText
makeZeros
protected String makeZeros(int dec)
formatNumber
protected String formatNumber(Object object,
int decimals,
String decimal)
customizeMask
protected String customizeMask(int decimals,
String thousands,
String decimal,
Object number)
convert
public Float convert(Object numero)
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 InputText
- Returns:
- The string to print.
- Throws:
javax.servlet.jsp.JspException
getDec_point
public String getDec_point()
- Returns:
- Returns the dec_point.
setDec_point
public void setDec_point(String dec_point)
- Parameters:
dec_point
- The dec_point to set.
getDecimals
public int getDecimals()
- Returns:
- Returns the decimals.
setDecimals
public void setDecimals(int decimals)
- Parameters:
decimals
- The decimals to set.
getThousands_sep
public String getThousands_sep()
- Returns:
- Returns the thousands_sep.
setThousands_sep
public void setThousands_sep(String thousands_sep)
- Parameters:
thousands_sep
- The thousands_sep to set.
Copyright © 2013. All Rights Reserved.