Package io.jmix.flowui.kit.component
Class KeyCombination
java.lang.Object
io.jmix.flowui.kit.component.KeyCombination
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.vaadin.flow.component.Keyprotected static final Stringprotected final com.vaadin.flow.component.KeyModifier[] -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedKeyCombination(com.vaadin.flow.component.Key key, com.vaadin.flow.component.KeyModifier... keyModifiers) -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyCombinationcreate(com.vaadin.flow.component.Key key, com.vaadin.flow.component.KeyModifier... keyModifiers) static KeyCombinationCreates a newKeyCombinationinstance from a string representation.booleanformat()com.vaadin.flow.component.KeygetKey()com.vaadin.flow.component.KeyModifier[]inthashCode()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 newKeyCombinationinstance 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()
-