|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vaadin.server.AbstractClientConnector com.vaadin.ui.AbstractComponent com.vaadin.ui.AbstractEmbedded com.vaadin.ui.Image info.magnolia.ui.vaadin.editor.CroppableImage
public final class CroppableImage
Image extended with JCrop
.
Nested Class Summary | |
---|---|
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. |
Nested classes/interfaces inherited from interface com.vaadin.ui.Component |
---|
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener |
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector |
---|
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 |
Nested classes/interfaces inherited from interface com.vaadin.server.Sizeable |
---|
com.vaadin.server.Sizeable.Unit |
Field Summary |
---|
Fields inherited from class com.vaadin.ui.Image |
---|
rpc |
Fields inherited from interface com.vaadin.server.Sizeable |
---|
SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS |
Constructor Summary | |
---|---|
CroppableImage()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class com.vaadin.ui.Image |
---|
addClickListener, addListener, getState, removeClickListener, removeListener |
Methods inherited from class com.vaadin.ui.AbstractEmbedded |
---|
getAlternateText, getSource, setAlternateText, setSource |
Methods inherited from class com.vaadin.ui.AbstractComponent |
---|
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 |
Methods inherited from class com.vaadin.server.AbstractClientConnector |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.vaadin.ui.Component |
---|
getUI |
Methods inherited from interface com.vaadin.server.ClientConnector |
---|
addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler |
Methods inherited from interface com.vaadin.shared.Connector |
---|
getConnectorId |
Constructor Detail |
---|
public CroppableImage()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |