Package io.jmix.flowui.kit.component
Class KeyCombination
java.lang.Object
io.jmix.flowui.kit.component.KeyCombination
-
Field Summary
Modifier and TypeFieldDescriptionprotected final com.vaadin.flow.component.Key
protected static final String
protected final com.vaadin.flow.component.KeyModifier[]
-
Constructor Summary
ModifierConstructorDescriptionprotected
KeyCombination
(com.vaadin.flow.component.Key key, com.vaadin.flow.component.KeyModifier... keyModifiers) -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyCombination
create
(com.vaadin.flow.component.Key key, com.vaadin.flow.component.KeyModifier... keyModifiers) static KeyCombination
Creates a newKeyCombination
instance from a string representation.boolean
format()
com.vaadin.flow.component.Key
getKey()
com.vaadin.flow.component.KeyModifier[]
int
hashCode()
static com.vaadin.flow.component.Key
-
Field Details
-
KEY_FIELD_PREFIX
- See Also:
-
key
protected final com.vaadin.flow.component.Key key -
keyModifiers
protected final com.vaadin.flow.component.KeyModifier[] keyModifiers
-
-
Constructor Details
-
KeyCombination
protected KeyCombination(com.vaadin.flow.component.Key key, com.vaadin.flow.component.KeyModifier... keyModifiers)
-
-
Method Details
-
getKey
public com.vaadin.flow.component.Key getKey() -
getKeyModifiers
@Nullable public com.vaadin.flow.component.KeyModifier[] getKeyModifiers() -
create
public static KeyCombination create(com.vaadin.flow.component.Key key, com.vaadin.flow.component.KeyModifier... keyModifiers) -
create
Creates a newKeyCombination
instance from a string representation.- Parameters:
keyString
- string of type "Modifiers-Key", e.g. "Alt-N". Case-insensitive.- Returns:
- new instance
-
valueOf
-
format
-
equals
-
hashCode
public int hashCode()
-