Extension SDK 10.1.2

oracle.ide.keyboard
Class KeyStroke2String

java.lang.Object
  extended byoracle.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)

Constructor Summary
KeyStroke2String()
           
 
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
 

Constructor Detail

KeyStroke2String

public KeyStroke2String()
Method Detail

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)

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.