| Modifier and Type | Field and Description |
|---|---|
| private String | character
The key character associated with this key combination. |
| Access | Constructor and Description |
|---|---|
| public | KeyCharacterCombination(final String
the main key character character, final KeyCombination.the value of the shift,shift modifier keythe value of the control,control modifier keythe value of the alt,alt modifier keythe value of the meta,meta modifier keythe value of the shortcutshortcut modifier keyConstructs a |
| public | KeyCharacterCombination(final String
the main key character character, final KeyCombination.the list of modifier keys and their corresponding values modifiersConstructs a |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the objects are equal, false otherwisethe object to compare to obj)Overrides javafx. Tests whether this |
| public final String | Returns: The key character associated with this key combinationGets the key character associated with this key combination. |
| public String | getDisplayText()
Overrides javafx. Returns a string representation of this |
| public String | Returns: the string representation of thisKeyCharacterCombinationOverrides javafx. Returns a string representation of this |
| public int | Returns: the hash code valueOverrides javafx. Returns a hash code value for this |
| public boolean | Returns: true if the key combinations match, false
otherwisethe key event event)Overrides javafx. Tests whether this key combination matches the key combination in the
given |
| private static void |
| character | back to summary |
|---|---|
| private String character The key character associated with this key combination. | |
| KeyCharacterCombination | back to summary |
|---|---|
| public KeyCharacterCombination(final String character, final KeyCombination. Constructs a
| |
| KeyCharacterCombination | back to summary |
|---|---|
| public KeyCharacterCombination(final String character, final KeyCombination. Constructs a
All possible modifiers which change the default modifier value are
defined as constants in the
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides javafx. Tests whether this | |
| getCharacter | back to summary |
|---|---|
| public final String getCharacter() Gets the key character associated with this key combination.
| |
| getDisplayText | back to summary |
|---|---|
| public String getDisplayText() Overrides javafx. Doc from javafx. Returns a string representation of this
| |
| getName | back to summary |
|---|---|
| public String getName() Overrides javafx. Returns a string representation of this The string representation consists of sections separated by plus characters. Each section specifies either a modifier key or the main key.
A modifier key section contains the The main key section contains the main key character enclosed in single quotes and is the last section in the returned string. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides javafx. Returns a hash code value for this
| |
| match | back to summary |
|---|---|
| public boolean match(final KeyEvent event) Overrides javafx. Tests whether this key combination matches the key combination in the
given | |
| validateKeyCharacter | back to summary |
|---|---|
| private static void validateKeyCharacter(final String keyCharacter) | |