jsynoptic.plugins.jfreechart
Class CategoryClassifier

java.lang.Object
  extended by jsynoptic.plugins.jfreechart.CategoryClassifier
All Implemented Interfaces:
java.io.Serializable, MapperListener

public class CategoryClassifier
extends java.lang.Object
implements java.io.Serializable, MapperListener

See Also:
Serialized Form

Field Summary
 java.util.List categories
           
protected  ListenerManager listeners
           
protected  TextMapper mapper
           
 
Constructor Summary
CategoryClassifier(java.lang.String name)
           
CategoryClassifier(TextMapper mapper)
           
 
Method Summary
 void addListener(CategoryClassifierListener l)
           
 TextMapper getMapper()
           
 void mappingChanged(GenericMapper mapper)
          Called when the mapping of the specified mapper changed
protected  void notifyListeners()
           
 void removeListener(CategoryClassifierListener l)
           
 void setMapper(TextMapper mapper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

categories

public java.util.List categories

mapper

protected TextMapper mapper

listeners

protected transient ListenerManager listeners
Constructor Detail

CategoryClassifier

public CategoryClassifier(java.lang.String name)
Parameters:
name -
index -

CategoryClassifier

public CategoryClassifier(TextMapper mapper)
Parameters:
name -
index -
Method Detail

addListener

public void addListener(CategoryClassifierListener l)

removeListener

public void removeListener(CategoryClassifierListener l)

notifyListeners

protected void notifyListeners()

getMapper

public TextMapper getMapper()
Returns:
Returns the mapper.

setMapper

public void setMapper(TextMapper mapper)
Parameters:
mapper - The mapper to set.

mappingChanged

public void mappingChanged(GenericMapper mapper)
Description copied from interface: MapperListener
Called when the mapping of the specified mapper changed

Specified by:
mappingChanged in interface MapperListener