org.gwtbootstrap3.client.ui
Class InputGroupAddon
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
org.gwtbootstrap3.client.ui.base.ComplexWidget
org.gwtbootstrap3.client.ui.base.AbstractInputGroupAddon
org.gwtbootstrap3.client.ui.InputGroupAddon
- All Implemented Interfaces:
- HasAttachHandlers, HasHandlers, EventListener, HasText, HasVisibility, HasWidgets, HasWidgets.ForIsWidget, IndexedPanel, IndexedPanel.ForIsWidget, IsWidget, Iterable<Widget>, HasIcon, HasIconPosition, HasId, HasInlineStyle, HasPull, HasResponsiveness
public class InputGroupAddon
- extends AbstractInputGroupAddon
- implements HasText, HasIcon, HasIconPosition
Prepends or appends texts to input fields.
For prepending/appending Button see InputGroupButton.
Needs to be encapsulated in an InputGroup.
UiBinder example
<b:InputGroup>
<b:InputGroupAddon>Prepend something</b:InputGroupAddon>
<b:TextBox/>
<b:InputGroupAddon>Append something</b:InputGroupAddon>
</b:InputGroup>
Also see Bootstrap documentation.
- Author:
- Sven Jacobs
- See Also:
InputGroup,
InputGroupButton
| Methods inherited from class org.gwtbootstrap3.client.ui.base.ComplexWidget |
add, getId, getPull, insert, setColor, setHiddenOn, setId, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPull, setVisibleOn |
| Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel |
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, 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 |
InputGroupAddon
public InputGroupAddon()
setText
public void setText(String text)
- Specified by:
setText in interface HasText
getText
public String getText()
- Specified by:
getText in interface HasText
setIcon
public void setIcon(IconType iconType)
- Specified by:
setIcon in interface HasIcon
getIcon
public IconType getIcon()
- Specified by:
getIcon in interface HasIcon
setIconPosition
public void setIconPosition(IconPosition iconPosition)
- Specified by:
setIconPosition in interface HasIconPosition
getIconPosition
public IconPosition getIconPosition()
- Specified by:
getIconPosition in interface HasIconPosition
setIconSize
public void setIconSize(IconSize iconSize)
- Specified by:
setIconSize in interface HasIcon
getIconSize
public IconSize getIconSize()
- Specified by:
getIconSize in interface HasIcon
setIconFlip
public void setIconFlip(IconFlip iconFlip)
- Specified by:
setIconFlip in interface HasIcon
getIconFlip
public IconFlip getIconFlip()
- Specified by:
getIconFlip in interface HasIcon
setIconRotate
public void setIconRotate(IconRotate iconRotate)
- Specified by:
setIconRotate in interface HasIcon
getIconRotate
public IconRotate getIconRotate()
- Specified by:
getIconRotate in interface HasIcon
setIconBordered
public void setIconBordered(boolean iconBordered)
- Specified by:
setIconBordered in interface HasIcon
isIconBordered
public boolean isIconBordered()
- Specified by:
isIconBordered in interface HasIcon
setIconMuted
public void setIconMuted(boolean iconMuted)
- Specified by:
setIconMuted in interface HasIcon
isIconMuted
public boolean isIconMuted()
- Specified by:
isIconMuted in interface HasIcon
setIconLight
public void setIconLight(boolean iconLight)
- Specified by:
setIconLight in interface HasIcon
isIconLight
public boolean isIconLight()
- Specified by:
isIconLight in interface HasIcon
setIconSpin
public void setIconSpin(boolean iconSpin)
- Specified by:
setIconSpin in interface HasIcon
isIconSpin
public boolean isIconSpin()
- Specified by:
isIconSpin in interface HasIcon
setIconFixedWidth
public void setIconFixedWidth(boolean iconFixedWidth)
- Specified by:
setIconFixedWidth in interface HasIcon
isIconFixedWidth
public boolean isIconFixedWidth()
- Specified by:
isIconFixedWidth in interface HasIcon
Copyright © 2015. All rights reserved.