@Dependent public class LienzoCanvasMediators extends Object
| Constructor and Description |
|---|
LienzoCanvasMediators(KeyEventHandler keyEventHandler,
ClientTranslationService translationService,
LienzoCanvasNotification notification,
org.appformer.client.context.EditorContextProvider editorContextProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
disable() |
void |
enable() |
void |
init(Supplier<LienzoCanvas> canvas) |
void |
setMaxScale(double maxScale) |
void |
setMinScale(double minScale) |
void |
setScaleAboutPoint(boolean scaleAboutPoint) |
void |
setZoomFactor(double factor) |
@Inject public LienzoCanvasMediators(KeyEventHandler keyEventHandler, ClientTranslationService translationService, LienzoCanvasNotification notification, org.appformer.client.context.EditorContextProvider editorContextProvider)
public void init(Supplier<LienzoCanvas> canvas)
public void setMinScale(double minScale)
public void setMaxScale(double maxScale)
public void setZoomFactor(double factor)
public void setScaleAboutPoint(boolean scaleAboutPoint)
public void enable()
public void disable()
@PreDestroy public void destroy()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.