com.extjs.gxt.ui.client.widget
Interface IconSupport

All Known Implementing Classes:
Button, ButtonGroup, CheckMenuItem, CollapsePanel, ContentPanel, Dialog, FormPanel, Header, Info, MenuItem, Portlet, QuickTip, RowEditor, Shortcut, SplitButton, TabItem, TabItem.HeaderItem, Tip, ToggleButton, ToolTip, Window

public interface IconSupport

Interface for objects that support icons. To create AbstractImagePrototypes from image paths and CSS style names, see @link IconHelper.

See Also:
IconHelper

Method Summary
 com.google.gwt.user.client.ui.AbstractImagePrototype getIcon()
          Returns the icon.
 void setIcon(com.google.gwt.user.client.ui.AbstractImagePrototype icon)
          Sets the icon.
 void setIconStyle(java.lang.String icon)
          Sets the icon style.
 

Method Detail

getIcon

com.google.gwt.user.client.ui.AbstractImagePrototype getIcon()
Returns the icon.

Returns:
the icon

setIcon

void setIcon(com.google.gwt.user.client.ui.AbstractImagePrototype icon)
Sets the icon.

Parameters:
icon - the icon

setIconStyle

void setIconStyle(java.lang.String icon)
Sets the icon style.

Parameters:
icon - a CSS style name