public class Icon extends ComplexWidget implements HasType<IconType>, HasSize<IconSize>, HasEmphasis, HasClickHandlers
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabledIndexedPanel.ForIsWidgetHasWidgets.ForIsWidgetDEBUG_ID_PREFIX| Modifier and Type | Method and Description |
|---|---|
HandlerRegistration |
addClickHandler(ClickHandler handler) |
Emphasis |
getEmphasis()
Get the object's emphasis.
|
IconFlip |
getFlip() |
IconRotate |
getRotate() |
IconSize |
getSize()
Get the size of the widget
|
IconType |
getType()
Gets the type of the widget
|
boolean |
isBorder() |
boolean |
isFixedWidth() |
boolean |
isInverse() |
boolean |
isPulse() |
boolean |
isSpin() |
boolean |
isStackBase() |
boolean |
isStackTop() |
void |
setBorder(boolean border) |
void |
setEmphasis(Emphasis emphasis)
Sets the object's emphasis.
|
void |
setFixedWidth(boolean fixedWidth) |
void |
setFlip(IconFlip iconFlip) |
void |
setInverse(boolean inverse) |
void |
setPulse(boolean pulse) |
void |
setRotate(IconRotate iconRotate) |
void |
setSize(IconSize iconSize)
Set the size of the widget
|
void |
setSpin(boolean spin) |
void |
setStackBase(boolean stackBase) |
void |
setStackTop(boolean stackTop) |
void |
setType(IconType type)
Sets the type on the widget
|
add, getId, getPull, insert, insert, remove, setColor, setHiddenOn, setId, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPull, setVisibleOnadd, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, iterator, removeadd, adopt, clear, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, 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, waitfireEventforEach, spliteratorpublic Icon()
@UiConstructor public Icon(IconType type)
public void setType(IconType type)
HasTypepublic IconType getType()
HasTypepublic void setBorder(boolean border)
public boolean isBorder()
public void setStackBase(boolean stackBase)
public boolean isStackBase()
public void setFixedWidth(boolean fixedWidth)
public boolean isFixedWidth()
public void setStackTop(boolean stackTop)
public boolean isStackTop()
public void setInverse(boolean inverse)
public boolean isInverse()
public void setSpin(boolean spin)
public boolean isSpin()
public void setPulse(boolean pulse)
public boolean isPulse()
public void setRotate(IconRotate iconRotate)
public IconRotate getRotate()
public void setSize(IconSize iconSize)
HasSizepublic IconSize getSize()
HasSizepublic void setEmphasis(Emphasis emphasis)
HasEmphasissetEmphasis in interface HasEmphasisemphasis - the object's new emphasispublic Emphasis getEmphasis()
HasEmphasisgetEmphasis in interface HasEmphasispublic HandlerRegistration addClickHandler(ClickHandler handler)
addClickHandler in interface HasClickHandlersCopyright © 2017. All rights reserved.