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,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
void |
attach(PageEditorFrame frame) |
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 MoveWidget(com.google.gwt.dom.client.Element element, int width, int height)
public void attach(PageEditorFrame frame)
public void detach()
Copyright © 2019 Magnolia International Ltd.. All rights reserved.