net.sourceforge.jivalo.editor.key
Class KeyCode

java.lang.Object
  extended by net.sourceforge.jivalo.editor.key.KeyCode

public class KeyCode
extends Object

Author:
Markku Saarela

Constructor Summary
KeyCode(String name, int keyCode)
           
 
Method Summary
 int getKeyCode()
           
 String getName()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeyCode

public KeyCode(String name,
               int keyCode)
Parameters:
name - javax.swing.text.DefaultEditorKit static field name
action - javax.swing.text.DefaultEditorKit static field value
Method Detail

getName

public String getName()
Returns:
the name

getKeyCode

public int getKeyCode()
Returns:
the keyCode

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2006-2007 SourceForge.net. All Rights Reserved.