@Control(parents={Accordion.class,PanelGroup.class,Group.class,SplitContainer.class,Repeater.class,Column.class,Tab.class,Row.class,pl.fhframework.model.forms.Form.class},
invalidParents=Table.class,
canBeDesigned=true)
@DocumentedComponent(category=ARRANGEMENT,
value="PanelGroup component is responsible for the grouping of sub-elements with optional header and collapsing",
icon="fa fa-object-group")
public class PanelGroup
extends pl.fhframework.model.forms.GroupingComponent<pl.fhframework.model.forms.Component>
implements pl.fhframework.model.forms.Boundable, pl.fhframework.model.forms.IChangeableByClient, pl.fhframework.events.IEventSource, pl.fhframework.core.forms.IHasBoundableLabel, pl.fhframework.model.forms.designer.IDesignerEventListener
| Modifier and Type | Field and Description |
|---|---|
static String |
BORDER_VISIBLE_ATTR |
static String |
LABEL_ATTR |
static String |
ON_TOGGLE |
| Constructor and Description |
|---|
PanelGroup(pl.fhframework.model.forms.Form form) |
| Modifier and Type | Method and Description |
|---|---|
Row |
createNewRow() |
Optional<pl.fhframework.binding.ActionBinding> |
getEventHandler(pl.fhframework.model.dto.InMessageEventData eventData) |
void |
onDesignerAddDefaultSubcomponent(pl.fhframework.model.forms.SpacerService spacerService) |
void |
onDesignerBeforeAdding(pl.fhframework.model.forms.IGroupingComponent<?> parent,
pl.fhframework.model.forms.SpacerService spacerService) |
void |
setOnToggle(pl.fhframework.binding.ActionBinding onToggle) |
pl.fhframework.binding.IActionCallbackContext |
setOnToggle(pl.fhframework.binding.IActionCallback onToggle) |
void |
updateModel(pl.fhframework.model.dto.ValueChange valueChange) |
pl.fhframework.model.dto.ElementChanges |
updateView() |
addSubcomponent, getComponentStateSaver, getNonVisualSubcomponents, getSubcomponents, isProcessComponentChange, processComponentChange, removeSubcomponent, setComponentStateSaver, setNonVisualSubcomponents, setProcessComponentStateChangegetHeight, getHint, getHintBinding, getHintPlacement, getHintTrigger, getHorizontalAlign, getInlineStyle, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getStyleClasses, getVerticalAlign, getWidth, getWrapperStyle, init, isPush, refreshElementToForm, refreshView, refreshView, setHeight, setHintBinding, setHintPlacement, setHintTrigger, setHorizontalAlign, setInlineStyle, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPush, setStyleClasses, setVerticalAlign, setWidth, setWrapperStyle, tryParseAttributeInPixelOrPercentageUnit, tryParseAttributeInPixelUnit, tryParseAttributeInPixelUnitareModelValuesTheSame, areValuesTheSame, calculateAvailability, clone, convertBindingValueToString, convertBindingValueToString, convertValue, convertValueToString, convertValueToString, createAdHocModelBinding, equals, finalizeReading, generateId, getAccessibilityRules, getAvailability, getAvailabilityModelBinding, getAvailablityAffectingActions, getBindingContext, getEventProcessingForm, getForm, getGeneratedIdPrefix, getGroupingParentComponent, getId, getOnDesignerToolboxDrop, getRawId, getType, hashCode, isArtificial, isGeneratedId, isInitDone, isInvisible, isStopProcessingUpdateView, onProcessingFinish, onProcessingStart, postClone, preConfigureClear, prepareEventDataArgument, refreshAvailability, resetInitDone, setArtificial, setAvailability, setAvailabilityModelBinding, setBindingContext, setGroupingParentComponent, setId, setInvisible, setOnDesignerToolboxDrop, setOnDesignerToolboxDrop, setRawId, setStopProcessingUpdateView, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetOptionalFormatter, updateBinding, updateBinding, updateBindingForValue, updateBindingForValuegetEventProcessingForm, getForm, isModificationEvent, prepareEventDataArgumentpublic static final String ON_TOGGLE
public static final String LABEL_ATTR
public static final String BORDER_VISIBLE_ATTR
public pl.fhframework.model.dto.ElementChanges updateView()
updateView in class pl.fhframework.model.forms.GroupingComponent<pl.fhframework.model.forms.Component>public void updateModel(pl.fhframework.model.dto.ValueChange valueChange)
updateModel in interface pl.fhframework.model.forms.IChangeableByClientpublic Optional<pl.fhframework.binding.ActionBinding> getEventHandler(pl.fhframework.model.dto.InMessageEventData eventData)
getEventHandler in interface pl.fhframework.events.IEventSourcegetEventHandler in class pl.fhframework.model.forms.Componentpublic void setOnToggle(pl.fhframework.binding.ActionBinding onToggle)
public pl.fhframework.binding.IActionCallbackContext setOnToggle(pl.fhframework.binding.IActionCallback onToggle)
public void onDesignerAddDefaultSubcomponent(pl.fhframework.model.forms.SpacerService spacerService)
onDesignerAddDefaultSubcomponent in interface pl.fhframework.model.forms.designer.IDesignerEventListenerpublic void onDesignerBeforeAdding(pl.fhframework.model.forms.IGroupingComponent<?> parent,
pl.fhframework.model.forms.SpacerService spacerService)
onDesignerBeforeAdding in interface pl.fhframework.model.forms.designer.IDesignerEventListenerpublic Row createNewRow()
Copyright © 2019. All rights reserved.