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 -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.shared.RegistrationaddDragEndListener(com.vaadin.flow.component.ComponentEventListener<DragEndEvent> listener) com.vaadin.flow.shared.RegistrationaddDragListener(com.vaadin.flow.component.ComponentEventListener<DragEvent> listener) com.vaadin.flow.shared.RegistrationaddDragStartListener(com.vaadin.flow.component.ComponentEventListener<DragStartEvent> listener) com.vaadin.flow.shared.RegistrationaddPinchEndListener(com.vaadin.flow.component.ComponentEventListener<PinchEndEvent> listener) com.vaadin.flow.shared.RegistrationaddPinchListener(com.vaadin.flow.component.ComponentEventListener<PinchEvent> listener) com.vaadin.flow.shared.RegistrationaddPinchStartListener(com.vaadin.flow.component.ComponentEventListener<PinchStartEvent> listener) com.vaadin.flow.shared.RegistrationaddReadyListener(com.vaadin.flow.component.ComponentEventListener<ReadyEvent> listener) com.vaadin.flow.shared.RegistrationaddResizeListener(com.vaadin.flow.component.ComponentEventListener<ResizeEvent> listener) com.vaadin.flow.shared.RegistrationaddSlideEndListener(com.vaadin.flow.component.ComponentEventListener<SlideEndEvent> listener) com.vaadin.flow.shared.RegistrationaddSlideListener(com.vaadin.flow.component.ComponentEventListener<SlideEvent> listener) com.vaadin.flow.shared.RegistrationaddSlideStartListener(com.vaadin.flow.component.ComponentEventListener<SlideStartEvent> listener) com.vaadin.flow.shared.RegistrationaddWheelListener(com.vaadin.flow.component.ComponentEventListener<WheelEvent> listener) com.vaadin.flow.shared.RegistrationaddZoomListener(com.vaadin.flow.component.ComponentEventListener<ZoomEvent> listener) voidgetContainerData(com.vaadin.flow.function.SerializableConsumer<ContainerData> consumer) com.flowingcode.vaadin.addons.zoomist.Zoomist.FillgetFill()doubledoublebooleanisBounds()booleanbooleanbooleanisSlider()booleanbooleanisZoomer()voidmove(double x, double y) voidmoveTo(double x, double y) voidreset()voidsetBounds(boolean bounds) voidsetDraggable(boolean draggable) voidsetFill(com.flowingcode.vaadin.addons.zoomist.Zoomist.Fill fill) voidvoidsetMaxRatio(double value) voidsetPinchable(boolean pinchable) voidsetSlider(boolean visible) voidsetSlider(String el, com.flowingcode.vaadin.addons.zoomist.Zoomist.Direction direction, Double maxRatio) voidvoidsetWheelable(boolean wheelable) voidsetZoomer(boolean visible) voidvoidsetZoomRatio(double value) voidzoom(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, 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
-
Constructor Details
-
Zoomist
-
-
Method Details
-
setSrc
-
setSlider
public void setSlider(boolean visible) -
setSlider
-
isSlider
public boolean isSlider() -
setZoomer
public void setZoomer(boolean visible) -
setZoomer
-
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
-
getHeight
-
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
-
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)
-