Class AbstractComponentHandler<T extends LabeledComponent>
java.lang.Object
ch.tocco.nice2.model.form.spi.reader.handler.AbstractComponentHandler<T>
- Direct Known Subclasses:
AbstractBoxHandler,AbstractDataComponentHandler,ActionComponentHandler,ActionSeparatorComponentHandler,ColumnHandler,ContainerHandler,DescriptionFieldHandler,LocationFieldHandler,PositionSearchHandler,SearchFilterHandler
@Deprecated
public abstract class AbstractComponentHandler<T extends LabeledComponent>
extends Object
Deprecated.
Base class for reading component xml.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Component.DisplayTypeDeprecated.protected TDeprecated.protected booleanDeprecated.protected DisplayValueDeprecated.protected StringDeprecated.protected final ComponentReceiverDeprecated.Deprecated.protected LabeledComponent.UseLabelDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.final PropertyTagHandlerDeprecated.protected voidDeprecated.Will be called after running thefinish()-Method.protected voidDeprecated.Will be called before running thefinish()-Method this.field won't be available yet.protected TDeprecated.Returns the instance of the component for which this model is, and adds it to the receiver if not done yet.final voiddisableOldClient(boolean disableOldClient) Deprecated.protected voiddoFinish()Deprecated.Assembles the component together.final voidfinish()Deprecated.final voidforceEditable(boolean forceEditable) Deprecated.Deprecated.A concrete class which implmentsAbstractComponentHandler(not the handler).Deprecated.Return the Interface which represents this component (not the handler).label()Deprecated.final voidsetDisplayType(Component.DisplayType displayType) Deprecated.final voidDeprecated.final voidDeprecated.final voidsetPosition(String position) Deprecated.final voidDeprecated.final voidsetUseLabel(String useLabel) Deprecated.voidstartElement(String elementName, URI resourceName) Deprecated.
-
Field Details
-
field
Deprecated. -
receiver
Deprecated. -
name
Deprecated. -
label
Deprecated. -
useLabel
Deprecated. -
displayType
Deprecated. -
forceEditable
protected boolean forceEditableDeprecated. -
scopes
Deprecated.
-
-
Constructor Details
-
AbstractComponentHandler
Deprecated.
-
-
Method Details
-
startElement
@StartElement public void startElement(@ElementName String elementName, @ResourceName URI resourceName) Deprecated. -
setName
Deprecated. -
setDisplayType
Deprecated. -
forceEditable
Deprecated. -
setLabel
Deprecated.- Throws:
ModelBuildException
-
setUseLabel
Deprecated.- Throws:
ModelBuildException
-
setPosition
Deprecated.- Throws:
ModelBuildException
-
label
Deprecated. -
addExtProps
@Element("ext-props") @Cardinality(min=0, max=1) public final PropertyTagHandler addExtProps() throws ModelBuildExceptionDeprecated.- Throws:
ModelBuildException
-
addAttributeProps
@Element("attribute-props") @Cardinality(min=0, max=1) public PropertyTagHandler addAttributeProps() throws ModelBuildExceptionDeprecated.- Throws:
ModelBuildException
-
setScopes
Deprecated.- Throws:
ModelBuildException
-
disableOldClient
Deprecated. -
finish
Deprecated.- Throws:
ModelBuildException
-
doFinish
Deprecated.Assembles the component together.- Throws:
ModelBuildException- =(
-
createOrGetComponent
Deprecated.Returns the instance of the component for which this model is, and adds it to the receiver if not done yet.- Throws:
ModelBuildException
-
getImplClass
Deprecated.A concrete class which implmentsAbstractComponentHandler(not the handler). Expects a public-constructor which takes the parent Compononent.- Returns:
- the class
-
getInterface
Deprecated.Return the Interface which represents this component (not the handler). This interface is normallyAbstractComponentHandler- Returns:
- interface-class
-
beforeFinish
protected void beforeFinish()Deprecated.Will be called before running thefinish()-Method this.field won't be available yet.- See Also:
-
afterFinish
Deprecated.Will be called after running thefinish()-Method. this.field will be ready to fill.- Throws:
ModelBuildException- See Also:
-