oracle.ide.keyboard
Class KeyStroke2String
java.lang.Object
oracle.ide.keyboard.KeyStroke2String
- public final class KeyStroke2String
- extends java.lang.Object
This is a custom String converter class that meets the
static
interface requirements as defined by
ToStringManager.registerCustomConverter(java.lang.Class)
.
This class converts a javax.swing.KeyStroke
instance to
and from String
.
- See Also:
ToStringManager.registerCustomConverter(java.lang.Class)
Method Summary |
static javax.swing.KeyStroke |
fromString(java.lang.String s)
|
static java.lang.Class |
supportedClass()
|
static java.lang.String |
toString(javax.swing.KeyStroke ks)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyStroke2String
public KeyStroke2String()
supportedClass
public static java.lang.Class supportedClass()
toString
public static java.lang.String toString(javax.swing.KeyStroke ks)
fromString
public static javax.swing.KeyStroke fromString(java.lang.String s)
Copyright © 1997, 2004, Oracle. All rights reserved.