|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.sencha.gxt.widget.core.client.Component
com.sencha.gxt.dnd.core.client.StatusProxy
public class StatusProxy
A custom widget used to display the status of the drag operation and information about the data being dragged. The widget is displayed next to the cursor as the user drags data.
| Nested Class Summary | |
|---|---|
static interface |
StatusProxy.StatusProxyAppearance
|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, getLayoutData, getParent, isAttached, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, removeStyleName, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static StatusProxy get()
public boolean getStatus()
public void setStatus(boolean allowed)
allowed - true for the standard ok icon, false for standard no icon
public 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
element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||