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
Nested Classes -
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidWill 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).voidlayoutScope(String layoutScope) final voidsetClientRenderer(String clientRenderer) final voidsetCssStyle(String cssStyle) final voidfinal voidsetJsRenderer(String jsRenderer) final voidsetNiceType(String niceType) final voidsetSortable(Boolean sortable) final voidsetTextAlign(ColumnHandler.TextAlign textAlign) final voidsetTooltip(String tooltip) final voidvoidshrinkToContent(boolean shrinkToContent) voidsticky(boolean sticky) voidvoiduseAsTitle(boolean useAsTitle) 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
-
useAsTitle
-
tileIcon
-
layoutScope
-
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<Column>- 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<Column>- Returns:
- interface-class
-
afterFinish
protected void afterFinish()Description copied from class:AbstractComponentHandlerWill be called after running theAbstractComponentHandler.finish()-Method. this.field will be ready to fill.- Overrides:
afterFinishin classAbstractComponentHandler<Column>- See Also:
-