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 String
getEditXHTMLCode(ContentContext ctx, boolean search)
String
getFormatedValue(ContentContext ctx)
String
getFromName(ContentContext ctx)
int
getMax(ContentContext ctx)
int
getMin(ContentContext ctx)
String
getSearchEditXHTMLCode(ContentContext ctx)
String
getStep(ContentContext ctx)
String
getToName(ContentContext ctx)
String
getType()
boolean
initContent(ContentContext ctx)
boolean
isSearchAsRange()
boolean
search(ContentContext ctx, String query)
boolean
searchAsRange(ContentContext ctx, String query)
boolean
validate()
-
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:
getSearchEditXHTMLCode
in 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:
getEditXHTMLCode
in classField
- Throws:
Exception
-
search
public boolean search(ContentContext ctx, String query)
-
initContent
public boolean initContent(ContentContext ctx) throws Exception
- Overrides:
initContent
in classField
- Throws:
Exception
-
getFormatedValue
public String getFormatedValue(ContentContext ctx)
- Overrides:
getFormatedValue
in classField
-
-