org.jdesktop.swingx.renderer
Class StringValues.StringValueUIResource

java.lang.Object
  extended by org.jdesktop.swingx.renderer.StringValues.StringValueUIResource
All Implemented Interfaces:
java.io.Serializable, javax.swing.plaf.UIResource, StringValue
Enclosing class:
StringValues

public static class StringValues.StringValueUIResource
extends java.lang.Object
implements StringValue, javax.swing.plaf.UIResource

StringValue wrapper of type UIResource to tag LAF installed converters.

Author:
Jeanette Winzenburg, Berlin
See Also:
Serialized Form

Constructor Summary
StringValues.StringValueUIResource(StringValue toString)
           
 
Method Summary
 java.lang.String getString(java.lang.Object value)
          Returns a string representation of the given value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringValues.StringValueUIResource

public StringValues.StringValueUIResource(StringValue toString)
Method Detail

getString

public java.lang.String getString(java.lang.Object value)
Description copied from interface: StringValue
Returns a string representation of the given value.

PENDING JW: forgot - why not null return guaranteed?

Specified by:
getString in interface StringValue
Parameters:
value - the object to present as a string
Returns:
a string representation of the given value, guaranteed to be not null


Copyright © 2011. All Rights Reserved.