Package org.parttio
Class LeaderLineFactory
java.lang.Object
com.vaadin.flow.component.Component
org.parttio.LeaderLineFactory
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasStyle,Serializable
@NpmPackage(value="leader-line-new",
version="1.1.9")
@JsModule("./leader-line-addon/leaderline.js")
public class LeaderLineFactory
extends com.vaadin.flow.component.Component
A simple wrapper for the LeaderLine library.
Because of "reasons" you might need to use @Uses(LeaderLine.class) in your main layout.
See also: https://github.com/II-alex-II/leader-line-new
Implementation note: This class implements class only to hack around Framework to load the JS library. The actual implementation is not a component tied to a DOM element.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic LeaderLinedrawLine(com.vaadin.flow.component.Component from, com.vaadin.flow.component.Component to) static LeaderLinedrawLine(com.vaadin.flow.component.Component from, com.vaadin.flow.component.Component to, LeaderLineOptions options) Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, 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 java.lang.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 com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Method Details
-
drawLine
public static LeaderLine drawLine(com.vaadin.flow.component.Component from, com.vaadin.flow.component.Component to, LeaderLineOptions options) -
drawLine
public static LeaderLine drawLine(com.vaadin.flow.component.Component from, com.vaadin.flow.component.Component to)
-