public abstract class AbstractIconButton extends AbstractButton implements HasIcon
MaterialWidget.Featurecom.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled$this| Constructor and Description |
|---|
AbstractIconButton() |
AbstractIconButton(ButtonType type) |
AbstractIconButton(ButtonType type,
String text) |
AbstractIconButton(ButtonType type,
String text,
MaterialIcon icon) |
AbstractIconButton(IconType iconType) |
AbstractIconButton(String... initialClass) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ensureIconAttached()
Ensure the icon is attached in slot 0.
|
MaterialIcon |
getIcon()
Get the icon widget.
|
Color |
getIconColor()
Get the color of the icon
|
boolean |
isIconPrefix()
Is the icon prefix in the container.
|
void |
setIconColor(Color iconColor)
Sets the color of the icon.
|
void |
setIconFontSize(double size,
com.google.gwt.dom.client.Style.Unit unit)
Set the font size of the icon.
|
void |
setIconPosition(IconPosition position)
Set the position of the icon.
|
void |
setIconPrefix(boolean prefix)
Make the icon prefix in its container.
|
void |
setIconSize(IconSize size)
Size of icon.
|
void |
setIconType(IconType iconType)
Set Material Design icon.
|
createElement, getActivates, getActivatesMixin, getHref, getSize, getSpan, getTarget, getTargetHistoryToken, getText, getType, getTypeMixin, setActivates, setHref, setSize, setTarget, setTargetHistoryToken, setText, setType$this, add, add, addAttachHandler, addBlurHandler, addClickHandler, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragLeaveHandler, addDragMoveHandler, addDragOverHandler, addDragStartHandler, addDropActivateHandler, addDropDeactivateHandler, addDropHandler, addFocusHandler, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addOrientationChangeHandler, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, body, clearActiveClass, enableFeature, getBackfaceVisibility, getBackgroundColor, getBorder, getBorderBottom, getBorderLeft, getBorderMixin, getBorderRadius, getBorderRight, getBorderTop, getCenterOn, getCenterOnMixin, getChildren, getChildrenList, getCircleMixin, getColorsMixin, getDataAttribute, getDepth, getDimensionMixin, getEnabledMixin, getFlexboxMixin, getFloat, getFloatMixin, getFocusableMixin, getFontSize, getFontSizeMixin, getFontWeight, getFontWeightMixin, getGridMixin, getHandlerRegistry, getHideOn, getHideOnMixin, getHoverableMixin, getId, getIdMixin, getInitialClasses, getLayoutPosition, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpacity, getOrientation, getOrientationMixin, getPerspective, getPerspectiveOrigin, getScrollspy, getScrollspyMixin, getSeparatorMixin, getShadow, getShadowMixin, getShowOn, getShowOnMixin, getTabIndex, getTextAlign, getTextAlignMixin, getTextColor, getTooltip, getTooltipDelayMs, getTooltipHTML, getTooltipMixin, getTooltipPosition, getTransform, getTransformMixin, getTransformOrigin, getTransformStyle, getTruncateMixin, getVerticalAlign, getVerticalAlignMixin, getWaves, getWavesMixin, getWidth, insert, insert, isCircle, isDetectOrientation, isEnabled, isFeatureEnabled, isHoverable, isSeparator, isTruncate, onLoad, onUnload, registerHandler, removeHandler, setAccessKey, setBackfaceVisibility, setBackgroundColor, setBorder, setBorderBottom, setBorderLeft, setBorderRadius, setBorderRight, setBorderTop, setBottom, setCenterOn, setCircle, setClass, setDataAttribute, setDepth, setDetectOrientation, setDisplay, setEnabled, setFlex, setFlexAlignContent, setFlexAlignItems, setFlexAlignSelf, setFlexBasis, setFlexDirection, setFlexGrow, setFlexJustifyContent, setFlexOrder, setFlexShrink, setFlexWrap, setFloat, setFocus, setFontSize, setFontSize, setFontWeight, setGrid, setGwtDisplay, setHideOn, setHoverable, setId, setInitialClasses, setLayoutPosition, setLeft, setLineHeight, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOffset, setOpacity, setOrientation, setOverflow, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPerspective, setPerspectiveOrigin, setRight, setScrollspy, setSeparator, setShadow, setShowOn, setStyle, setTabIndex, setTextAlign, setTextColor, setTooltip, setTooltipDelayMs, setTooltipHTML, setTooltipPosition, setTop, setTransform, setTransformOrigin, setTransformStyle, setTransition, setTruncate, setVerticalAlign, setVisibility, setWaves, stopTouchStartEvent, validate, windowadd, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, iterator, remove, removeadd, adopt, clear, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetVisibleforEach, spliteratorpublic AbstractIconButton(ButtonType type, String text, MaterialIcon icon)
public AbstractIconButton(ButtonType type, String text)
public AbstractIconButton(IconType iconType)
public AbstractIconButton(ButtonType type)
public AbstractIconButton()
public AbstractIconButton(String... initialClass)
public MaterialIcon getIcon()
HasIconpublic void setIconType(IconType iconType)
HasIconsetIconType in interface HasIconpublic void setIconPosition(IconPosition position)
HasIconsetIconPosition in interface HasIconpublic void setIconSize(IconSize size)
HasIconsetIconSize in interface HasIconpublic void setIconFontSize(double size, com.google.gwt.dom.client.Style.Unit unit)
HasIconsetIconFontSize in interface HasIconpublic void setIconColor(Color iconColor)
HasIconsetIconColor in interface HasIconpublic Color getIconColor()
HasIcongetIconColor in interface HasIconpublic void setIconPrefix(boolean prefix)
HasIconsetIconPrefix in interface HasIconpublic boolean isIconPrefix()
HasIconisIconPrefix in interface HasIconprotected void ensureIconAttached()
Copyright © 2018. All rights reserved.