public class SuggestionModelEvent extends ListModelEvent
SuggestionBoxDataModel for the same purposes but proides
additional event types.ListModelEvent.EventType| Modifier and Type | Field and Description |
|---|---|
static ListModelEvent.EventType |
EXPRESSION_CHANGED
expression value changed
|
ADD_ITEM, CLEAN, REMOVE_ITEM, SELECT_ITEM| Constructor and Description |
|---|
SuggestionModelEvent(ListDataModel source,
ListModelEvent.EventType type,
String expression)
Creates an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExpression()
Gets an expression value.
|
getItemId, getItemIndex, getItemIndexes, getSource, getTypepublic static final ListModelEvent.EventType EXPRESSION_CHANGED
public SuggestionModelEvent(ListDataModel source, ListModelEvent.EventType type, String expression)
source - is a data model that produced the event.type - is an event type.expression - is an expression value.public String getExpression()
null if the event is not related to expression changes.Copyright © 2008–2013. All rights reserved.