Class Vendor

  • Direct Known Subclasses:
    SoVendor

    public abstract class Vendor
    extends java.lang.Object
    Generic structure for vendor information.
    • Constructor Summary

      Constructors 
      Constructor Description
      Vendor()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.image.BufferedImage getImage()
      Returns a vendor specific image for e.g.
      abstract java.lang.String getName()
      Returns the name of the vendor.
      java.net.URL getURL()
      Returns a URL to a vendor homepage.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Vendor

        public Vendor()
    • Method Detail

      • getName

        public abstract java.lang.String getName()
        Returns the name of the vendor. This method must never return null.
        Returns:
        the name of the vendor.
      • getImage

        public java.awt.image.BufferedImage getImage()
        Returns a vendor specific image for e.g. the company sign. If no such image is available, null may be returned. This image can be used to for example to present a "Device Selection Dialog".

        NOTE: The default implementation will return null. Override this method if a custom image shall be returned.

        Returns:
      • getURL

        public java.net.URL getURL()
        Returns a URL to a vendor homepage. This is optional and can be null.
        Returns:
        a URL to a vendor homepage or null