Class ColumnHandler
java.lang.Object
ch.tocco.nice2.model.form.spi.reader.handler.AbstractComponentHandler<Column>
ch.tocco.nice2.model.form.impl.reader.handlers.ColumnHandler
XML handler for the 'column' tag.
Note that specifying a column tag in the xml file is not always necessary, it may be inserted automatically based on logic.
-
Nested Class Summary
-
Field Summary
Fields inherited from class ch.tocco.nice2.model.form.spi.reader.handler.AbstractComponentHandler
displayType, field, forceEditable, label, name, receiver, scopes, useLabel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Will be called after running theAbstractComponentHandler.finish()
-Method.A concrete class which implmentsAbstractComponentHandler
(not the handler).Return the Interface which represents this component (not the handler).final void
setClientRenderer
(String clientRenderer) final void
setCssStyle
(String cssStyle) final void
final void
setJsRenderer
(String jsRenderer) final void
setNiceType
(String niceType) final void
setSortable
(Boolean sortable) final void
setTextAlign
(ColumnHandler.TextAlign textAlign) final void
setTooltip
(String tooltip) final void
void
shrinkToContent
(boolean shrinkToContent) void
sticky
(boolean sticky) Methods inherited from class ch.tocco.nice2.model.form.spi.reader.handler.AbstractComponentHandler
addAttributeProps, addExtProps, beforeFinish, createOrGetComponent, disableOldClient, doFinish, finish, forceEditable, label, setDisplayType, setLabel, setName, setPosition, setScopes, setUseLabel, startElement
-
Constructor Details
-
ColumnHandler
-
-
Method Details
-
tag
@AnyElement @Cardinality(min=1, max=2147483647) public Object tag(@ElementName String tagName) throws ModelBuildException - Throws:
ModelBuildException
-
setWidth
- Throws:
ModelBuildException
-
setFixed
-
setSortable
-
setJsRenderer
@Attribute("js-renderer") public final void setJsRenderer(String jsRenderer) throws ModelBuildException - Throws:
ModelBuildException
-
setClientRenderer
-
setNiceType
- Throws:
ModelBuildException
-
setTextAlign
@Attribute("text-align") public final void setTextAlign(ColumnHandler.TextAlign textAlign) throws ModelBuildException - Throws:
ModelBuildException
-
setCssStyle
- Throws:
ModelBuildException
-
setTooltip
- Throws:
ModelBuildException
-
shrinkToContent
-
sticky
-
getImplClass
Description copied from class:AbstractComponentHandler
A concrete class which implmentsAbstractComponentHandler
(not the handler). Expects a public-constructor which takes the parent Compononent.- Specified by:
getImplClass
in classAbstractComponentHandler<Column>
- Returns:
- the class
-
getInterface
Description copied from class:AbstractComponentHandler
Return the Interface which represents this component (not the handler). This interface is normallyAbstractComponentHandler
- Specified by:
getInterface
in classAbstractComponentHandler<Column>
- Returns:
- interface-class
-
afterFinish
protected void afterFinish()Description copied from class:AbstractComponentHandler
Will be called after running theAbstractComponentHandler.finish()
-Method. this.field will be ready to fill.- Overrides:
afterFinish
in classAbstractComponentHandler<Column>
- See Also:
-