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.HasDirectionEstimator
label for input field, based on
http://stackoverflow.com/questions/1533899/gwt-is-there-a-label-widget.
- Author:
- Manfred Tremmel
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled -
Field Summary
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.gwt.i18n.shared.DirectionEstimatorgetText()com.google.gwt.i18n.client.HasDirection.DirectionvoidsetDirectionEstimator(boolean enabled) voidsetDirectionEstimator(com.google.gwt.i18n.shared.DirectionEstimator directionEstimator) voidsetFor(com.google.gwt.user.client.ui.IsWidget target) set widget to reference to.voidvoidsetHtml(com.google.gwt.safehtml.shared.SafeHtml text) voidvoidMethods 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, unsinkEventsMethods 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
-
Constructor Details
-
InputLabel
public InputLabel() -
InputLabel
public InputLabel(com.google.gwt.dom.client.Element element) constructor.- Parameters:
element- to use
-
-
Method Details
-
getDirectionEstimator
public com.google.gwt.i18n.shared.DirectionEstimator getDirectionEstimator()- Specified by:
getDirectionEstimatorin 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
-
getText
- Specified by:
getTextin interfacecom.google.gwt.user.client.ui.HasText
-
setText
- Specified by:
setTextin interfacecom.google.gwt.user.client.ui.HasText
-
setText
- Specified by:
setTextin interfacecom.google.gwt.user.client.ui.HasDirectionalText
-
getTextDirection
public com.google.gwt.i18n.client.HasDirection.Direction getTextDirection()- Specified by:
getTextDirectionin interfacecom.google.gwt.user.client.ui.HasDirectionalText
-