net.sourceforge.jivalo.editor.key
Class InputEventKeyModifier

java.lang.Object
  extended by net.sourceforge.jivalo.editor.key.InputEventKeyModifier
All Implemented Interfaces:
Serializable

public class InputEventKeyModifier
extends Object
implements Serializable

Author:
Markku Saarela
See Also:
Serialized Form

Field Summary
static InputEventKeyModifier ALT_MASK
          The Alt key modifier.
static InputEventKeyModifier CTRL_MASK
          The Control key modifier.
static InputEventKeyModifier SHIFT_MASK
          The Shift key modifier.
 
Method Summary
protected  Object clone()
           
 boolean equals(Object o)
           
 int getModifier()
           
 int hashCode()
           
 String toString()
           
static InputEventKeyModifier valueOf(String value)
           
static List values()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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.

Method Detail

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.