public class ResetButton extends Button
FormPanel
if any.
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
eventsToSink
DEBUG_ID_PREFIX, MISSING_ELEMENT_ERROR, SETELEMENT_TWICE_ERROR
Modifier | Constructor and Description |
---|---|
|
ResetButton()
Creates a button with no caption.
|
protected |
ResetButton(Element element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
|
ResetButton(SafeHtml html)
Creates a button with the given HTML caption.
|
|
ResetButton(SafeHtml html,
ClickHandler handler)
Creates a button with the given HTML caption and click listener.
|
|
ResetButton(java.lang.String html)
Creates a button with the given HTML caption.
|
|
ResetButton(java.lang.String html,
ClickHandler handler)
Creates a button with the given HTML caption and click listener.
|
Modifier and Type | Method and Description |
---|---|
static Button |
wrap(Element element)
Creates a ResetButton widget that wraps an existing <button> element.
|
click, getButtonElement
getHTML, getText, setHTML, setHTML, setText
addBlurHandler, addClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addFocusHandler, addFocusListener, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addKeyboardListener, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, getFocusImpl, getTabIndex, isEnabled, onAttach, removeClickListener, removeFocusListener, removeKeyboardListener, removeMouseListener, removeMouseWheelListener, setAccessKey, setEnabled, setFocus, setTabIndex
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, ensureHandlers, fireEvent, getHandlerCount, getHandlerManager, getLayoutData, getParent, isAttached, isOrWasAttached, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, replaceElement, setLayoutData, setParent, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fireEvent
public ResetButton()
public ResetButton(SafeHtml html)
html
- the HTML captionpublic ResetButton(java.lang.String html)
html
- the HTML captionpublic ResetButton(SafeHtml html, ClickHandler handler)
html
- the HTML captionhandler
- the click handlerpublic ResetButton(java.lang.String html, ClickHandler handler)
html
- the HTML captionhandler
- the click handlerprotected ResetButton(Element element)
element
- the element to be usedpublic static Button wrap(Element element)
RootPanel.detachNow(Widget)
.element
- the element to be wrapped