|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openide.util.Lookup.Item<T>
public abstract static class Lookup.Item<T>
A single item in a lookup result. This wrapper provides unified access to not just the instance, but its class, a possible persistent identifier, and so on.
| Constructor Summary | |
|---|---|
Lookup.Item()
|
|
| Method Summary | |
|---|---|
abstract java.lang.String |
getDisplayName()
Get a human presentable name for the item. |
abstract java.lang.String |
getId()
Get a persistent indentifier for the item. |
abstract T |
getInstance()
Get the instance itself. |
abstract java.lang.Class<? extends T> |
getType()
Get the implementing class of the instance. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Lookup.Item()
| Method Detail |
|---|
public abstract T getInstance()
public abstract java.lang.Class<? extends T> getType()
public abstract java.lang.String getId()
public abstract java.lang.String getDisplayName()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||