public class ColorFeatureMap extends AbstractVisualFeatureMap<Color[]>
Constructor and Description |
---|
ColorFeatureMap(IModel model) |
Modifier and Type | Method and Description |
---|---|
protected void |
addInformation(IIdentifier identifier,
Color[] data) |
protected void |
clearInternal() |
protected boolean |
colorMatchesPattern(Color color,
ChunkTypeRequest request) |
protected void |
equals(Color color,
java.util.Set<IIdentifier> container) |
protected Color[] |
extractInformation(IAfferentObject afferentObject) |
void |
fillSlotValues(ChunkTypeRequest mutableRequest,
IIdentifier identifier,
IChunk encodedChunk,
ChunkTypeRequest originalSearchRequest)
fill the slot values accordingly for this identifier at the mutablePattern
location this is then used to further specify the actual location
chunk that will be returned
|
protected void |
getCandidates(ChunkTypeRequest request,
java.util.Set<IIdentifier> results) |
protected Color[] |
getCurrentValue(IIdentifier identifier) |
void |
normalizeRequest(ChunkTypeRequest request)
provides an opportunity to normalize any varialbes.
|
protected void |
not(Color color,
java.util.Set<IIdentifier> container) |
protected Color[] |
removeInformation(IIdentifier identifier) |
getHandler, isInterestedIn, objectAdded, objectRemoved, objectUpdated
addListener, afferentObjectAdded, afferentObjectRemoved, afferentObjectUpdated, clear, dispatch, dispose, getCandidateRealObjects, getInformation, getLock, getPerceptualMemory, getRelevantPropertyName, getRelevantSlotName, hasListeners, isInterestedIn, removeListener, setPerceptualMemory
public ColorFeatureMap(IModel model)
protected void addInformation(IIdentifier identifier, Color[] data)
addInformation
in class AbstractFeatureMap<Color[]>
protected void clearInternal()
clearInternal
in class AbstractFeatureMap<Color[]>
protected Color[] getCurrentValue(IIdentifier identifier)
getCurrentValue
in class AbstractFeatureMap<Color[]>
protected Color[] extractInformation(IAfferentObject afferentObject)
extractInformation
in class AbstractFeatureMap<Color[]>
protected void getCandidates(ChunkTypeRequest request, java.util.Set<IIdentifier> results)
getCandidates
in class AbstractFeatureMap<Color[]>
protected void not(Color color, java.util.Set<IIdentifier> container)
protected void equals(Color color, java.util.Set<IIdentifier> container)
protected Color[] removeInformation(IIdentifier identifier)
removeInformation
in class AbstractFeatureMap<Color[]>
public void fillSlotValues(ChunkTypeRequest mutableRequest, IIdentifier identifier, IChunk encodedChunk, ChunkTypeRequest originalSearchRequest)
IFeatureMap
fillSlotValues
in interface IFeatureMap<Color[]>
fillSlotValues
in class AbstractFeatureMap<Color[]>
mutableRequest
- the pseudo visual location to be setupencodedChunk
- TODOprotected boolean colorMatchesPattern(Color color, ChunkTypeRequest request)
public void normalizeRequest(ChunkTypeRequest request)
IFeatureMap
IFeatureMap.isInterestedIn(ChunkTypeRequest)