Package resources.icons

# Class BytesImageIcon

java.lang.Object
javax.swing.ImageIcon
resources.icons.LazyImageIcon
resources.icons.BytesImageIcon

All Implemented Interfaces:
  `Serializable`, `Accessible`, `Icon`, `FileBasedIcon`

public class BytesImageIcon extends LazyImageIcon
`LazyImageIcon` that is created from a byte array

See Also:
  - Serialized Form

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class javax.swing.ImageIcon

  `ImageIcon.AccessibleImageIcon`

- ## Field Summary

  ### Fields inherited from class javax.swing.ImageIcon

  `component, tracker`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BytesImageIcon(String name, byte[] imageBytes)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected Image`
  `createImage()`
  `protected ImageIcon`
  `createImageIcon()`

  ### Methods inherited from class resources.icons.LazyImageIcon

  `getAccessibleContext, getDescription, getFilename, getIconHeight, getIconWidth, getImage, getImageLoadStatus, getImageObserver, paintIcon, setDescription, setImage, sourceIconChanged, toString`

  ### Methods inherited from class javax.swing.ImageIcon

  `loadImage, setImageObserver`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### BytesImageIcon

    public BytesImageIcon(String name, byte[] imageBytes)

- ## Method Details

  - ### createImageIcon

    protected ImageIcon createImageIcon()
    Specified by:
      `createImageIcon` in class `LazyImageIcon`

  - ### createImage

    protected Image createImage()