Class ComboButton
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.combobutton.ComboButton
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.BlurNotifier<AbstractDropdownButton>,com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.contextmenu.MenuItem>,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.Focusable<AbstractDropdownButton>,com.vaadin.flow.component.FocusNotifier<AbstractDropdownButton>,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,com.vaadin.flow.component.shared.HasTooltip,DropdownButtonComponent,HasAction,HasShortcutCombination,HasSubParts,HasTitle,Serializable
public class ComboButton
extends AbstractDropdownButton
implements com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.contextmenu.MenuItem>, HasAction, HasShortcutCombination
- 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.TextItemImplNested classes/interfaces inherited from interface com.vaadin.flow.component.BlurNotifier
com.vaadin.flow.component.BlurNotifier.BlurEvent<C extends com.vaadin.flow.component.Component>Nested classes/interfaces inherited from interface com.vaadin.flow.component.FocusNotifier
com.vaadin.flow.component.FocusNotifier.FocusEvent<C extends com.vaadin.flow.component.Component>Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasText
com.vaadin.flow.component.HasText.WhiteSpace -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ComboButtonActionSupportprotected static final Stringprotected JmixMenuItemprotected com.vaadin.flow.component.icon.Iconprotected com.vaadin.flow.component.ShortcutRegistrationFields inherited from class io.jmix.flowui.kit.component.dropdownbutton.AbstractDropdownButton
ATTRIBUTE_JMIX_ROLE_NAME, dropdownItem, explicitTitle, iconComponent, items -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.shared.RegistrationaddClickListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem>> listener) com.vaadin.flow.component.ShortcutRegistrationaddClickShortcut(com.vaadin.flow.component.Key key, com.vaadin.flow.component.KeyModifier... keyModifiers) voidaddThemeVariants(ComboButtonVariant... variants) protected ComboButtonActionSupportprotected JmixMenuItemcom.vaadin.flow.component.icon.Iconprotected JmixMenuItemgetText()com.vaadin.flow.component.HasText.WhiteSpaceprotected JmixMenuBarvoidremoveThemeVariants(ComboButtonVariant... variants) voidvoidsetDropdownIcon(com.vaadin.flow.component.icon.Icon icon) voidsetIcon(com.vaadin.flow.component.icon.Icon icon) voidsetShortcutCombination(KeyCombination shortcutCombination) voidvoidsetWhiteSpace(com.vaadin.flow.component.HasText.WhiteSpace value) protected voidMethods inherited from class io.jmix.flowui.kit.component.dropdownbutton.AbstractDropdownButton
addAttachListener, addClassName, addClassNames, addDetachListener, addFocusShortcut, addItem, addItem, addItem, addItem, addItem, addItem, addItem, addItem, addItem, addItem, addItemInternal, addSeparator, addSeparatorAtIndex, addThemeName, addThemeNames, blur, createComponentMenuItem, createTextMenuItem, focus, getClassName, getClassNames, getHeight, getHeightUnit, getIcon, getItem, getItems, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getTabIndex, getThemeName, getThemeNames, getTooltip, 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, setTabIndex, setThemeName, setThemeName, setTitle, setTitleInternal, setTooltipText, setWidth, setWidth, setWidthFullMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.BlurNotifier
addBlurListenerMethods inherited from interface io.jmix.flowui.kit.component.dropdownbutton.DropdownButtonComponent
getSubPartMethods inherited from interface com.vaadin.flow.component.FocusNotifier
addFocusListenerMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasStyle
getStyle
-
Field Details
-
ATTRIBUTE_JMIX_ROLE_VALUE
- See Also:
-
buttonItem
-
dropdownIcon
protected com.vaadin.flow.component.icon.Icon dropdownIcon -
actionSupport
-
shortcutRegistration
protected com.vaadin.flow.component.ShortcutRegistration shortcutRegistration
-
-
Constructor Details
-
ComboButton
public ComboButton()
-
-
Method Details
-
initContent
- Overrides:
initContentin classcom.vaadin.flow.component.Composite<JmixMenuBar>
-
getButtonItem
-
getDropdownItem
- Specified by:
getDropdownItemin classAbstractDropdownButton
-
setText
- Specified by:
setTextin interfacecom.vaadin.flow.component.HasText
-
getText
- Specified by:
getTextin interfacecom.vaadin.flow.component.HasText
-
setWhiteSpace
public void setWhiteSpace(com.vaadin.flow.component.HasText.WhiteSpace value) - Specified by:
setWhiteSpacein interfacecom.vaadin.flow.component.HasText
-
getWhiteSpace
public com.vaadin.flow.component.HasText.WhiteSpace getWhiteSpace()- Specified by:
getWhiteSpacein interfacecom.vaadin.flow.component.HasText
-
setIcon
public void setIcon(@Nullable com.vaadin.flow.component.icon.Icon icon) - Specified by:
setIconin interfaceDropdownButtonComponent
-
updateIconSlot
protected void updateIconSlot() -
addClickListener
public com.vaadin.flow.shared.Registration addClickListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem>> listener) - Specified by:
addClickListenerin interfacecom.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.contextmenu.MenuItem>
-
addClickShortcut
public com.vaadin.flow.component.ShortcutRegistration addClickShortcut(com.vaadin.flow.component.Key key, com.vaadin.flow.component.KeyModifier... keyModifiers) - Specified by:
addClickShortcutin interfacecom.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.contextmenu.MenuItem>
-
setAction
-
getAction
-
getDropdownIcon
@Nullable public com.vaadin.flow.component.icon.Icon getDropdownIcon() -
setDropdownIcon
public void setDropdownIcon(@Nullable com.vaadin.flow.component.icon.Icon icon) -
setShortcutCombination
- Specified by:
setShortcutCombinationin interfaceHasShortcutCombination
-
getShortcutCombination
- Specified by:
getShortcutCombinationin interfaceHasShortcutCombination
-
addThemeVariants
-
removeThemeVariants
-
getActionSupport
-