Class 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.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

      • StringValueUIResource

        public 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