Retrieves a boolean value indicating whether the SHIFT key was pressed when the event occurred.
public boolean getShift()
Returns true if the SHIFT key was pressed when the event occurred; otherwise, returns false.