org.gwtbootstrap3.extras.typeahead.client.base
Class Suggestion<T>
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
org.gwtbootstrap3.extras.typeahead.client.base.Suggestion<T>
public final class Suggestion<T>
- extends JavaScriptObject
- Author:
- Florian Kremser
Suggestion
protected Suggestion()
getValue
public String getValue()
getData
public T getData()
getDataset
public Dataset<T> getDataset()
create
public static <T> Suggestion<T> create(String value,
T data,
Dataset<T> dataset)
- Create a suggestion for a data instance.
- Type Parameters:
T - the type of the data- Parameters:
value - the display value that represents the suggestion's datadata - the suggestions datadataset - the source dataset
- Returns:
- a Suggestion object
Copyright © 2015. All rights reserved.