net.sf.doolin.gui.swing
Class EnumLabelInfoProvider

java.lang.Object
  extended by net.sf.doolin.gui.swing.EnumLabelInfoProvider
All Implemented Interfaces:
LabelInfoProvider

public class EnumLabelInfoProvider
extends Object
implements LabelInfoProvider

This label provider is based on an enumeration.


Constructor Summary
EnumLabelInfoProvider()
           
 
Method Summary
 IconService getIconService()
          Gets the icon service used to access icons
 LabelInfo getLabelIcon(Object item)
          Gets the label information.
 boolean isUseFullName()
          Checks if is use full name.
 void setIconService(IconService iconService)
          Sets the icon service used to access icons
 void setUseFullName(boolean useFullName)
          Sets the use full name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumLabelInfoProvider

public EnumLabelInfoProvider()
Method Detail

getIconService

public IconService getIconService()
Gets the icon service used to access icons

Returns:
Icon service

getLabelIcon

public LabelInfo getLabelIcon(Object item)
Gets the label information.

Specified by:
getLabelIcon in interface LabelInfoProvider
Parameters:
item - the item
Returns:
the label information

isUseFullName

public boolean isUseFullName()
Checks if is use full name.

Returns:
true, if is use full name

setIconService

public void setIconService(IconService iconService)
Sets the icon service used to access icons

Parameters:
iconService - Icon service

setUseFullName

public void setUseFullName(boolean useFullName)
Sets the use full name.

Parameters:
useFullName - the new use full name


Copyright © 2011. All Rights Reserved.