Interface IImage

    • Field Detail

      • DEFAULT

        static final IImage DEFAULT
        Constant for default attributes of this immutable component.
    • Method Detail

      • getWidgetClass

        default java.lang.String getWidgetClass()
        Returns the client widget class.

        Default: "zul.wgt.Image"

        Specified by:
        getWidgetClass in interface IComponent<IImage>
      • of

        static IImage of​(java.lang.String src)
        Returns the instance with the given src.
        Parameters:
        src - The URI of the image source.
      • ofSize

        static IImagemap ofSize​(java.lang.String width,
                                java.lang.String height)
        Returns the instance with the given width and height.
        Parameters:
        width - The width of the image.
        height - The height of the image.
      • ofId

        static IImage ofId​(java.lang.String id)
        Returns the instance with the given id.
        Parameters:
        id - The id to identify this component