net.sourceforge.jivalo.editor.key
Class InputEventKeyModifier
java.lang.Object
net.sourceforge.jivalo.editor.key.InputEventKeyModifier
- All Implemented Interfaces:
- Serializable
public class InputEventKeyModifier
- extends Object
- implements Serializable
- Author:
- Markku Saarela
- See Also:
- Serialized Form
ALT_MASK
public static final InputEventKeyModifier ALT_MASK
- The Alt key modifier.
CTRL_MASK
public static final InputEventKeyModifier CTRL_MASK
- The Control key modifier.
SHIFT_MASK
public static final InputEventKeyModifier SHIFT_MASK
- The Shift key modifier.
getModifier
public int getModifier()
- Returns:
- the modifier
toString
public String toString()
- Overrides:
toString in class Object
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
clone
protected final Object clone()
throws CloneNotSupportedException
- Overrides:
clone in class Object
- Throws:
CloneNotSupportedException. - This guarantees that enums are never cloned, which is
necessary to preserve their "singleton" status.
CloneNotSupportedException
valueOf
public static InputEventKeyModifier valueOf(String value)
- Parameters:
value -
- Returns:
-
- Throws:
NullPointerException - if value is null
IllegalArgumentException - if InputEventKeyModifier has no constant with the specified value.
values
public static List values()
Copyright © 2006-2007 SourceForge.net. All Rights Reserved.