|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.swing.FormattedKeyLabelInfoProvider
public class FormattedKeyLabelInfoProvider
This LabelInfoProvider uses a
format to build the text key of
both the text and the icon id.
| Constructor Summary | |
|---|---|
FormattedKeyLabelInfoProvider()
Constructor, with no text and no icon. |
|
| Method Summary | |
|---|---|
String |
getIconFormat()
Gets the format that is used to build the text key of the icon id. |
LabelInfo |
getLabelIcon(Object item)
Gets the label information. |
String |
getTextFormat()
Gets the format that is used to get the text key of the text to display. |
void |
setIconFormat(String iconFormat)
Sets the format that is used to build the text key of the icon id. |
void |
setIconService(IconService iconService)
Sets the icon service used to access icons |
void |
setTextFormat(String textFormat)
Sets the format that is used to get the text key of the text to display. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormattedKeyLabelInfoProvider()
| Method Detail |
|---|
public String getIconFormat()
public LabelInfo getLabelIcon(Object item)
LabelInfoProvider
getLabelIcon in interface LabelInfoProvideritem - the item
public String getTextFormat()
public void setIconFormat(String iconFormat)
iconFormat - Formatpublic void setIconService(IconService iconService)
iconService - Icon servicepublic void setTextFormat(String textFormat)
textFormat - Format
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||