org::openide::util::lookup::SimpleLookup Class Reference
List of all members.
Classes |
| class | SimpleResult |
Public Member Functions |
| String | toString () |
| Result | lookup (Template template) |
| Object | lookup (Class clazz) |
Package Functions |
| | SimpleLookup (Collection instances) |
| | SimpleLookup (Collection keys, InstanceContent.Convertor conv) |
Static Package Functions |
| | [static initializer] |
Static Private Member Functions |
| static boolean | matches (Template t, AbstractLookup.Pair item) |
Private Attributes |
| Collection | allItems |
| Object | nodeOp |
Static Private Attributes |
| static final Log | log = LogFactory.getLog(SimpleLookup.class) |
| static NbDialogDisplayer | dialog |
Detailed Description
Simple lookup implementation. It can be used to create temporary lookups that do not change over time. The result stores references to all objects passed in the constructor. Those objecst are the only ones returned as result.
- Author:
- David Strupl
Constructor & Destructor Documentation
| org::openide::util::lookup::SimpleLookup::SimpleLookup |
( |
Collection |
instances |
) |
[inline, package] |
Creates new Result object with supplied instances parameter.
- Parameters:
-
| instances | to be used to return from the lookup |
References allItems.
| org::openide::util::lookup::SimpleLookup::SimpleLookup |
( |
Collection |
keys, |
|
|
InstanceContent.Convertor |
conv | |
|
) |
| | [inline, package] |
Member Function Documentation
| org::openide::util::lookup::SimpleLookup::[static initializer] |
( |
|
) |
[inline, static, package] |
| Object org::openide::util::lookup::SimpleLookup::lookup |
( |
Class |
clazz |
) |
[inline] |
| Result org::openide::util::lookup::SimpleLookup::lookup |
( |
Template |
template |
) |
[inline] |
| static boolean org::openide::util::lookup::SimpleLookup::matches |
( |
Template |
t, |
|
|
AbstractLookup.Pair |
item | |
|
) |
| | [inline, static, private] |
| String org::openide::util::lookup::SimpleLookup::toString |
( |
|
) |
[inline] |
Member Data Documentation
This variable is initialized in constructor and thus null value is not allowed as its value.
Referenced by SimpleLookup().
The documentation for this class was generated from the following file: