|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IChunk
The basic chunk wrapper to contain the symbolic and subsymbolic portions. It is also the point of access for all event notification
| Method Summary | |
|---|---|
void |
addListener(IChunkListener cl,
java.util.concurrent.Executor executor)
Add a chunk listener to this chunk. |
void |
addListener(IParameterListener pl,
java.util.concurrent.Executor executor)
|
void |
dispatch(ChunkEvent chunkEvent)
|
void |
dispatch(ParameterEvent parameterEvent)
|
void |
dispose()
called when one is sure that this chunk will NEVER be used. |
void |
encode()
flag that this chunk has been encoded |
boolean |
equalsSymbolic(IChunk chunk)
returns true if the symbolic contents of the two chunks are the same, i.e. |
IModel |
getModel()
get the model that is responsible for this chunk, note: the chunk may not have been encoded yet |
ISubsymbolicChunk |
getSubsymbolicChunk()
return the subsymbolic component of the chunk |
ISymbolicChunk |
getSymbolicChunk()
return the symbolic component of the chunk |
boolean |
hasBeenDisposed()
|
boolean |
hasListeners()
|
boolean |
hasParameterListeners()
|
boolean |
isA(IChunkType ct)
is this chunk a IChunkType |
boolean |
isAStrict(IChunkType ct)
is this chunk only a chunktype |
boolean |
isEncoded()
has this chunk been encoded? |
boolean |
isMutable()
will return true if this chunks slots can be changed after encoding (like visual-location chunks). |
void |
removeListener(IChunkListener cl)
removed the listener from both sync and async listeners |
void |
removeListener(IParameterListener pl)
|
void |
setMutable(boolean isMutable)
|
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface org.jactr.core.utils.Commentable |
|---|
getComment, setComment |
| Methods inherited from interface org.jactr.core.utils.IMetaContainer |
|---|
getMetaData, getMetaDataKeys, setMetaData |
| Method Detail |
|---|
void addListener(IChunkListener cl,
java.util.concurrent.Executor executor)
void addListener(IParameterListener pl,
java.util.concurrent.Executor executor)
void removeListener(IChunkListener cl)
cl - Description of Parametervoid removeListener(IParameterListener pl)
boolean hasListeners()
boolean hasParameterListeners()
void dispatch(ChunkEvent chunkEvent)
void dispatch(ParameterEvent parameterEvent)
ISubsymbolicChunk getSubsymbolicChunk()
ISymbolicChunk getSymbolicChunk()
void encode()
boolean isEncoded()
void dispose()
boolean hasBeenDisposed()
boolean isA(IChunkType ct)
ct -
boolean isAStrict(IChunkType ct)
ct -
boolean isMutable()
void setMutable(boolean isMutable)
IModel getModel()
boolean equalsSymbolic(IChunk chunk)
chunk - cannot be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||