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, getSource, setAlternateText, setSource
addListener, addShortcutListener, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getState, getStyleName, getWidth, getWidthUnits, isConnectorEnabled, isEnabled, isImmediate, isReadOnly, isVisible, removeListener, removeShortcutListener, setCaption, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hasListeners, isAttached, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
clone, equals, finalize, getClass, hashCode, 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 © 2015 Magnolia International Ltd.. All rights reserved.