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
Modifier and TypeFieldDescriptionprotected Component.DisplayType
Deprecated.protected T
Deprecated.protected boolean
Deprecated.protected DisplayValue
Deprecated.protected String
Deprecated.protected final ComponentReceiver
Deprecated.Deprecated.protected LabeledComponent.UseLabel
Deprecated. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.final PropertyTagHandler
Deprecated.protected void
Deprecated.Will be called after running thefinish()
-Method.protected void
Deprecated.Will be called before running thefinish()
-Method this.field won't be available yet.protected T
Deprecated.Returns the instance of the component for which this model is, and adds it to the receiver if not done yet.final void
disableOldClient
(boolean disableOldClient) Deprecated.protected void
doFinish()
Deprecated.Assembles the component together.final void
finish()
Deprecated.final void
forceEditable
(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 void
setDisplayType
(Component.DisplayType displayType) Deprecated.final void
Deprecated.final void
Deprecated.final void
setPosition
(String position) Deprecated.final void
Deprecated.final void
setUseLabel
(String useLabel) Deprecated.void
startElement
(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:
-