public class CssIconWidget extends AbstractWidget
Widget
for an empty <span> element that is used
as placeholder for an icon. Via CSS it can be styled to appear as an icon. This can be done via
background-image or web-fonts (font-awesome). construction time
but can also be
modified
for dynamic icons.HTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_ID
Constructor and Description |
---|
CssIconWidget(String style)
The constructor.
|
getId, setId
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
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
public CssIconWidget(String style)
style
- is the style name
for the icon.Copyright © 2001–2016 mmm-Team. All rights reserved.