@Control(parents={PanelGroup.class,Tab.class,Row.class,pl.fhframework.model.forms.Form.class,Repeater.class,Group.class},
invalidParents=Table.class,
canBeDesigned=true)
@DocumentedComponent(category=BUTTONS_AND_OTHER,
value="PanelGroup component responsible for the grouping of buttons.",
icon="fa fa-square")
public class ButtonGroup
extends pl.fhframework.model.forms.GroupingComponent<pl.fhframework.model.forms.FormElement>
implements pl.fhframework.model.forms.Boundable, pl.fhframework.model.forms.IChangeableByClient, pl.fhframework.model.forms.CompactLayout, pl.fhframework.model.forms.designer.IDesignerEventListener
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_ON_BUTTON_CHANGE |
| Constructor and Description |
|---|
ButtonGroup(pl.fhframework.model.forms.Form form) |
| Modifier and Type | Method and Description |
|---|---|
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 |
setOnButtonChange(pl.fhframework.binding.ActionBinding onButtonChange) |
pl.fhframework.binding.IActionCallbackContext |
setOnButtonChange(pl.fhframework.binding.IActionCallback onButtonChange) |
void |
updateModel(pl.fhframework.model.dto.ValueChange valueChange) |
protected 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, updateBindingForValuedoActionForEveryActiveSubcomponent, doActionForEverySubcomponent, doActionForEverySubcomponent, doActionForEverySubcomponentInlcudingRepeated, getGroupingComponent, processComponentspublic static final String ATTR_ON_BUTTON_CHANGE
public void updateModel(pl.fhframework.model.dto.ValueChange valueChange)
updateModel in interface pl.fhframework.model.forms.IChangeableByClientprotected pl.fhframework.model.dto.ElementChanges updateView()
updateView in class pl.fhframework.model.forms.GroupingComponent<pl.fhframework.model.forms.FormElement>public 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 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 void setOnButtonChange(pl.fhframework.binding.ActionBinding onButtonChange)
public pl.fhframework.binding.IActionCallbackContext setOnButtonChange(pl.fhframework.binding.IActionCallback onButtonChange)
Copyright © 2019. All rights reserved.