Package org.javlo.fields
Class FieldDate
- java.lang.Object
-
- org.javlo.fields.Field
-
- org.javlo.fields.FieldDate
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classFieldDate.FieldDateBean-
Nested classes/interfaces inherited from class org.javlo.fields.Field
Field.FieldBean
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringMONTH_SEARCH_TYPE-
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 FieldDate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Field o)Field.FieldBeangetBean(ContentContext ctx)protected DategetDate()DategetDate(ContentContext ctx)StringgetSearchEditXHTMLCode(ContentContext ctx)StringgetSpecialClass()StringgetType()StringgetViewXHTMLCode(ContentContext ctx)booleaninitContent(ContentContext ctx)booleanisValidDate(ContentContext ctx)protected Field.FieldBeannewFieldBean(ContentContext ctx)booleansearch(ContentContext ctx, String query)booleanvalidate()-
Methods inherited from class org.javlo.fields.Field
createKey, defaultLabelDisplayed, fillRequest, getCloseRow, getContentAsMap, getCssClass, getCSSClass, getCurrentLocale, getDefaultLanguages, getDefaultPrefix, getDefaultSuffix, getDisplayValue, getEditLabelCode, getEditXHTMLCode, getEditXHTMLCode, getFieldPrefix, getFieldSuffix, getForceModifFieldName, getFormatedValue, 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, getStaticConfig, getTag, getTranslation, getUnicName, getUnity, getUnity, getUserLabel, getUserLabel, getValue, getValue, getValues, getValues, getViewListXHTMLCode, getWidthEdit, getXHTMLValue, isContentCachable, isDiplayedInList, isFirst, isI18n, isLabelDisplayed, isLabelEditable, isLast, isNeeded, isNeedRefresh, isPertinent, isReadOnly, isRealContent, isSearch, isTitle, isValid, isValueTranslatable, isViewDisplayed, isWrapped, main, 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
-
-
-
-
Field Detail
-
MONTH_SEARCH_TYPE
protected static final String MONTH_SEARCH_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
newFieldBean
protected Field.FieldBean newFieldBean(ContentContext ctx)
- Overrides:
newFieldBeanin classField
-
getDate
public Date getDate(ContentContext ctx)
-
isValidDate
public boolean isValidDate(ContentContext ctx)
- Specified by:
isValidDatein interfaceIDate
-
getDate
protected Date getDate()
-
getSearchEditXHTMLCode
public String getSearchEditXHTMLCode(ContentContext ctx) throws Exception
- Overrides:
getSearchEditXHTMLCodein classField- Throws:
Exception
-
getViewXHTMLCode
public String getViewXHTMLCode(ContentContext ctx)
- Overrides:
getViewXHTMLCodein classField
-
initContent
public boolean initContent(ContentContext ctx) throws Exception
- Overrides:
initContentin classField- Throws:
Exception
-
getSpecialClass
public String getSpecialClass()
- Overrides:
getSpecialClassin classField
-
search
public boolean search(ContentContext ctx, String query)
-
compareTo
public int compareTo(Field o)
- Specified by:
compareToin interfaceComparable<Field>- Overrides:
compareToin classField
-
getBean
public Field.FieldBean getBean(ContentContext ctx)
-
-