Method Summary |
|
public int | compareTo(Object object) |
public boolean | endsWith(KeySequence keySequence, boolean equals) Returns whether or not this key sequence ends with the given key
sequence.
Parameters: keySequence - a key sequence. |
public boolean | equals(Object object) |
public String | format() Formats this key sequence into the current default look. |
public static KeySequence | getInstance() Gets an instance of KeySequence .
a key sequence. |
public static KeySequence | getInstance(KeySequence keySequence, KeyStroke keyStroke) Gets an instance of KeySequence given a key sequence and
a key stroke.
Parameters: keySequence - a key sequence. |
public static KeySequence | getInstance(KeyStroke keyStroke) Gets an instance of KeySequence given a single key
stroke.
Parameters: keyStroke - a single key stroke. |
public static KeySequence | getInstance(KeyStroke[] keyStrokes) Gets an instance of KeySequence given an array of key
strokes.
Parameters: keyStrokes - the array of key strokes. |
public static KeySequence | getInstance(List keyStrokes) Gets an instance of KeySequence given a list of key
strokes.
Parameters: keyStrokes - the list of key strokes. |
final public static KeySequence | getInstance(org.eclipse.jface.bindings.keys.KeySequence newKeySequence) Gets an instance of KeySequence given a new-style key
sequence.
Parameters: newKeySequence - The new-style key sequence to convert into a legacy keysequence; must not be null . |
public static KeySequence | getInstance(String string) Gets an instance of KeySequence by parsing a given a
formal string representation.
Parameters: string - the formal string representation to parse. |
public List | getKeyStrokes() Returns the list of key strokes for this key sequence.
the list of key strokes keys. |
public int | hashCode() |
public boolean | isComplete() Returns whether or not this key sequence is complete. |
public boolean | isEmpty() Returns whether or not this key sequence is empty. |
public boolean | startsWith(KeySequence keySequence, boolean equals) Returns whether or not this key sequence starts with the given key
sequence.
Parameters: keySequence - a key sequence. |
public String | toString() Returns the formal string representation for this key sequence. |