net.sf.doolin.gui.swing
Class MapLabelInfoProvider

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

public class MapLabelInfoProvider
extends Object
implements LabelInfoProvider

LabelInfoProvider based on a map.

Author:
Damien Coraboeuf (x74639)

Constructor Summary
MapLabelInfoProvider()
           
 
Method Summary
 LabelInfo getLabelIcon(Object item)
          Gets the label information.
 Map<Object,LabelInfo> getLabelInfoMap()
          Gets the label info map.
 void setLabelInfoMap(Map<Object,LabelInfo> labelInfoMap)
          Sets the label info map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapLabelInfoProvider

public MapLabelInfoProvider()
Method Detail

getLabelIcon

public LabelInfo getLabelIcon(Object item)
Description copied from interface: LabelInfoProvider
Gets the label information.

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

getLabelInfoMap

public Map<Object,LabelInfo> getLabelInfoMap()
Gets the label info map.

Returns:
the label info map

setLabelInfoMap

public void setLabelInfoMap(Map<Object,LabelInfo> labelInfoMap)
Sets the label info map.

Parameters:
labelInfoMap - the label info map


Copyright © 2011. All Rights Reserved.