public final class WebCmsComponentModelFormElementBuilder extends com.foreach.across.modules.web.ui.elements.builder.AbstractNodeViewElementBuilder<com.foreach.across.modules.webcms.domain.component.web.WebCmsComponentModelFormElementBuilder.WebCmsComponentModelFormElement,WebCmsComponentModelFormElementBuilder>
WebCmsComponentModel.
Will contain either| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_MESSAGE_CODE_PREFIX |
| Constructor and Description |
|---|
WebCmsComponentModelFormElementBuilder(WebCmsComponentModel componentModel) |
| Modifier and Type | Method and Description |
|---|---|
WebCmsComponentModelFormElementBuilder |
content(com.foreach.across.modules.web.ui.ViewElementBuilder contentViewElementBuilder)
Set content of the "content" pane.
|
protected com.foreach.across.modules.webcms.domain.component.web.WebCmsComponentModelFormElementBuilder.WebCmsComponentModelFormElement |
createElement(com.foreach.across.modules.web.ui.ViewElementBuilderContext parentBuilderContext) |
WebCmsComponentModelFormElementBuilder |
members(com.foreach.across.modules.web.ui.ViewElementBuilder membersViewElementBuilder)
Set content of the "members" pane, this contains any related components owned by this one.
|
WebCmsComponentModelFormElementBuilder |
metadata(com.foreach.across.modules.web.ui.ViewElementBuilder metadataViewElementBuilder)
Set content of the "metadata" pane.
|
WebCmsComponentModelFormElementBuilder |
settings(com.foreach.across.modules.web.ui.ViewElementBuilder settingsViewElementBuilder)
Set content of the "settings" pane.
|
WebCmsComponentModelFormElementBuilder |
showAddComponentButton(boolean showButton) |
WebCmsComponentModelFormElementBuilder |
showAsLinkedComponent(boolean linkedComponent)
Show this component as a linked component (only with edit and delete options).
|
WebCmsComponentModelFormElementBuilder |
showDeleteButton(boolean showButton) |
WebCmsComponentModelFormElementBuilder |
showSettings(boolean showSettings)
Should settings be shown.
|
WebCmsComponentModelFormElementBuilder |
sortableContainer(boolean sortable)
Indicate if the component is a sortable container.
|
apply, attribute, attributes, clearAttributes, css, htmlId, removeAttribute, removeCssadd, add, addAll, addFirst, addFirst, sortbuild, configure, customTemplate, elementSupplier, elementSupplier, name, postProcess, postProcessor, registerWebResources, withclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String COMPONENT_MESSAGE_CODE_PREFIX
public WebCmsComponentModelFormElementBuilder(WebCmsComponentModel componentModel)
public WebCmsComponentModelFormElementBuilder showDeleteButton(boolean showButton)
public WebCmsComponentModelFormElementBuilder showAddComponentButton(boolean showButton)
public WebCmsComponentModelFormElementBuilder showAsLinkedComponent(boolean linkedComponent)
public WebCmsComponentModelFormElementBuilder sortableContainer(boolean sortable)
public WebCmsComponentModelFormElementBuilder members(com.foreach.across.modules.web.ui.ViewElementBuilder membersViewElementBuilder)
public WebCmsComponentModelFormElementBuilder content(com.foreach.across.modules.web.ui.ViewElementBuilder contentViewElementBuilder)
null if you don't want a content pane.public WebCmsComponentModelFormElementBuilder settings(com.foreach.across.modules.web.ui.ViewElementBuilder settingsViewElementBuilder)
null if you don't want a settings pane.public WebCmsComponentModelFormElementBuilder metadata(com.foreach.across.modules.web.ui.ViewElementBuilder metadataViewElementBuilder)
null if you don't want a metadata pane.public WebCmsComponentModelFormElementBuilder showSettings(boolean showSettings)
protected com.foreach.across.modules.webcms.domain.component.web.WebCmsComponentModelFormElementBuilder.WebCmsComponentModelFormElement createElement(com.foreach.across.modules.web.ui.ViewElementBuilderContext parentBuilderContext)
createElement in class com.foreach.across.modules.web.ui.ViewElementBuilderSupport<com.foreach.across.modules.webcms.domain.component.web.WebCmsComponentModelFormElementBuilder.WebCmsComponentModelFormElement,WebCmsComponentModelFormElementBuilder>Copyright © 2020. All rights reserved.