org.jcreme.swing
Interface JMultistateButton.IconSelector

Enclosing interface:
JMultistateButton

public static interface JMultistateButton.IconSelector

This interface describes a way to select an Icon from a value. It is used to enable JMultistateButton to display an Icon associated to the selectedValue.

Version:
$Revision: 1.1 $
Author:
$Author: dbregeon $

Method Summary
 javax.swing.Icon getIcon(java.lang.Object value)
          Retrieves an Icon associated to the value.
 

Method Detail

getIcon

public javax.swing.Icon getIcon(java.lang.Object value)
Retrieves an Icon associated to the value.

Parameters:
value - any Object.
Returns:
the Icon associated to this value. Null if no Icon was was associated to the given value.


Copyright 2006 null. All Rights Reserved.