org.jdesktop.swingx.renderer
Class IconValues

java.lang.Object
  extended by org.jdesktop.swingx.renderer.IconValues

public final class IconValues
extends Object

A collection of common IconValue implementations.


Field Summary
static IconValue FILE_ICON
          An IconValue that presents the current L&F icon for a given file.
static IconValue ICON
          Returns the value as Icon if possible or null.
static IconValue NONE
          Always NULL_ICON.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final IconValue NONE
Always NULL_ICON. This is useful to indicate that we really want no icon instead of f.i. a default provided by the CellContext.


ICON

public static final IconValue ICON
Returns the value as Icon if possible or null.


FILE_ICON

public static final IconValue FILE_ICON
An IconValue that presents the current L&F icon for a given file. If the value passed to FILE_ICON is not a File, this has the same effect as NONE.