ObjectIcon

Icon image data class-path resource reference.

API

ObjectIcon.java
interface ObjectIcon {
  String shortName()     (1)
  String mediaType()     (2)
  byte[] iconData()     (3)
}
1 shortName()

Name for the image, usually corresponds to the domain object’s class simple name.

2 mediaType()

The image media type, e.g. image/pdf or text/css for font-awesome icons.

3 iconData()

Image data as bytes (plain, no encoding) or 'quick-notation' in support of font awesome layers.

Members

shortName()

Name for the image, usually corresponds to the domain object’s class simple name.

mediaType()

The image media type, e.g. image/pdf or text/css for font-awesome icons.

iconData()

Image data as bytes (plain, no encoding) or 'quick-notation' in support of font awesome layers.