Package org.javlo.fields
Class FieldNumber
- java.lang.Object
-
- org.javlo.fields.Field
-
- org.javlo.fields.FieldNumber
-
- All Implemented Interfaces:
Cloneable,Comparable<Field>,IRestItem
public class FieldNumber extends Field
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.javlo.fields.Field
Field.FieldBean
-
-
Field Summary
-
Fields inherited from class org.javlo.fields.Field
comp, DEFAULT_SEARCH_TYPE, globalContext, i18nAccess, LABEL_CSS, MESSAGE_ERROR, MESSAGE_INFO, properties, SMALL_PART_SIZE, SMALL_VALUE_SIZE, staticConfig, VALUE_SIZE
-
-
Constructor Summary
Constructors Constructor Description FieldNumber()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEditXHTMLCode(ContentContext ctx, boolean search)StringgetFormatedValue(ContentContext ctx)StringgetFromName(ContentContext ctx)intgetMax(ContentContext ctx)intgetMin(ContentContext ctx)StringgetSearchEditXHTMLCode(ContentContext ctx)StringgetStep(ContentContext ctx)StringgetToName(ContentContext ctx)StringgetType()booleaninitContent(ContentContext ctx)booleanisSearchAsRange()booleansearch(ContentContext ctx, String query)booleansearchAsRange(ContentContext ctx, String query)booleanvalidate()-
Methods inherited from class org.javlo.fields.Field
compareTo, createKey, defaultLabelDisplayed, fillRequest, getBean, getCloseRow, getContentAsMap, getCssClass, getCSSClass, getCurrentLocale, getDefaultLanguages, getDefaultPrefix, getDefaultSuffix, getDisplayValue, getEditLabelCode, getEditXHTMLCode, getFieldPrefix, getFieldSuffix, getForceModifFieldName, getGlobalContext, getHtml, getI18nAccess, getId, getInitValue, getInputLabelName, getInputName, getLabel, getLabel, getList, getMaxSize, getMessage, getMessageType, getMessageTypeCSSClass, getMetaData, getMetaData, getMinSize, getName, getOpenRow, getOrder, getPageDescription, getPlaceholder, getPropertyValue, getReference, getReferenceComponent, getReferenceFieldView, getReferenceFormatedValue, getReferenceValue, getRemplacementCode, getSearchLabel, getSearchType, getSize, getSpecialClass, getStaticConfig, getTag, getTranslation, getUnicName, getUnity, getUnity, getUserLabel, getUserLabel, getValue, getValue, getValues, getValues, getViewListXHTMLCode, getViewXHTMLCode, getWidthEdit, getXHTMLValue, isContentCachable, isDiplayedInList, isFirst, isI18n, isLabelDisplayed, isLabelEditable, isLast, isNeeded, isNeedRefresh, isPertinent, isReadOnly, isRealContent, isSearch, isTitle, isValid, isValueTranslatable, isViewDisplayed, isWrapped, main, newFieldBean, newInstance, process, referenceEditCode, referenceViewCode, reload, renderSelect, setCurrentLocale, setFirst, setGlobalContext, setI18nAccess, setId, setLabel, setLabelValue, setLast, setMessage, setMessageType, setName, setNeedRefresh, setPlaceholder, setProperties, setReadOnly, setStaticConfig, setValue, setValue, setValues, toString, transflateFrom
-
-
-
-
Method Detail
-
getMin
public int getMin(ContentContext ctx)
-
getMax
public int getMax(ContentContext ctx)
-
getFromName
public String getFromName(ContentContext ctx) throws Exception
- Throws:
Exception
-
getToName
public String getToName(ContentContext ctx) throws Exception
- Throws:
Exception
-
isSearchAsRange
public boolean isSearchAsRange()
-
getSearchEditXHTMLCode
public String getSearchEditXHTMLCode(ContentContext ctx) throws Exception
- Overrides:
getSearchEditXHTMLCodein classField- Throws:
Exception
-
searchAsRange
public boolean searchAsRange(ContentContext ctx, String query)
-
getStep
public String getStep(ContentContext ctx)
-
getEditXHTMLCode
public String getEditXHTMLCode(ContentContext ctx, boolean search) throws Exception
- Overrides:
getEditXHTMLCodein classField- Throws:
Exception
-
search
public boolean search(ContentContext ctx, String query)
-
initContent
public boolean initContent(ContentContext ctx) throws Exception
- Overrides:
initContentin classField- Throws:
Exception
-
getFormatedValue
public String getFormatedValue(ContentContext ctx)
- Overrides:
getFormatedValuein classField
-
-