Class Zoomist

java.lang.Object
com.vaadin.flow.component.Component
com.flowingcode.vaadin.addons.zoomist.Zoomist
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="zoomist", version="1.1.1") @JsModule("./zoomist/fc-zoomist.ts") @Tag("fc-zoomist") public class Zoomist extends com.vaadin.flow.component.Component
Java compone.

This component is a wrapper for Zoomist Web Component (https://npm.io/package/zoomist)

Author:
Felipe Lang / Flowing Code
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.vaadin.flow.shared.Registration
    addDragEndListener(com.vaadin.flow.component.ComponentEventListener<DragEndEvent> listener)
     
    com.vaadin.flow.shared.Registration
    addDragListener(com.vaadin.flow.component.ComponentEventListener<DragEvent> listener)
     
    com.vaadin.flow.shared.Registration
    addDragStartListener(com.vaadin.flow.component.ComponentEventListener<DragStartEvent> listener)
     
    com.vaadin.flow.shared.Registration
    addPinchEndListener(com.vaadin.flow.component.ComponentEventListener<PinchEndEvent> listener)
     
    com.vaadin.flow.shared.Registration
    addPinchListener(com.vaadin.flow.component.ComponentEventListener<PinchEvent> listener)
     
    com.vaadin.flow.shared.Registration
    addPinchStartListener(com.vaadin.flow.component.ComponentEventListener<PinchStartEvent> listener)
     
    com.vaadin.flow.shared.Registration
    addReadyListener(com.vaadin.flow.component.ComponentEventListener<ReadyEvent> listener)
     
    com.vaadin.flow.shared.Registration
    addResizeListener(com.vaadin.flow.component.ComponentEventListener<ResizeEvent> listener)
     
    com.vaadin.flow.shared.Registration
    addSlideEndListener(com.vaadin.flow.component.ComponentEventListener<SlideEndEvent> listener)
     
    com.vaadin.flow.shared.Registration
    addSlideListener(com.vaadin.flow.component.ComponentEventListener<SlideEvent> listener)
     
    com.vaadin.flow.shared.Registration
    addSlideStartListener(com.vaadin.flow.component.ComponentEventListener<SlideStartEvent> listener)
     
    com.vaadin.flow.shared.Registration
    addWheelListener(com.vaadin.flow.component.ComponentEventListener<WheelEvent> listener)
     
    com.vaadin.flow.shared.Registration
    addZoomListener(com.vaadin.flow.component.ComponentEventListener<ZoomEvent> listener)
     
    void
    getContainerData(com.vaadin.flow.function.SerializableConsumer<ContainerData> consumer)
     
     
    com.flowingcode.vaadin.addons.zoomist.Zoomist.Fill
     
     
    double
     
    double
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    void
    move(double x, double y)
     
    void
    moveTo(double x, double y)
     
    void
     
    void
    setBounds(boolean bounds)
     
    void
    setDraggable(boolean draggable)
     
    void
    setFill(com.flowingcode.vaadin.addons.zoomist.Zoomist.Fill fill)
     
    void
     
    void
    setMaxRatio(double value)
     
    void
    setPinchable(boolean pinchable)
     
    void
    setSlider(boolean visible)
     
    void
    setSlider(String el, com.flowingcode.vaadin.addons.zoomist.Zoomist.Direction direction, Double maxRatio)
     
    void
     
    void
    setWheelable(boolean wheelable)
     
    void
    setZoomer(boolean visible)
     
    void
    setZoomer(String inEl, String outEl, boolean disableOnBounds)
     
    void
    setZoomRatio(double value)
     
    void
    zoom(double ratio)
     

    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, setVisible

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.flow.component.AttachNotifier

    addAttachListener

    Methods inherited from interface com.vaadin.flow.component.DetachNotifier

    addDetachListener

    Methods inherited from interface com.vaadin.flow.component.HasStyle

    addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
  • Constructor Details

    • Zoomist

      public Zoomist(String src)
  • Method Details

    • setSrc

      public void setSrc(String src)
    • setSlider

      public void setSlider(boolean visible)
    • setSlider

      public void setSlider(String el, com.flowingcode.vaadin.addons.zoomist.Zoomist.Direction direction, Double maxRatio)
    • isSlider

      public boolean isSlider()
    • setZoomer

      public void setZoomer(boolean visible)
    • setZoomer

      public void setZoomer(String inEl, String outEl, boolean disableOnBounds)
    • isZoomer

      public boolean isZoomer()
    • getFill

      public com.flowingcode.vaadin.addons.zoomist.Zoomist.Fill getFill()
    • setFill

      public void setFill(com.flowingcode.vaadin.addons.zoomist.Zoomist.Fill fill)
    • setDraggable

      public void setDraggable(boolean draggable)
    • isDraggable

      public boolean isDraggable()
    • setWheelable

      public void setWheelable(boolean wheelable)
    • isWheelable

      public boolean isWheelable()
    • setPinchable

      public void setPinchable(boolean pinchable)
    • isPinchable

      public boolean isPinchable()
    • setBounds

      public void setBounds(boolean bounds)
    • isBounds

      public boolean isBounds()
    • setZoomRatio

      public void setZoomRatio(double value)
    • getZoomRatio

      public double getZoomRatio()
    • setMaxRatio

      public void setMaxRatio(double value)
    • getMaxRatio

      public double getMaxRatio()
    • setHeight

      public void setHeight(String value)
    • getHeight

      public String getHeight()
    • getContainerData2

      public String getContainerData2()
    • zoom

      public void zoom(double ratio)
    • move

      public void move(double x, double y)
    • moveTo

      public void moveTo(double x, double y)
    • reset

      public void reset()
    • getContainerData

      public void getContainerData(com.vaadin.flow.function.SerializableConsumer<ContainerData> consumer)
    • addReadyListener

      public com.vaadin.flow.shared.Registration addReadyListener(com.vaadin.flow.component.ComponentEventListener<ReadyEvent> listener)
    • addZoomListener

      public com.vaadin.flow.shared.Registration addZoomListener(com.vaadin.flow.component.ComponentEventListener<ZoomEvent> listener)
    • addWheelListener

      public com.vaadin.flow.shared.Registration addWheelListener(com.vaadin.flow.component.ComponentEventListener<WheelEvent> listener)
    • addDragStartListener

      public com.vaadin.flow.shared.Registration addDragStartListener(com.vaadin.flow.component.ComponentEventListener<DragStartEvent> listener)
    • addDragListener

      public com.vaadin.flow.shared.Registration addDragListener(com.vaadin.flow.component.ComponentEventListener<DragEvent> listener)
    • addDragEndListener

      public com.vaadin.flow.shared.Registration addDragEndListener(com.vaadin.flow.component.ComponentEventListener<DragEndEvent> listener)
    • addSlideStartListener

      public com.vaadin.flow.shared.Registration addSlideStartListener(com.vaadin.flow.component.ComponentEventListener<SlideStartEvent> listener)
    • addSlideListener

      public com.vaadin.flow.shared.Registration addSlideListener(com.vaadin.flow.component.ComponentEventListener<SlideEvent> listener)
    • addSlideEndListener

      public com.vaadin.flow.shared.Registration addSlideEndListener(com.vaadin.flow.component.ComponentEventListener<SlideEndEvent> listener)
    • addPinchStartListener

      public com.vaadin.flow.shared.Registration addPinchStartListener(com.vaadin.flow.component.ComponentEventListener<PinchStartEvent> listener)
    • addPinchListener

      public com.vaadin.flow.shared.Registration addPinchListener(com.vaadin.flow.component.ComponentEventListener<PinchEvent> listener)
    • addPinchEndListener

      public com.vaadin.flow.shared.Registration addPinchEndListener(com.vaadin.flow.component.ComponentEventListener<PinchEndEvent> listener)
    • addResizeListener

      public com.vaadin.flow.shared.Registration addResizeListener(com.vaadin.flow.component.ComponentEventListener<ResizeEvent> listener)