Interface IconSupport
-
- All Known Implementing Classes:
AbstractActionDataTag
,ActionControlTag
,ActionDataTag
,ActionTag
,ButtonTag
,CheckboxTag
,DialogTag
,FrameTag
,InternalFrameTag
,LabelTag
,MenuItemTag
,MenuTag
,PushButtonTag
,RadioButtonTag
,StaticTextTag
,TabTag
,TextIconTag
,ToggleButtonTag
,ToolButtonTag
,TreeIconTag
,WindowBaseTag
public interface IconSupport
Definition of an interface for GUI components that support icons.
This interface defines a single setter method for an icon object. This method is intended to be called by an
IconTag
, which loads an icon and sets it on the component it is nested inside.- Version:
- $Id: IconSupport.java 205 2012-01-29 18:29:57Z oheger $
- Author:
- Oliver Heger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setIcon(Object icon)
Allows to set an icon on this component.
-
-
-
Method Detail
-
setIcon
void setIcon(Object icon)
Allows to set an icon on this component.- Parameters:
icon
- the icon
-
-