Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
The tag is used to group and represent content that is referenced from the main
* content, often with a caption or legend. This class provides a convenient way to create,
* manipulate, and control the behavior of elements, making it easier to use them in
* Java-based web applications. Example usage:
*
*
{@code
* HTMLElement figureElement = ...; // Obtain a element from somewhere
* FigureElement figure = FigureElement.of(figureElement);
* }
*
* @see MDN Web Docs
* (figure element)
*/
public class FigureElement extends BaseElement {
/**
* Creates a new {@link FigureElement} instance by wrapping the provided HTML element.
*
* @param e The HTML element.
* @return A new {@link FigureElement} instance wrapping the provided element.
*/
public static FigureElement of(HTMLElement e) {
return new FigureElement(e);
}
/**
* Constructs a {@link FigureElement} instance by wrapping the provided HTML element.
*
* @param element The HTML element to wrap.
*/
public FigureElement(HTMLElement element) {
super(element);
}
}