Class FulltextSearchHandler<T extends TextField>
java.lang.Object
ch.tocco.nice2.model.form.spi.reader.handler.AbstractComponentHandler<T>
ch.tocco.nice2.model.form.impl.reader.handlers.AbstractDataComponentHandler<T>
ch.tocco.nice2.model.form.impl.reader.handlers.FulltextSearchHandler<T>
- All Implemented Interfaces:
ValidatorReceivable
Handles reading of the 'fulltext-search' field xml model.
-
Field Summary
FieldsFields inherited from class ch.tocco.nice2.model.form.impl.reader.handlers.AbstractDataComponentHandler
data, validatorHandlerContextFactoryFields inherited from class ch.tocco.nice2.model.form.spi.reader.handler.AbstractComponentHandler
displayType, field, forceEditable, label, name, receiver, scopes, useLabel -
Constructor Summary
ConstructorsConstructorDescriptionFulltextSearchHandler(ComponentReceiver receiver, ValidatorHandlerContextFactory validatorHandlerContextFactory, DefaultValueResolver resolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidWill be called at the or towards the end of afterFinish().protected voidWill be called after running theAbstractComponentHandler.finish()-Method.protected voidWill be called before running theAbstractComponentHandler.finish()-Method this.field won't be available yet.A concrete class which implmentsAbstractComponentHandler(not the handler).Return the Interface which represents this component (not the handler).Methods inherited from class ch.tocco.nice2.model.form.impl.reader.handlers.AbstractDataComponentHandler
addAutoComplete, addDefaultValues, addValidations, addValidator, getDefaultValidators, setConstriction, setData, setDataType, setDefaultLangOnly, setEventHandler, setIgnoreCopy, simpleSearch, startElementMethods inherited from class ch.tocco.nice2.model.form.spi.reader.handler.AbstractComponentHandler
addAttributeProps, addExtProps, createOrGetComponent, disableOldClient, doFinish, finish, forceEditable, label, setDisplayType, setLabel, setName, setPosition, setScopes, setUseLabel
-
Field Details
-
FULLTEXT_SEARCH_FIELD_EXT_PROPS
-
-
Constructor Details
-
FulltextSearchHandler
public FulltextSearchHandler(ComponentReceiver receiver, ValidatorHandlerContextFactory validatorHandlerContextFactory, DefaultValueResolver resolver)
-
-
Method Details
-
afterDataSet
protected void afterDataSet()Description copied from class:AbstractDataComponentHandlerWill be called at the or towards the end of afterFinish().This is abstract so that every implementer is forced to know about its existence.
For an example see
TextAreaHandler.afterDataSet(); it assigns additional, component-specific data read from xml to the component: field.setRowHeight(rowHeight);- Specified by:
afterDataSetin classAbstractDataComponentHandler<T extends TextField>
-
getImplClass
Description copied from class:AbstractComponentHandlerA concrete class which implmentsAbstractComponentHandler(not the handler). Expects a public-constructor which takes the parent Compononent.- Specified by:
getImplClassin classAbstractComponentHandler<T extends TextField>- Returns:
- the class
-
getInterface
Description copied from class:AbstractComponentHandlerReturn the Interface which represents this component (not the handler). This interface is normallyAbstractComponentHandler- Specified by:
getInterfacein classAbstractComponentHandler<T extends TextField>- Returns:
- interface-class
-
beforeFinish
protected void beforeFinish()Description copied from class:AbstractComponentHandlerWill be called before running theAbstractComponentHandler.finish()-Method this.field won't be available yet.- Overrides:
beforeFinishin classAbstractDataComponentHandler<T extends TextField>- See Also:
-
afterFinish
Description copied from class:AbstractComponentHandlerWill be called after running theAbstractComponentHandler.finish()-Method. this.field will be ready to fill.- Overrides:
afterFinishin classAbstractDataComponentHandler<T extends TextField>- Throws:
ModelBuildException- See Also:
-