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 class
FieldDate.FieldDateBean
-
Nested classes/interfaces inherited from class org.javlo.fields.Field
Field.FieldBean
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
MONTH_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 int
compareTo(Field o)
Field.FieldBean
getBean(ContentContext ctx)
protected Date
getDate()
Date
getDate(ContentContext ctx)
String
getSearchEditXHTMLCode(ContentContext ctx)
String
getSpecialClass()
String
getType()
String
getViewXHTMLCode(ContentContext ctx)
boolean
initContent(ContentContext ctx)
boolean
isValidDate(ContentContext ctx)
protected Field.FieldBean
newFieldBean(ContentContext ctx)
boolean
search(ContentContext ctx, String query)
boolean
validate()
-
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:
newFieldBean
in classField
-
getDate
public Date getDate(ContentContext ctx)
-
isValidDate
public boolean isValidDate(ContentContext ctx)
- Specified by:
isValidDate
in interfaceIDate
-
getDate
protected Date getDate()
-
getSearchEditXHTMLCode
public String getSearchEditXHTMLCode(ContentContext ctx) throws Exception
- Overrides:
getSearchEditXHTMLCode
in classField
- Throws:
Exception
-
getViewXHTMLCode
public String getViewXHTMLCode(ContentContext ctx)
- Overrides:
getViewXHTMLCode
in classField
-
initContent
public boolean initContent(ContentContext ctx) throws Exception
- Overrides:
initContent
in classField
- Throws:
Exception
-
getSpecialClass
public String getSpecialClass()
- Overrides:
getSpecialClass
in classField
-
search
public boolean search(ContentContext ctx, String query)
-
compareTo
public int compareTo(Field o)
- Specified by:
compareTo
in interfaceComparable<Field>
- Overrides:
compareTo
in classField
-
getBean
public Field.FieldBean getBean(ContentContext ctx)
-
-