Interface Icon

  • All Superinterfaces:
    Serializable
    All Known Implementing Classes:
    PackageIcon

    public interface Icon
    extends Serializable
    Simple interface that represents an icon.
    Author:
    Matej Knopp
    • Method Detail

      • getUrl

        CharSequence getUrl()
        Returns the URL of icon image.
        Returns:
        icon URL
      • getWidth

        int getWidth()
        Returns the icon width.
        Returns:
        icon width (in pixels) or -1 if the width can not be determined
      • getHeight

        int getHeight()
        Returns the icon height.
        Returns:
        icon height (in pixels) or -1 if the height can not be determined