Package com.luciad.model
Class TLcdModelContainer
java.lang.Object
com.luciad.model.TLcdModelContainer
- All Implemented Interfaces:
ILcdModelContainer,ILcdModelProducerListener,EventListener
This class provides an implementation of
ILcdModelContainer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdds anILcdModelto thisILcdModelContainer.voidaddModelContainerListener(ILcdModelContainerListener aModelContainerListener) Adds anILcdModelContainerListenerto thisILcdModelContainer.getModel(int aIndex) Returns theILcdModelat the given index.intReturns the number ofILcdModelobjects contained in thisILcdModelContainer.voidNotifies this ILcdModelProducerListener of a produced model.models()Returns anEnumerationof theILcdModelobjects contained in thisILcdModelContainer.booleanremoveModel(ILcdModel aModel) Removes anILcdModelfrom thisILcdModelContainer.voidremoveModelContainerListener(ILcdModelContainerListener aModelContainerListener) Removes anILcdModelContainerListenerfrom thisILcdModelContainer.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.luciad.model.ILcdModelContainer
getModels
-
Constructor Details
-
TLcdModelContainer
public TLcdModelContainer()
-
-
Method Details
-
modelCount
public int modelCount()Description copied from interface:ILcdModelContainerReturns the number ofILcdModelobjects contained in thisILcdModelContainer.- Specified by:
modelCountin interfaceILcdModelContainer- Returns:
- the number of
ILcdModelobjects contained in thisILcdModelContainer.
-
addModel
Description copied from interface:ILcdModelContainerAdds anILcdModelto thisILcdModelContainer.- Specified by:
addModelin interfaceILcdModelContainer- Parameters:
aModel- the model to be added.- Returns:
trueif this collection of models changed as a result of the call
-
removeModel
Description copied from interface:ILcdModelContainerRemoves anILcdModelfrom thisILcdModelContainer.- Specified by:
removeModelin interfaceILcdModelContainer- Parameters:
aModel- the model to be removed.- Returns:
trueif a model was removed as a result of this call
-
getModel
Description copied from interface:ILcdModelContainerReturns theILcdModelat the given index.- Specified by:
getModelin interfaceILcdModelContainer- Parameters:
aIndex- a valid index in thisILcdModelContainer.- Returns:
- the
ILcdModelat the given index.
-
models
Description copied from interface:ILcdModelContainerReturns anEnumerationof theILcdModelobjects contained in thisILcdModelContainer.- Specified by:
modelsin interfaceILcdModelContainer- Returns:
- an
Enumerationof theILcdModelobjects contained in thisILcdModelContainer.
-
addModelContainerListener
Description copied from interface:ILcdModelContainerAdds anILcdModelContainerListenerto thisILcdModelContainer.- Specified by:
addModelContainerListenerin interfaceILcdModelContainer- Parameters:
aModelContainerListener- the listener to be added.- See Also:
-
removeModelContainerListener
Description copied from interface:ILcdModelContainerRemoves anILcdModelContainerListenerfrom thisILcdModelContainer.- Specified by:
removeModelContainerListenerin interfaceILcdModelContainer- Parameters:
aModelContainerListener- the listener to be removed.- See Also:
-
modelProduced
Description copied from interface:ILcdModelProducerListenerNotifies this ILcdModelProducerListener of a produced model.- Specified by:
modelProducedin interfaceILcdModelProducerListener- Parameters:
e- the event describing the changes to aILcdModelProducer.
-