@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 GroupingComponentWithHeadingHierarchy<Component> implements Boundable, IChangeableByClient, IEventSource, IHasBoundableLabel, IDesignerEventListener
Component.ComponentAttr, Component.IGenerationUtils| Modifier and Type | Field and Description |
|---|---|
static String |
BORDER_VISIBLE_ATTR |
static String |
LABEL_ATTR |
static String |
ON_TOGGLE |
ACCESSIBILITY, RESOLUTION_SIZEON_DROP_COMPONENT, ON_RESIZE_COMPONENT| Constructor and Description |
|---|
PanelGroup(Form form) |
| Modifier and Type | Method and Description |
|---|---|
Row |
createNewRow() |
Optional<ActionBinding> |
getEventHandler(InMessageEventData eventData) |
void |
onDesignerAddDefaultSubcomponent(SpacerService spacerService) |
void |
onDesignerBeforeAdding(IGroupingComponent<?> parent,
SpacerService spacerService) |
void |
setOnToggle(ActionBinding onToggle) |
IActionCallbackContext |
setOnToggle(IActionCallback onToggle) |
void |
updateModel(ValueChange valueChange) |
ElementChanges |
updateView() |
getHeadingType, getHeadingTypeValue, init, setHeadingType, setHeadingTypeValueaddSubcomponent, getComponentStateSaver, getNonVisualSubcomponents, getSubcomponents, isProcessComponentChange, processComponentChange, removeSubcomponent, setComponentStateSaver, setNonVisualSubcomponents, setProcessComponentStateChangegetHeight, getHint, getHintBinding, getHintPlacement, getHintTrigger, getHintType, getHorizontalAlign, getInlineStyle, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getStyleClasses, getVerticalAlign, getWidth, getWrapperStyle, isPush, refreshElementToForm, refreshView, refreshView, setHeight, setHintBinding, setHintPlacement, setHintTrigger, setHintType, 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, getGenerationUtils, getGroupingParentComponent, getId, getOnDesignerToolboxDrop, getRawId, getType, hashCode, isArtificial, isGeneratedId, isInitDone, isInvisible, isStopProcessingUpdateView, onProcessingFinish, onProcessingStart, postClone, preConfigureClear, prepareEventDataArgument, refreshAvailability, resetInitDone, setArtificial, setAvailability, setAvailabilityModelBinding, setBindingContext, setGenerationUtils, setGroupingParentComponent, setId, setInvisible, setOnDesignerToolboxDrop, setOnDesignerToolboxDrop, setRawId, setStopProcessingUpdateView, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetOptionalFormatter, updateBinding, updateBinding, updateBindingForValue, updateBindingForValuegetEventProcessingForm, getForm, isModificationEvent, prepareEventDataArgumentgetLabelModelBindingmove, movedoActionForEveryActiveSubcomponent, doActionForEverySubcomponent, doActionForEverySubcomponent, doActionForEverySubcomponentInlcudingRepeated, getGroupingComponent, processComponentsisDesignActionAllowed, isDesignDeletablepublic static final String ON_TOGGLE
public static final String LABEL_ATTR
public static final String BORDER_VISIBLE_ATTR
public PanelGroup(Form form)
public ElementChanges updateView()
updateView in class GroupingComponent<Component>public void updateModel(ValueChange valueChange)
updateModel in interface IChangeableByClientpublic Optional<ActionBinding> getEventHandler(InMessageEventData eventData)
getEventHandler in interface IEventSourcegetEventHandler in class Componentpublic void setOnToggle(ActionBinding onToggle)
public IActionCallbackContext setOnToggle(IActionCallback onToggle)
public void onDesignerAddDefaultSubcomponent(SpacerService spacerService)
onDesignerAddDefaultSubcomponent in interface IDesignerEventListenerpublic void onDesignerBeforeAdding(IGroupingComponent<?> parent, SpacerService spacerService)
onDesignerBeforeAdding in interface IDesignerEventListenerpublic Row createNewRow()
Copyright © 2020. All rights reserved.