|
||||||||||
| 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.google.gwt.user.client.ui.FocusWidget
com.google.gwt.user.client.ui.ButtonBase
com.google.gwt.user.client.ui.Button
com.google.gwt.user.client.ui.ResetButton
public class ResetButton
A standard push-button widget which will automatically reset its enclosing
FormPanel if any.
| Nested Class Summary |
|---|
| 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 |
| Constructor Summary | |
|---|---|
ResetButton()
Creates a button with no caption. |
|
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. |
|
| Method Summary | |
|---|---|
static Button |
wrap(Element element)
Creates a ResetButton widget that wraps an existing <button> element. |
| Methods inherited from class com.google.gwt.user.client.ui.Button |
|---|
click |
| Methods inherited from class com.google.gwt.user.client.ui.ButtonBase |
|---|
getHTML, getText, setHTML, setText |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
fireEvent, getLayoutData, getParent, isAttached, onBrowserEvent, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Constructor Detail |
|---|
public ResetButton()
public ResetButton(java.lang.String html)
html - the HTML caption
public ResetButton(java.lang.String html,
ClickHandler handler)
html - the HTML captionhandler - the click handler| Method Detail |
|---|
public static Button wrap(Element element)
RootPanel.detachNow(Widget).
element - the element to be wrapped
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||