Class DropdownButton
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<JmixMenuBar>
io.jmix.flowui.kit.component.dropdownbutton.AbstractDropdownButton
io.jmix.flowui.kit.component.dropdownbutton.DropdownButton
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasEnabled
,com.vaadin.flow.component.HasSize
,com.vaadin.flow.component.HasStyle
,com.vaadin.flow.component.HasText
,com.vaadin.flow.component.HasTheme
,DropdownButtonComponent
,HasSubParts
,HasTitle
,Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.kit.component.dropdownbutton.AbstractDropdownButton
AbstractDropdownButton.AbstractDropdownButtonItem, AbstractDropdownButton.ActionItemImpl, AbstractDropdownButton.ComponentItemImpl, AbstractDropdownButton.HasMenuItem, AbstractDropdownButton.MenuItemProvider<T>, AbstractDropdownButton.TextItemImpl
Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasText
com.vaadin.flow.component.HasText.WhiteSpace
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected com.vaadin.flow.component.icon.Icon
Fields inherited from class io.jmix.flowui.kit.component.dropdownbutton.AbstractDropdownButton
ATTRIBUTE_JMIX_ROLE_NAME, dropdownItem, explicitTitle, iconComponent, items
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addThemeVariants
(DropdownButtonVariant... variants) protected JmixMenuItem
getText()
com.vaadin.flow.component.HasText.WhiteSpace
protected JmixMenuBar
void
removeThemeVariants
(DropdownButtonVariant... variants) void
setIcon
(com.vaadin.flow.component.icon.Icon icon) void
void
setWhiteSpace
(com.vaadin.flow.component.HasText.WhiteSpace value) protected void
protected void
Methods inherited from class io.jmix.flowui.kit.component.dropdownbutton.AbstractDropdownButton
addAttachListener, addClassName, addClassNames, addDetachListener, addItem, addItem, addItem, addItem, addItem, addItem, addItem, addItem, addItem, addItem, addItemInternal, addSeparator, addSeparatorAtIndex, addThemeName, addThemeNames, createComponentMenuItem, createTextMenuItem, getClassName, getClassNames, getHeight, getHeightUnit, getIcon, getItem, getItems, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getThemeName, getThemeNames, getWidth, getWidthUnit, hasClassName, hasThemeName, isAttached, isEnabled, isOpenOnHover, remove, remove, remove, removeAll, removeClassName, removeClassNames, removeThemeName, removeThemeNames, setClassName, setClassName, setEnabled, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setOpenOnHover, setSizeFull, setSizeUndefined, setThemeName, setThemeName, setTitle, setTitleInternal, setWidth, setWidth, setWidthFull
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, scrollIntoView, set, setElement, setId, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.flowui.kit.component.dropdownbutton.DropdownButtonComponent
getSubPart
Methods inherited from interface com.vaadin.flow.component.HasElement
getElement
Methods inherited from interface com.vaadin.flow.component.HasStyle
getStyle
-
Field Details
-
ATTRIBUTE_JMIX_ROLE_VALUE
- See Also:
-
dropdownIcon
protected com.vaadin.flow.component.icon.Icon dropdownIcon
-
-
Constructor Details
-
DropdownButton
public DropdownButton()
-
-
Method Details
-
initContent
- Overrides:
initContent
in classcom.vaadin.flow.component.Composite<JmixMenuBar>
-
getDropdownItem
- Specified by:
getDropdownItem
in classAbstractDropdownButton
-
updateDropdownIconSlot
protected void updateDropdownIconSlot() -
setText
-
getText
-
setWhiteSpace
public void setWhiteSpace(com.vaadin.flow.component.HasText.WhiteSpace value) -
getWhiteSpace
public com.vaadin.flow.component.HasText.WhiteSpace getWhiteSpace() -
setIcon
public void setIcon(@Nullable com.vaadin.flow.component.icon.Icon icon) -
addThemeVariants
-
removeThemeVariants
-
updateIconSlot
protected void updateIconSlot()
-