Class IconValues


  • public final class IconValues
    extends java.lang.Object
    A collection of common IconValue implementations.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      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.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private IconValues()  
    • 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.
    • Constructor Detail

      • IconValues

        private IconValues()