public class StatusProxy extends Component
| Modifier and Type | Class and Description |
|---|---|
static interface |
StatusProxy.StatusProxyAppearance |
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabledDEBUG_ID_PREFIX| Modifier and Type | Method and Description |
|---|---|
static StatusProxy |
get()
Returns the singleton instance.
|
boolean |
getStatus()
Returns true if the drop is allowed.
|
void |
setStatus(boolean allowed)
Updates the proxy's visual element to indicate the status of whether or not
drop is allowed over the current target element.
|
void |
setStatus(boolean allowed,
ImageResource icon) |
void |
update(SafeHtml html) |
void |
update(String html)
Updates the contents of the ghost element.
|
addBeforeHideHandler, addBeforeShowContextMenuHandler, addBeforeShowHandler, addBlurHandler, addDisableHandler, addEnableHandler, addFocusHandler, addHideHandler, addMoveHandler, addResizeHandler, addShowContextMenuHandler, addShowHandler, addStyleOnOver, clearSizeCache, disable, disableEvents, enable, enableEvents, fireEvent, focus, getData, getElement, getFocusSupport, getHideMode, getId, getItemId, getOffsetHeight, getOffsetWidth, getShadow, getStateId, getToolTip, hide, hideToolTip, isAllowTextSelection, isAutoHeight, isAutoWidth, isDeferHeight, isEnabled, isRendered, isStateful, isVisible, isVisible, mask, mask, onBrowserEvent, removeHandler, removeToolTip, setAllowTextSelection, setBorders, setBounds, setBounds, setContextMenu, setData, setDeferHeight, setEnabled, setHeight, setHeight, setHideMode, setId, setItemId, setPagePosition, setPixelSize, setPosition, setShadow, setSize, setStateful, setStateId, setTabIndex, setToolTip, setToolTipConfig, setVisible, setWidth, setWidth, show, sync, syncSize, unmaskaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, getLayoutData, getParent, isAttached, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, removeStyleName, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString, unsinkEventspublic static StatusProxy get()
public boolean getStatus()
public void setStatus(boolean allowed)
allowed - true for the standard ok icon, false for standard no iconpublic void setStatus(boolean allowed,
ImageResource icon)
public void update(SafeHtml html)
public void update(String html)
html - the html that will replace the current contents of the ghost
elementCopyright © 2012. All Rights Reserved.