public class LookupResultProxy extends Object implements LookupResultHandler, Cloneable
Modifier and Type | Field and Description |
---|---|
protected List<LookupResultHandler> |
handlers
List of
LookupResultHandlers to which the events will be
forwarded. |
Modifier | Constructor and Description |
---|---|
|
LookupResultProxy()
Initialize the proxy with an empty list of handlers.
|
protected |
LookupResultProxy(List<LookupResultHandler> _handlers)
Initialize the proxy with a list of lookup result handlers.
|
|
LookupResultProxy(LookupResultHandler _forwardTo)
Initialize the proxy, setting a single result handler to which actions are forwarded.
|
Modifier and Type | Method and Description |
---|---|
void |
addHandler(LookupResultHandler handler) |
void |
clearHandlers() |
LookupResultProxy |
clone() |
void |
dictionary(Dictionary dictionary) |
void |
dictionaryEntry(DictionaryEntry entry) |
void |
endLookup() |
void |
exception(SearchException ex) |
void |
note(String note) |
void |
removeHandler(LookupResultHandler handler) |
void |
startLookup(LookupModel model) |
void |
startLookup(String description) |
protected List<LookupResultHandler> handlers
LookupResultHandlers
to which the events will be
forwarded.public LookupResultProxy()
addHandler
.public LookupResultProxy(LookupResultHandler _forwardTo)
protected LookupResultProxy(List<LookupResultHandler> _handlers)
public void addHandler(LookupResultHandler handler)
public void removeHandler(LookupResultHandler handler)
public void clearHandlers()
public void startLookup(String description)
startLookup
in interface LookupResultHandler
public void startLookup(LookupModel model)
startLookup
in interface LookupResultHandler
public void dictionary(Dictionary dictionary)
dictionary
in interface LookupResultHandler
public void dictionaryEntry(DictionaryEntry entry)
dictionaryEntry
in interface LookupResultHandler
public void exception(SearchException ex)
exception
in interface LookupResultHandler
public void note(String note)
note
in interface LookupResultHandler
public void endLookup()
endLookup
in interface LookupResultHandler
public LookupResultProxy clone()
Copyright © 2001-2013 the JGloss developers. All Rights Reserved.