@Control(canBeDesigned=true)
@DesignerControl
@DocumentedComponent(category=ARRANGEMENT,
value="Component used to include xml templates into main form view",
icon="fa fa-cubes")
public class Include
extends pl.fhframework.model.forms.GroupingComponent<pl.fhframework.model.forms.Component>
implements pl.fhframework.model.forms.Includeable
| Modifier and Type | Field and Description |
|---|---|
protected pl.fhframework.model.forms.Form |
includedComposite |
protected String |
modelRef |
protected String |
ref |
protected String |
variant |
| Constructor and Description |
|---|
Include(pl.fhframework.model.forms.Form form) |
| Modifier and Type | Method and Description |
|---|---|
void |
activateBindings() |
void |
addRegisteredEvent(pl.fhframework.core.events.OnEvent onEvent) |
void |
addSubcomponent(pl.fhframework.model.forms.Component component) |
void |
afterNestedComponentsProcess() |
void |
calculateAvailability() |
void |
deactivateBindings() |
void |
doActionForEverySubcomponent(java.util.function.Consumer<pl.fhframework.model.forms.Component> action) |
pl.fhframework.model.forms.IGroupingComponent |
getGroupingComponent(pl.fhframework.model.forms.Component component) |
List<pl.fhframework.model.forms.Component> |
getIncludedComponents() |
List<pl.fhframework.model.forms.NonVisualFormElement> |
getNonVisualSubcomponents() |
String |
getStaticRef() |
List<pl.fhframework.model.forms.Component> |
getSubcomponents() |
void |
init() |
void |
preConfigureClear() |
protected void |
readComposite() |
void |
refreshView(Set<pl.fhframework.model.dto.ElementChanges> changeSet) |
void |
removeSubcomponent(pl.fhframework.model.forms.Component removedComponent) |
protected java.util.function.Supplier |
resolveModelProvider() |
getComponentStateSaver, isProcessComponentChange, processComponentChange, setComponentStateSaver, setNonVisualSubcomponents, setProcessComponentStateChange, updateViewgetHeight, getHint, getHintBinding, getHintPlacement, getHintTrigger, getHorizontalAlign, getInlineStyle, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getStyleClasses, getVerticalAlign, getWidth, getWrapperStyle, isPush, refreshElementToForm, refreshView, setHeight, setHintBinding, setHintPlacement, setHintTrigger, setHorizontalAlign, setInlineStyle, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPush, setStyleClasses, setVerticalAlign, setWidth, setWrapperStyle, tryParseAttributeInPixelOrPercentageUnit, tryParseAttributeInPixelUnit, tryParseAttributeInPixelUnitareModelValuesTheSame, areValuesTheSame, clone, convertBindingValueToString, convertBindingValueToString, convertValue, convertValueToString, convertValueToString, createAdHocModelBinding, equals, finalizeReading, generateId, getAccessibilityRules, getAvailability, getAvailabilityModelBinding, getAvailablityAffectingActions, getBindingContext, getEventHandler, getEventProcessingForm, getForm, getGeneratedIdPrefix, getGroupingParentComponent, getId, getOnDesignerToolboxDrop, getRawId, getType, hashCode, isArtificial, isGeneratedId, isInitDone, isInvisible, isStopProcessingUpdateView, onProcessingFinish, onProcessingStart, postClone, prepareEventDataArgument, refreshAvailability, resetInitDone, setArtificial, setAvailability, setAvailabilityModelBinding, setBindingContext, setGroupingParentComponent, setId, setInvisible, setOnDesignerToolboxDrop, setOnDesignerToolboxDrop, setRawId, setStopProcessingUpdateView, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitdoActionForEveryActiveSubcomponent, doActionForEverySubcomponent, doActionForEverySubcomponentInlcudingRepeated, processComponentsprotected String ref
protected String modelRef
protected String variant
protected pl.fhframework.model.forms.Form includedComposite
public void init()
init in class pl.fhframework.model.forms.FormElementprotected java.util.function.Supplier resolveModelProvider()
protected void readComposite()
public void doActionForEverySubcomponent(java.util.function.Consumer<pl.fhframework.model.forms.Component> action)
doActionForEverySubcomponent in interface pl.fhframework.model.forms.IGroupingComponent<pl.fhframework.model.forms.Component>public void activateBindings()
activateBindings in interface pl.fhframework.model.forms.Includeablepublic void deactivateBindings()
deactivateBindings in interface pl.fhframework.model.forms.Includeablepublic void afterNestedComponentsProcess()
afterNestedComponentsProcess in interface pl.fhframework.model.forms.Includeablepublic void refreshView(Set<pl.fhframework.model.dto.ElementChanges> changeSet)
refreshView in class pl.fhframework.model.forms.FormElementpublic void addSubcomponent(pl.fhframework.model.forms.Component component)
addSubcomponent in interface pl.fhframework.model.forms.IGroupingComponent<pl.fhframework.model.forms.Component>addSubcomponent in class pl.fhframework.model.forms.GroupingComponent<pl.fhframework.model.forms.Component>public void removeSubcomponent(pl.fhframework.model.forms.Component removedComponent)
removeSubcomponent in interface pl.fhframework.model.forms.IGroupingComponent<pl.fhframework.model.forms.Component>removeSubcomponent in class pl.fhframework.model.forms.GroupingComponent<pl.fhframework.model.forms.Component>public pl.fhframework.model.forms.IGroupingComponent getGroupingComponent(pl.fhframework.model.forms.Component component)
getGroupingComponent in interface pl.fhframework.model.forms.IGroupingComponent<pl.fhframework.model.forms.Component>public List<pl.fhframework.model.forms.Component> getSubcomponents()
getSubcomponents in interface pl.fhframework.model.forms.IGroupingComponent<pl.fhframework.model.forms.Component>getSubcomponents in class pl.fhframework.model.forms.GroupingComponent<pl.fhframework.model.forms.Component>public List<pl.fhframework.model.forms.NonVisualFormElement> getNonVisualSubcomponents()
getNonVisualSubcomponents in interface pl.fhframework.model.forms.IGroupingComponent<pl.fhframework.model.forms.Component>getNonVisualSubcomponents in class pl.fhframework.model.forms.GroupingComponent<pl.fhframework.model.forms.Component>public List<pl.fhframework.model.forms.Component> getIncludedComponents()
getIncludedComponents in interface pl.fhframework.model.forms.Includeablepublic void addRegisteredEvent(pl.fhframework.core.events.OnEvent onEvent)
public void preConfigureClear()
preConfigureClear in class pl.fhframework.model.forms.Componentpublic String getStaticRef()
getStaticRef in interface pl.fhframework.model.forms.Includeablepublic void calculateAvailability()
calculateAvailability in class pl.fhframework.model.forms.ComponentCopyright © 2019. All rights reserved.