net.sf.doolin.gui.swing
Class ClassLabelInfoProvider

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

public class ClassLabelInfoProvider
extends Object
implements LabelInfoProvider

This label provider is based on the class name of the item.


Constructor Summary
ClassLabelInfoProvider()
           
 
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 of the enumeration class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassLabelInfoProvider

public ClassLabelInfoProvider()
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 of the enumeration class.

Parameters:
useFullName - the new use full name


Copyright © 2011. All Rights Reserved.