Class AbstractHTMLImageProducer<T>

  • Type Parameters:
    T - The value type
    Direct Known Subclasses:
    DefaultHTMLImageProducer

    public abstract class AbstractHTMLImageProducer<T>
    extends java.lang.Object
    The abstract object able to produce an HTML image element based on a value
    Author:
    gianpiero.diblasi
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      T getValue()
      Returns the value
      abstract simulation.dom.$Image produce()
      Produces an HTML image element
      • Methods inherited from class java.lang.Object

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

      • AbstractHTMLImageProducer

        public AbstractHTMLImageProducer​(T value)
        Creates the object
        Parameters:
        value - The value
    • Method Detail

      • produce

        public abstract simulation.dom.$Image produce()
        Produces an HTML image element
        Returns:
        An HTML image element
      • getValue

        public T getValue()
        Returns the value
        Returns:
        The value