get Modifiers From
Answer all the ModifierKeys used in the provided KeyStroke.
Return
The set of ModifierKeys used; an empty set if none used.
Parameters
key Stroke
The KeyStroke to extract the ModifierKeys from.
Answer all the ModifierKeys used in the provided modifier value.
Return
The set of ModifierKeys used; an empty set if none used.
Parameters
modifier
The modifier value to extract the ModifierKeys from.