public class MoveWidget
extends com.google.gwt.user.client.ui.Widget
ComponentBar
.
Wraps the moved widget and attaches MouseMoveHandler
to the BodyElement
of the PageEditorFrame
.Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME |
static int |
OFFSET_FROM_MOUSE |
Constructor and Description |
---|
MoveWidget(com.google.gwt.dom.client.Element element) |
Modifier and Type | Method and Description |
---|---|
void |
attach(PageEditorFrame frame,
int width,
int height) |
void |
detach() |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
public static final String CLASS_NAME
public static final int OFFSET_FROM_MOUSE
public void attach(PageEditorFrame frame, int width, int height)
public void detach()
Copyright © 2016 Magnolia International Ltd.. All rights reserved.