public class InputMoney extends InputText
action, application, loc, maxToPrint, noHTML, req, res, session| Constructor and Description |
|---|
InputMoney() |
| Modifier and Type | Method and Description |
|---|---|
StringBuffer |
buildTag()
Method to build tag
|
Float |
convert(Object numero) |
protected String |
customizeMask(int decimals,
String thousands,
String decimal,
Object number) |
protected String |
formatNumber(Object object,
int decimals,
String decimal) |
String |
getDec_point() |
int |
getDecimals() |
String |
getStringToPrint()
Override this method to return what you want to print in the screen.
|
String |
getThousands_sep() |
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
|
protected String |
makeZeros(int dec) |
protected void |
prepareValue(StringBuffer results)
Method to prepare value component
|
void |
setDec_point(String dec_point) |
void |
setDecimals(int decimals) |
void |
setThousands_sep(String thousands_sep) |
getExtraAttributes, getMaxlength, getReadonly, getSize, isReadOnly, prepareEventHandlers, setExtra, setMaxlength, setReadonly, setSeparator, setSizegetDisabled, getI18nByKey, getId, getKeyI18n, getKlass, getKlassStyle, getName, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getTagClose, getTextAlign, getTitle, getValue, isDisabled, 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, setValueprepareAttributecontains, contains, findObject, findObject, findValue, findValue, findValues, findValues, processCriptedName, processCriptValue, setCriptdoEndTag, doStartTag, getBody, getBooleanValue, getSessionObj, getValue, getValue, getValue, getValue, getValue, setMax, setNoHTMLdoAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getParent, getValues, removeValue, setPageContext, setParent, setValuepublic boolean isInPlaceTagIntegration()
isInPlaceTagIntegration in class InputTextpublic StringBuffer buildTag()
protected void prepareValue(StringBuffer results)
InputTextprepareValue in class InputTextprotected String makeZeros(int dec)
protected String customizeMask(int decimals, String thousands, String decimal, Object number)
public String getStringToPrint() throws javax.servlet.jsp.JspException
PrintTaggetStringToPrint in class InputTextjavax.servlet.jsp.JspExceptionpublic String getDec_point()
public void setDec_point(String dec_point)
dec_point - The dec_point to set.public int getDecimals()
public void setDecimals(int decimals)
decimals - The decimals to set.public String getThousands_sep()
public void setThousands_sep(String thousands_sep)
thousands_sep - The thousands_sep to set.Copyright © 2015. All Rights Reserved.