Class VSvg
java.lang.Object
com.vaadin.flow.component.Component
org.vaadin.firitin.components.VSvg
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, Serializable, FluentHasSize<VSvg>, FluentHasStyle<VSvg>
public class VSvg
extends com.vaadin.flow.component.Component
implements FluentHasSize<VSvg>, FluentHasStyle<VSvg>
A utility class for creating SVG components in Vaadin.
This class extends the Component class and provides constructors
to create an SVG element with specified dimensions or default dimensions.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface FluentHasSize
addResizeListener, withFullHeight, withFullWidth, withHeight, withMaxHeight, withMaxSize, withMaxWidth, withMinHeight, withMinSize, withMinWidth, withSize, withSizeFull, withSizeUndefined, withWidthMethods inherited from interface FluentHasStyle
getStyle, withAddedClassName, withClassName, withStyleMethods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Constructor Details
-
VSvg
public VSvg(int minX, int minY, int width, int height) -
VSvg
public VSvg()
-
-
Method Details
-
getElement
- Specified by:
getElementin interfacecom.vaadin.flow.component.HasElement- Overrides:
getElementin classcom.vaadin.flow.component.Component
-