public class DownloadButton extends com.google.gwt.user.client.ui.Composite implements com.google.gwt.user.client.ui.HasText, com.google.gwt.user.client.ui.HasEnabled, HasSelectHandlers
| Modifier and Type | Class and Description |
|---|---|
static class |
DownloadButton.DownloadButtonAll |
static class |
DownloadButton.DownloadButtonBlob |
static interface |
DownloadButton.DownloadData
Deprecated.
|
static interface |
DownloadButton.DownloadInfo |
| Constructor and Description |
|---|
DownloadButton() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addSelectHandler(SelectHandler handler) |
void |
fireDownload(DownloadButton.DownloadInfo downloadData) |
String |
getText() |
boolean |
isEnabled() |
void |
select() |
void |
setEnabled(boolean enabled) |
protected void |
setPreventDefaultTouchEvents(boolean preventDefaultTouchEvents) |
void |
setStyleName(String style) |
void |
setText(String text) |
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringpublic void fireDownload(DownloadButton.DownloadInfo downloadData)
public void select()
public String getText()
getText in interface com.google.gwt.user.client.ui.HasTextpublic void setStyleName(String style)
setStyleName in class com.google.gwt.user.client.ui.UIObjectpublic void setText(String text)
setText in interface com.google.gwt.user.client.ui.HasTextpublic boolean isEnabled()
isEnabled in interface com.google.gwt.user.client.ui.HasEnabledpublic void setEnabled(boolean enabled)
setEnabled in interface com.google.gwt.user.client.ui.HasEnabledpublic com.google.gwt.event.shared.HandlerRegistration addSelectHandler(SelectHandler handler)
addSelectHandler in interface HasSelectHandlersprotected void setPreventDefaultTouchEvents(boolean preventDefaultTouchEvents)
Copyright © 2014. All rights reserved.