com.github.gwtbootstrap.client.ui.base
Class InlineLabel
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.LabelBase<String>
com.google.gwt.user.client.ui.Label
com.google.gwt.user.client.ui.InlineLabel
com.github.gwtbootstrap.client.ui.base.InlineLabel
- All Implemented Interfaces:
- IsEditor<LeafValueEditor<String>>, HasAllDragAndDropHandlers, HasAllGestureHandlers, HasAllMouseHandlers, HasAllTouchHandlers, HasClickHandlers, HasDoubleClickHandlers, HasDragEndHandlers, HasDragEnterHandlers, HasDragHandlers, HasDragLeaveHandlers, HasDragOverHandlers, HasDragStartHandlers, HasDropHandlers, HasGestureChangeHandlers, HasGestureEndHandlers, HasGestureStartHandlers, HasMouseDownHandlers, HasMouseMoveHandlers, HasMouseOutHandlers, HasMouseOverHandlers, HasMouseUpHandlers, HasMouseWheelHandlers, HasTouchCancelHandlers, HasTouchEndHandlers, HasTouchMoveHandlers, HasTouchStartHandlers, HasAttachHandlers, HasHandlers, HasDirection, HasDirectionEstimator, EventListener, HasAutoHorizontalAlignment, HasDirectionalText, HasHorizontalAlignment, HasText, HasVisibility, HasWordWrap, IsWidget, SourcesClickEvents, SourcesMouseEvents
- Direct Known Subclasses:
- HelpInline, UneditableInput
public class InlineLabel
- extends InlineLabel
InlineLabel
without the GWT
CSS Styles.
- Since:
- 2.0.4.0
- Author:
- Dominik Mayer, ohashi keisuke
Methods inherited from class com.google.gwt.user.client.ui.InlineLabel |
wrap |
Methods inherited from class com.google.gwt.user.client.ui.Label |
addClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, asEditor, getDirection, getText, getTextDirection, removeClickListener, removeMouseListener, removeMouseWheelListener, setDirection, setText, setText |
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 |
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, unsinkEvents |
InlineLabel
public InlineLabel()
- Creates an empty widget.
InlineLabel
public InlineLabel(String text)
- Creates a widget with the specified text.
- Parameters:
text
- the new widget's text
InlineLabel
public InlineLabel(String text,
HasDirection.Direction dir)
- Creates a label with the specified text and direction.
- Parameters:
text
- the new label's textdir
- the text's direction. Note: Direction.DEFAULT
means
direction should be inherited from the widget's parent
element.
InlineLabel
public InlineLabel(String text,
DirectionEstimator directionEstimator)
- Creates a label with the specified text and a default direction
estimator.
- Parameters:
text
- the new label's textdirectionEstimator
- A DirectionEstimator object used for automatic direction
adjustment. For convenience,
Label.DEFAULT_DIRECTION_ESTIMATOR
can be used.
InlineLabel
protected InlineLabel(Element element)
- This constructor may be used by subclasses to explicitly use an existing
element. This element must be either a <div> <span> element.
- Parameters:
element
- the element to be used
Copyright © 2012 gwtbootstrap. All Rights Reserved.