@Control(parents={ButtonGroup.class,PanelGroup.class,Group.class,Tab.class,Row.class,pl.fhframework.model.forms.Form.class,Repeater.class},
invalidParents=Table.class,
canBeDesigned=true)
@DesignerControl(defaultWidth=2)
@DocumentedComponent(category=INPUTS_AND_VALIDATION,
value="PanelGroup component responsible for the grouping of DropdownItems.",
icon="fa fa-caret-square-down")
public class Dropdown
extends pl.fhframework.model.forms.GroupingComponent<pl.fhframework.model.forms.FormElement>
implements pl.fhframework.model.forms.Boundable, Styleable, pl.fhframework.core.forms.IHasBoundableLabel, pl.fhframework.model.forms.CompactLayout, pl.fhframework.model.forms.designer.IDesignerEventListener
Styleable.Style| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_LABEL |
static String |
ATTR_STYLE |
static String |
DROPDOWN_DEFAULT_LABEL |
| Constructor and Description |
|---|
Dropdown(pl.fhframework.model.forms.Form form) |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
void |
onDesignerAddDefaultSubcomponent(pl.fhframework.model.forms.SpacerService spacerService) |
void |
onDesignerBeforeAdding(pl.fhframework.model.forms.IGroupingComponent<?> parent,
pl.fhframework.model.forms.SpacerService spacerService) |
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, 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, getEventHandler, 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_LABEL
public static final String ATTR_STYLE
public static final String DROPDOWN_DEFAULT_LABEL
public void init()
init in class pl.fhframework.model.forms.FormElementprotected pl.fhframework.model.dto.ElementChanges updateView()
updateView in class pl.fhframework.model.forms.GroupingComponent<pl.fhframework.model.forms.FormElement>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.IDesignerEventListenerCopyright © 2019. All rights reserved.