@Control(parents={Dropdown.class,Repeater.class},
canBeDesigned=true)
public class DropdownItem
extends pl.fhframework.model.forms.FormElement
implements Iconable
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_ICON |
static String |
ATTR_URL |
static String |
ATTR_VALUE |
| Constructor and Description |
|---|
DropdownItem(pl.fhframework.model.forms.Form form) |
| Modifier and Type | Method and Description |
|---|---|
Optional<pl.fhframework.binding.ActionBinding> |
getEventHandler(pl.fhframework.model.dto.InMessageEventData eventData) |
pl.fhframework.binding.ModelBinding |
getIconBinding() |
void |
init() |
void |
setOnClick(pl.fhframework.binding.ActionBinding onClick) |
pl.fhframework.binding.IActionCallbackContext |
setOnClick(pl.fhframework.binding.IActionCallback onClick) |
pl.fhframework.model.dto.ElementChanges |
updateView() |
getHeight, 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, 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, waitgetIcon, getIconAlignment, resolveIconBindingpublic static final String ATTR_URL
public static final String ATTR_VALUE
public static final String ATTR_ICON
public void init()
init in class pl.fhframework.model.forms.FormElementpublic pl.fhframework.model.dto.ElementChanges updateView()
updateView in class pl.fhframework.model.forms.FormElementpublic 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 pl.fhframework.binding.ModelBinding getIconBinding()
getIconBinding in interface Iconablepublic void setOnClick(pl.fhframework.binding.ActionBinding onClick)
public pl.fhframework.binding.IActionCallbackContext setOnClick(pl.fhframework.binding.IActionCallback onClick)
Copyright © 2019. All rights reserved.