|
||||||||||
| 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.CustomButton
com.google.gwt.user.client.ui.PushButton
public class PushButton
A normal push button with custom styling.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.CustomButton |
|---|
CustomButton.Face |
| 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 | |
|---|---|
PushButton()
Constructor for PushButton. |
|
PushButton(Image upImage)
Constructor for PushButton. |
|
PushButton(Image upImage,
ClickHandler handler)
Constructor for PushButton. |
|
PushButton(Image upImage,
ClickListener listener)
Deprecated. Use PushButton(Image, ClickHandler) instead |
|
PushButton(Image upImage,
Image downImage)
Constructor for PushButton. |
|
PushButton(Image upImage,
Image downImage,
ClickHandler handler)
Constructor for PushButton. |
|
PushButton(Image upImage,
Image downImage,
ClickListener listener)
Deprecated. Use PushButton(Image, Image, ClickHandler) instead |
|
PushButton(java.lang.String upText)
Constructor for PushButton. |
|
PushButton(java.lang.String upText,
ClickHandler handler)
Constructor for PushButton. |
|
PushButton(java.lang.String upText,
ClickListener listener)
Deprecated. Use PushButton(String, ClickHandler) instead |
|
PushButton(java.lang.String upText,
java.lang.String downText)
Constructor for PushButton. |
|
PushButton(java.lang.String upText,
java.lang.String downText,
ClickHandler handler)
Constructor for PushButton. |
|
PushButton(java.lang.String upText,
java.lang.String downText,
ClickListener listener)
Deprecated. Use PushButton(String, String, ClickHandler) instead |
|
| Method Summary |
|---|
| Methods inherited from class com.google.gwt.user.client.ui.CustomButton |
|---|
getDownDisabledFace, getDownFace, getDownHoveringFace, getHTML, getTabIndex, getText, getUpDisabledFace, getUpFace, getUpHoveringFace, onBrowserEvent, setAccessKey, setEnabled, setFocus, setHTML, setTabIndex, setText |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
fireEvent, getLayoutData, getParent, isAttached, 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 PushButton()
PushButton.
public PushButton(Image upImage)
PushButton.
upImage - image for the default(up) face of the button
public PushButton(Image upImage,
ClickHandler handler)
PushButton. The supplied image is used to
construct the default face of the button.
upImage - image for the default (up) face of the buttonhandler - teh click handler
@Deprecated
public PushButton(Image upImage,
ClickListener listener)
PushButton(Image, ClickHandler) instead
PushButton. The supplied image is used to
construct the default face of the button.
upImage - image for the default (up) face of the buttonlistener - the click listener
public PushButton(Image upImage,
Image downImage)
PushButton.
upImage - image for the default(up) face of the buttondownImage - image for the down face of the button
public PushButton(Image upImage,
Image downImage,
ClickHandler handler)
PushButton.
upImage - image for the default(up) face of the buttondownImage - image for the down face of the buttonhandler - the click handler
@Deprecated
public PushButton(Image upImage,
Image downImage,
ClickListener listener)
PushButton(Image, Image, ClickHandler) instead
PushButton.
upImage - image for the default(up) face of the buttondownImage - image for the down face of the buttonlistener - clickListenerpublic PushButton(java.lang.String upText)
PushButton. The supplied text is used to
construct the default face of the button.
upText - the text for the default (up) face of the button.
public PushButton(java.lang.String upText,
ClickHandler handler)
PushButton. The supplied text is used to
construct the default face of the button.
upText - the text for the default (up) face of the buttonhandler - the click handler
@Deprecated
public PushButton(java.lang.String upText,
ClickListener listener)
PushButton(String, ClickHandler) instead
PushButton. The supplied text is used to
construct the default face of the button.
upText - the text for the default (up) face of the buttonlistener - the click listener
public PushButton(java.lang.String upText,
java.lang.String downText)
PushButton.
upText - the text for the default (up) face of the buttondownText - the text for down face of the button
public PushButton(java.lang.String upText,
java.lang.String downText,
ClickHandler handler)
PushButton.
upText - the text for the default (up) face of the buttondownText - the text for down face of the buttonhandler - the click handler
@Deprecated
public PushButton(java.lang.String upText,
java.lang.String downText,
ClickListener listener)
PushButton(String, String, ClickHandler) instead
PushButton.
upText - the text for the default (up) face of the buttondownText - the text for down face of the buttonlistener - the click listener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||