org.gwtbootstrap3.client.ui
Class Icon

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Panel
              extended by com.google.gwt.user.client.ui.ComplexPanel
                  extended by org.gwtbootstrap3.client.ui.base.ComplexWidget
                      extended by org.gwtbootstrap3.client.ui.Icon
All Implemented Interfaces:
HasAttachHandlers, HasHandlers, EventListener, HasVisibility, HasWidgets, HasWidgets.ForIsWidget, IndexedPanel, IndexedPanel.ForIsWidget, IsWidget, Iterable<Widget>, HasId, HasInlineStyle, HasPull, HasResponsiveness, HasType<IconType>

public class Icon
extends ComplexWidget
implements HasType<IconType>

Simple put, an icon.

Author:
Sven Jacobs
See Also:
IconType

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel
IndexedPanel.ForIsWidget
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
HasWidgets.ForIsWidget
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
Icon()
           
Icon(IconType type)
           
 
Method Summary
 IconFlip getFlip()
           
 IconRotate getRotate()
           
 IconSize getSize()
           
 IconType getType()
          Gets the type of the widget
 boolean isBorder()
           
 boolean isFixedWidth()
           
 boolean isLight()
           
 boolean isMuted()
           
 boolean isSpin()
           
 boolean isStackBase()
           
 boolean isStackTop()
           
 void setBorder(boolean border)
           
 void setFixedWidth(boolean fixedWidth)
           
 void setFlip(IconFlip iconFlip)
           
 void setLight(boolean light)
           
 void setMuted(boolean muted)
           
 void setRotate(IconRotate iconRotate)
           
 void setSize(IconSize iconSize)
           
 void setSpin(boolean spin)
           
 void setStackBase(boolean stackBase)
           
 void setStackTop(boolean stackTop)
           
 void setType(IconType type)
          Sets the type on the widget
 
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.Panel
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Icon

public Icon()

Icon

@UiConstructor
public Icon(IconType type)
Method Detail

setType

public void setType(IconType type)
Description copied from interface: HasType
Sets the type on the widget

Specified by:
setType in interface HasType<IconType>
Parameters:
type - T type

getType

public IconType getType()
Description copied from interface: HasType
Gets the type of the widget

Specified by:
getType in interface HasType<IconType>
Returns:
type of the widget

setLight

public void setLight(boolean light)

isLight

public boolean isLight()

setMuted

public void setMuted(boolean muted)

isMuted

public boolean isMuted()

setBorder

public void setBorder(boolean border)

isBorder

public boolean isBorder()

setStackBase

public void setStackBase(boolean stackBase)

isStackBase

public boolean isStackBase()

setFixedWidth

public void setFixedWidth(boolean fixedWidth)

isFixedWidth

public boolean isFixedWidth()

setStackTop

public void setStackTop(boolean stackTop)

isStackTop

public boolean isStackTop()

setSpin

public void setSpin(boolean spin)

isSpin

public boolean isSpin()

setRotate

public void setRotate(IconRotate iconRotate)

getRotate

public IconRotate getRotate()

setFlip

public void setFlip(IconFlip iconFlip)

getFlip

public IconFlip getFlip()

setSize

public void setSize(IconSize iconSize)

getSize

public IconSize getSize()


Copyright © 2015. All rights reserved.