public final class CroppableImage extends com.vaadin.ui.Image implements JCropHandler
JCrop
.Modifier and Type | Class and Description |
---|---|
static class |
CroppableImage.JCropEvent
JCropEvent.
|
static class |
CroppableImage.JCropReleaseEvent
JCropReleaseEvent.
|
static class |
CroppableImage.JCropSelectionEvent
JCropSelectionEvent.
|
static interface |
CroppableImage.ReleaseListener
ReleaseListener.
|
static interface |
CroppableImage.SelectionListener
SelectionListener.
|
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
Constructor and Description |
---|
CroppableImage() |
Modifier and Type | Method and Description |
---|---|
void |
addReleaseListener(CroppableImage.ReleaseListener listener) |
void |
addSelectionListener(CroppableImage.SelectionListener listener) |
void |
addStyleName(String style) |
void |
fireEvent(EventObject event) |
JCrop |
getJcrop() |
void |
handleRelease() |
void |
handleSelection(SelectionArea area) |
void |
removeReleaseListener(CroppableImage.ReleaseListener listener) |
void |
removeSelectionListener(CroppableImage.SelectionListener listener) |
void |
removeStyleName(String style) |
void |
setHeight(float height,
com.vaadin.server.Sizeable.Unit unit) |
void |
setWidth(float width,
com.vaadin.server.Sizeable.Unit unit) |
addClickListener, addListener, getState, removeClickListener, removeListener
getAlternateText, getCustomAttributes, getSource, getState, readDesign, setAlternateText, setSource, writeDesign
addContextClickListener, addListener, addShortcutListener, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getExplicitImmediateValue, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isImmediate, isOrHasAncestor, isReadOnly, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeightUndefined, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setStyleName, setVisible, setWidth, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
public JCrop getJcrop()
public void fireEvent(EventObject event)
fireEvent
in class com.vaadin.server.AbstractClientConnector
public void addSelectionListener(CroppableImage.SelectionListener listener)
addSelectionListener
in interface JCropHandler
public void removeSelectionListener(CroppableImage.SelectionListener listener)
removeSelectionListener
in interface JCropHandler
public void addReleaseListener(CroppableImage.ReleaseListener listener)
addReleaseListener
in interface JCropHandler
public void removeReleaseListener(CroppableImage.ReleaseListener listener)
removeReleaseListener
in interface JCropHandler
public void setWidth(float width, com.vaadin.server.Sizeable.Unit unit)
setWidth
in interface com.vaadin.server.Sizeable
setWidth
in class com.vaadin.ui.AbstractComponent
public void setHeight(float height, com.vaadin.server.Sizeable.Unit unit)
setHeight
in interface com.vaadin.server.Sizeable
setHeight
in class com.vaadin.ui.AbstractComponent
public void addStyleName(String style)
addStyleName
in interface com.vaadin.ui.Component
addStyleName
in class com.vaadin.ui.AbstractComponent
public void removeStyleName(String style)
removeStyleName
in interface com.vaadin.ui.Component
removeStyleName
in class com.vaadin.ui.AbstractComponent
public void handleSelection(SelectionArea area)
handleSelection
in interface JCropHandler
public void handleRelease()
handleRelease
in interface JCropHandler
Copyright © 2017 Magnolia International Ltd.. All rights reserved.