Class IconCell
- java.lang.Object
-
- com.google.gwt.cell.client.AbstractCell<C>
-
- com.google.gwt.cell.client.AbstractSafeHtmlCell<String>
-
- org.uberfire.ext.plugin.client.widget.cell.IconCell
-
-
Constructor Summary
Constructors Constructor Description IconCell(org.gwtbootstrap3.client.ui.constants.IconType iconType)Construct a newIconCellwith the specified icon typeIconCell(org.gwtbootstrap3.client.ui.constants.IconType iconType, org.gwtbootstrap3.client.ui.constants.IconSize iconSize)Construct a newIconCellwith the specified icon type and icon size
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gwtbootstrap3.client.ui.constants.IconSizegetIconSize()org.gwtbootstrap3.client.ui.constants.IconTypegetIconType()StringgetTooltip()voidonBrowserEvent(com.google.gwt.cell.client.Cell.Context context, com.google.gwt.dom.client.Element parent, String value, com.google.gwt.dom.client.NativeEvent event, com.google.gwt.cell.client.ValueUpdater<String> valueUpdater)protected voidonEnterKeyDown(com.google.gwt.cell.client.Cell.Context context, com.google.gwt.dom.client.Element parent, String value, com.google.gwt.dom.client.NativeEvent event, com.google.gwt.cell.client.ValueUpdater<String> valueUpdater)protected voidrender(com.google.gwt.cell.client.Cell.Context context, com.google.gwt.safehtml.shared.SafeHtml data, com.google.gwt.safehtml.shared.SafeHtmlBuilder sb)voidsetIconSize(org.gwtbootstrap3.client.ui.constants.IconSize iconSize)voidsetIconType(org.gwtbootstrap3.client.ui.constants.IconType iconType)voidsetTooltip(String tooltip)
-
-
-
Constructor Detail
-
IconCell
public IconCell(org.gwtbootstrap3.client.ui.constants.IconType iconType)
Construct a newIconCellwith the specified icon type- Parameters:
iconType-
-
IconCell
public IconCell(org.gwtbootstrap3.client.ui.constants.IconType iconType, org.gwtbootstrap3.client.ui.constants.IconSize iconSize)Construct a newIconCellwith the specified icon type and icon size- Parameters:
iconType-iconSize-
-
-
Method Detail
-
getIconType
public org.gwtbootstrap3.client.ui.constants.IconType getIconType()
-
setIconType
public void setIconType(org.gwtbootstrap3.client.ui.constants.IconType iconType)
-
getIconSize
public org.gwtbootstrap3.client.ui.constants.IconSize getIconSize()
-
setIconSize
public void setIconSize(org.gwtbootstrap3.client.ui.constants.IconSize iconSize)
-
getTooltip
public String getTooltip()
-
setTooltip
public void setTooltip(String tooltip)
-
render
protected void render(com.google.gwt.cell.client.Cell.Context context, com.google.gwt.safehtml.shared.SafeHtml data, com.google.gwt.safehtml.shared.SafeHtmlBuilder sb)- Specified by:
renderin classcom.google.gwt.cell.client.AbstractSafeHtmlCell<String>
-
onBrowserEvent
public void onBrowserEvent(com.google.gwt.cell.client.Cell.Context context, com.google.gwt.dom.client.Element parent, String value, com.google.gwt.dom.client.NativeEvent event, com.google.gwt.cell.client.ValueUpdater<String> valueUpdater)
-
onEnterKeyDown
protected void onEnterKeyDown(com.google.gwt.cell.client.Cell.Context context, com.google.gwt.dom.client.Element parent, String value, com.google.gwt.dom.client.NativeEvent event, com.google.gwt.cell.client.ValueUpdater<String> valueUpdater)- Overrides:
onEnterKeyDownin classcom.google.gwt.cell.client.AbstractCell<String>
-
-