com.github.gwtbootstrap.client.ui.base
Interface HasIcon

All Known Implementing Classes:
AddOn, Button, IconAnchor, NavbarButton, NavLink, NavWidget, Tab, TabLink

public interface HasIcon

Interface for widgets that have icons.

Since:
2.0.4.0
Author:
Dominik Mayer

Method Summary
 void setIcon(IconType type)
          Sets the Type of the Icon.
 void setIconSize(IconSize size)
          Sets the size of the icon.
 

Method Detail

setIcon

void setIcon(IconType type)
Sets the Type of the Icon.

Parameters:
type -

setIconSize

void setIconSize(IconSize size)
Sets the size of the icon.

Default is DEFAULT.

Parameters:
size - the new size.


Copyright © 2012 gwtbootstrap. All Rights Reserved.