public class SearchBoxLikeButton extends com.google.gwt.user.client.ui.Composite implements IsSWMMobileWidget, com.google.gwt.event.dom.client.HasTouchStartHandlers, com.google.gwt.event.dom.client.HasClickHandlers
| Modifier and Type | Field and Description |
|---|---|
protected SearchBoxCss |
css |
| Constructor and Description |
|---|
SearchBoxLikeButton()
Construct a search box
|
SearchBoxLikeButton(SearchBoxCss css)
Construct a search box with a given css
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addClickHandler(com.google.gwt.event.dom.client.ClickHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addTouchStartHandler(com.google.gwt.event.dom.client.TouchStartHandler handler) |
String |
getText()
getText
|
protected void |
onAttach() |
protected void |
onDetach() |
void |
onInitialLoad()
When the widget is loaded first time.
|
void |
onTransitionEnd()
When an transition containing this widget ends.
|
void |
setSecondaryStyle(String style)
Will set the secondary style.
|
void |
setText(String text) |
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onBrowserEvent, 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, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringprotected final SearchBoxCss css
public SearchBoxLikeButton()
public SearchBoxLikeButton(SearchBoxCss css)
css - the css to useprotected void onAttach()
onAttach in class com.google.gwt.user.client.ui.Compositeprotected void onDetach()
onDetach in class com.google.gwt.user.client.ui.Compositepublic void setText(String text)
public void onInitialLoad()
onInitialLoad in interface IsSWMMobileWidgetpublic void onTransitionEnd()
onTransitionEnd in interface IsSWMMobileWidgetpublic void setSecondaryStyle(String style)
setSecondaryStyle in interface IsSWMMobileWidgetstyle - the style to set.public com.google.gwt.event.shared.HandlerRegistration addClickHandler(com.google.gwt.event.dom.client.ClickHandler handler)
addClickHandler in interface com.google.gwt.event.dom.client.HasClickHandlerspublic com.google.gwt.event.shared.HandlerRegistration addTouchStartHandler(com.google.gwt.event.dom.client.TouchStartHandler handler)
addTouchStartHandler in interface com.google.gwt.event.dom.client.HasTouchStartHandlersCopyright © 2011–2015 SWM. All rights reserved.