Documentation of 'org.jdesktop.swingx.renderer.MappedValue' Java class
MappedValue
org.jdesktop.swingx.renderer

Class MappedValue

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean getBoolean(java.lang.Object value)
      javax.swing.Icon getIcon(java.lang.Object value)
      Returns a icon representation of the given value.
      java.lang.String getString(java.lang.Object value)
      Returns a string representation of the given value.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getString

        public java.lang.String getString(java.lang.Object value)
        Returns a string representation of the given value.

        PENDING JW: forgot - why not null return guaranteed?

        This implementation delegates to the contained StringValue if available or returns an empty String, if not.

        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
      • getIcon

        public javax.swing.Icon getIcon(java.lang.Object value)
        Returns a icon representation of the given value.

        This implementation delegates to the contained IconValue if available or returns null, if not.

        Specified by:
        getIcon in interface IconValue
        Parameters:
        value - the object to present as Icon
        Returns:
        a Icon representation of the given value, may be null if none available.
      • getBoolean

        public boolean getBoolean(java.lang.Object value)

        This implementation delegates to the contained BooleanValue if available or returns false, if not.

        Specified by:
        getBoolean in interface BooleanValue

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.