Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

org::openide::util::lookup::SimpleLookup::SimpleResult Class Reference

List of all members.

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

Detailed Description

Result used in SimpleLookup. It holds a reference to the collection passed in constructor. As the contents of this lookup result never changes the addLookupListener and removeLookupListener are empty.


Constructor & Destructor Documentation

org::openide::util::lookup::SimpleLookup::SimpleResult::SimpleResult Template  template  )  [inline, package]
 

Just remembers the supplied argument in variable template.


Member Function Documentation

void org::openide::util::lookup::SimpleLookup::SimpleResult::addLookupListener LookupListener  l  )  [inline]
 

Intentionally does nothing because the lookup does not change and no notification is needed.

Set org::openide::util::lookup::SimpleLookup::SimpleResult::allClasses  )  [inline]
 

Lazy initializes variable classes. Uses a call to allItems to compute the result.

java.util.Collection org::openide::util::lookup::SimpleLookup::SimpleResult::allInstances  )  [inline]
 

Lazy initializes the results collection. Uses a call to allItems to obtain the instances.

Collection org::openide::util::lookup::SimpleLookup::SimpleResult::allItems  )  [inline]
 

Lazy initializes variable items. Creates an item for each element in the instances collection. It puts either SimpleItem or ConvertingItem to the collection.

void org::openide::util::lookup::SimpleLookup::SimpleResult::removeLookupListener LookupListener  l  )  [inline]
 

Intentionally does nothing because the lookup does not change and no notification is needed.


Member Data Documentation

Set org::openide::util::lookup::SimpleLookup::SimpleResult::classes [private]
 

can be null and is initialized lazily

Collection org::openide::util::lookup::SimpleLookup::SimpleResult::items [private]
 

can be null and is initialized lazily

Collection org::openide::util::lookup::SimpleLookup::SimpleResult::results [private]
 

can be null and is initialized lazily

Template org::openide::util::lookup::SimpleLookup::SimpleResult::template [private]
 

Template used for this result. It is never null.


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:14:02 2009 for ACS Java API by doxygen 1.3.8