Class InputLabel
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- de.knightsoftnet.mtwidgets.client.ui.widget.InputLabel
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers,com.google.gwt.event.shared.HasHandlers,com.google.gwt.i18n.shared.HasDirectionEstimator,com.google.gwt.user.client.EventListener,com.google.gwt.user.client.ui.HasDirectionalText,com.google.gwt.user.client.ui.HasText,com.google.gwt.user.client.ui.HasVisibility,com.google.gwt.user.client.ui.IsWidget
public class InputLabel extends com.google.gwt.user.client.ui.Widget implements com.google.gwt.user.client.ui.HasDirectionalText, com.google.gwt.i18n.shared.HasDirectionEstimatorlabel for input field, based on http://stackoverflow.com/questions/1533899/gwt-is-there-a-label-widget.- Author:
- Manfred Tremmel
-
-
Constructor Summary
Constructors Constructor Description InputLabel()InputLabel(com.google.gwt.dom.client.Element element)constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gwt.i18n.shared.DirectionEstimatorgetDirectionEstimator()StringgetText()com.google.gwt.i18n.client.HasDirection.DirectiongetTextDirection()voidsetDirectionEstimator(boolean enabled)voidsetDirectionEstimator(com.google.gwt.i18n.shared.DirectionEstimator directionEstimator)voidsetFor(com.google.gwt.user.client.ui.IsWidget target)set widget to reference to.voidsetForm(String form)voidsetHtml(com.google.gwt.safehtml.shared.SafeHtml text)voidsetText(String text)voidsetText(String text, com.google.gwt.i18n.client.HasDirection.Direction dir)-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
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
-
-
-
-
Method Detail
-
getDirectionEstimator
public com.google.gwt.i18n.shared.DirectionEstimator getDirectionEstimator()
- Specified by:
getDirectionEstimatorin interfacecom.google.gwt.i18n.shared.HasDirectionEstimator
-
setDirectionEstimator
public void setDirectionEstimator(com.google.gwt.i18n.shared.DirectionEstimator directionEstimator)
- Specified by:
setDirectionEstimatorin interfacecom.google.gwt.i18n.shared.HasDirectionEstimator
-
setDirectionEstimator
public void setDirectionEstimator(boolean enabled)
- Specified by:
setDirectionEstimatorin interfacecom.google.gwt.i18n.shared.HasDirectionEstimator
-
setFor
public void setFor(com.google.gwt.user.client.ui.IsWidget target)
set widget to reference to.- Parameters:
target- reference field
-
setForm
public void setForm(String form)
-
getText
public String getText()
- Specified by:
getTextin interfacecom.google.gwt.user.client.ui.HasText
-
setText
public void setText(String text)
- Specified by:
setTextin interfacecom.google.gwt.user.client.ui.HasText
-
setText
public void setText(String text, com.google.gwt.i18n.client.HasDirection.Direction dir)
- Specified by:
setTextin interfacecom.google.gwt.user.client.ui.HasDirectionalText
-
setHtml
public void setHtml(com.google.gwt.safehtml.shared.SafeHtml text)
-
getTextDirection
public com.google.gwt.i18n.client.HasDirection.Direction getTextDirection()
- Specified by:
getTextDirectionin interfacecom.google.gwt.user.client.ui.HasDirectionalText
-
-