org.jactr.modules.pm.visual.visicon.map.feature
Class ColorChunkCache
java.lang.Object
org.jactr.modules.pm.visual.visicon.map.feature.ColorChunkCache
- All Implemented Interfaces:
- java.util.EventListener, IParameterListener, IDeclarativeModuleListener
public class ColorChunkCache
- extends java.lang.Object
- implements IDeclarativeModuleListener
|
Field Summary |
static org.apache.commons.logging.Log |
LOGGER
logger definition |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
public static final org.apache.commons.logging.Log LOGGER
- logger definition
ColorChunkCache
public ColorChunkCache(IModel model)
clear
public void clear()
dispose
public void dispose()
chunkAdded
public void chunkAdded(DeclarativeModuleEvent me)
- Specified by:
chunkAdded in interface IDeclarativeModuleListener
getColorChunk
public IChunk getColorChunk(org.commonreality.modalities.visual.Color awtColor)
getColor
public org.commonreality.modalities.visual.Color getColor(IChunk chunk)
chunkCreated
public void chunkCreated(DeclarativeModuleEvent dme)
- Specified by:
chunkCreated in interface IDeclarativeModuleListener
- See Also:
IDeclarativeModuleListener.chunkCreated(org.jactr.core.module.declarative.event.DeclarativeModuleEvent)
chunkTypeAdded
public void chunkTypeAdded(DeclarativeModuleEvent dme)
- Description copied from interface:
IDeclarativeModuleListener
- called when a chunk type is added to the model
- Specified by:
chunkTypeAdded in interface IDeclarativeModuleListener
- See Also:
IDeclarativeModuleListener.chunkTypeAdded(org.jactr.core.module.declarative.event.DeclarativeModuleEvent)
chunkTypeCreated
public void chunkTypeCreated(DeclarativeModuleEvent dme)
- Description copied from interface:
IDeclarativeModuleListener
- called when a chunktype is created, but not necessarily fully defined
- Specified by:
chunkTypeCreated in interface IDeclarativeModuleListener
- See Also:
IDeclarativeModuleListener.chunkTypeCreated(org.jactr.core.module.declarative.event.DeclarativeModuleEvent)
chunkTypesMerged
public void chunkTypesMerged(DeclarativeModuleEvent dme)
- Description copied from interface:
IDeclarativeModuleListener
- called when two chunktypes are merged
- Specified by:
chunkTypesMerged in interface IDeclarativeModuleListener
- See Also:
IDeclarativeModuleListener.chunkTypesMerged(org.jactr.core.module.declarative.event.DeclarativeModuleEvent)
chunksMerged
public void chunksMerged(DeclarativeModuleEvent dme)
- Specified by:
chunksMerged in interface IDeclarativeModuleListener
- See Also:
IDeclarativeModuleListener.chunksMerged(org.jactr.core.module.declarative.event.DeclarativeModuleEvent)
parameterChanged
public void parameterChanged(IParameterEvent pe)
- Specified by:
parameterChanged in interface IParameterListener
- See Also:
IParameterListener.parameterChanged(org.jactr.core.event.IParameterEvent)