@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 GroupingComponent<FormElement> implements Boundable, Styleable, IHasBoundableLabel, CompactLayout, IDesignerEventListener
Styleable.Style| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_LABEL |
static String |
ATTR_STYLE |
static String |
DROPDOWN_DEFAULT_LABEL |
ACCESSIBILITY, RESOLUTION_SIZEON_DROP_COMPONENT, ON_RESIZE_COMPONENT| Modifier and Type | Method and Description |
|---|---|
void |
init() |
void |
onDesignerAddDefaultSubcomponent(SpacerService spacerService) |
void |
onDesignerBeforeAdding(IGroupingComponent<?> parent,
SpacerService spacerService) |
protected 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, updateBindingForValuegetLabelModelBindingmove, movedoActionForEveryActiveSubcomponent, doActionForEverySubcomponent, doActionForEverySubcomponent, doActionForEverySubcomponentInlcudingRepeated, getGroupingComponent, processComponentsisDesignActionAllowed, isDesignDeletableisModificationEventpublic static final String ATTR_LABEL
public static final String ATTR_STYLE
public static final String DROPDOWN_DEFAULT_LABEL
public Dropdown(Form form)
public void init()
init in class FormElementprotected ElementChanges updateView()
updateView in class GroupingComponent<FormElement>public void onDesignerAddDefaultSubcomponent(SpacerService spacerService)
onDesignerAddDefaultSubcomponent in interface IDesignerEventListenerpublic void onDesignerBeforeAdding(IGroupingComponent<?> parent, SpacerService spacerService)
onDesignerBeforeAdding in interface IDesignerEventListenerCopyright © 2020. All rights reserved.