Public Member Functions | |
void | addLookupListener (LookupListener l) |
void | removeLookupListener (LookupListener l) |
java.util.Collection | allInstances () |
Set | allClasses () |
Collection | allItems () |
Package Functions | |
SimpleResult (Template template) | |
Private Attributes | |
Set | classes |
Collection | items |
Template | template |
Collection | results |
|
Just remembers the supplied argument in variable template. |
|
Intentionally does nothing because the lookup does not change and no notification is needed. |
|
Lazy initializes variable classes. Uses a call to allItems to compute the result. |
|
Lazy initializes the results collection. Uses a call to allItems to obtain the instances. |
|
Lazy initializes variable items. Creates an item for each element in the instances collection. It puts either SimpleItem or ConvertingItem to the collection. |
|
Intentionally does nothing because the lookup does not change and no notification is needed. |
|
can be null and is initialized lazily |
|
can be null and is initialized lazily |
|
can be null and is initialized lazily |
|
Template used for this result. It is never null. |