Class Picture

    • Constructor Detail

      • Picture

        public Picture​(java.lang.String id)
        Creates a picture component
        Parameters:
        id - the id of the picture component
      • Picture

        public Picture​(java.lang.String id,
                       IModel<?> model)
        Creates a picture component
        Parameters:
        id - the id of the picture component
        model - the component's model
    • Method Detail

      • onComponentTag

        protected void onComponentTag​(ComponentTag tag)
        builds the component tag and checks the tag to be a picture
        Overrides:
        onComponentTag in class Component
        Parameters:
        tag - Tag to modify