public class KSPicker.BasicWidget extends Object implements HasDataValue, HasFocusLostCallbacks, TranslatableValueWidget
Constructor and Description |
---|
KSPicker.BasicWidget(com.google.gwt.user.client.ui.Widget basicWidget) |
Modifier and Type | Method and Description |
---|---|
void |
addFocusLostCallback(Callback<Boolean> callback) |
void |
addSelectionChangeHandler(SelectionChangeHandler handler) |
void |
addValueChangeCallback(Callback<Data.Value> callback) |
com.google.gwt.event.shared.HandlerRegistration |
addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<String> handler) |
void |
addValuesChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<List<String>> handler) |
void |
clear() |
com.google.gwt.user.client.ui.Widget |
get() |
String |
getDisplayValue() |
Data.Value |
getValue() |
void |
setResults(List<SelectedResults> results) |
void |
setValue(Data.Value value) |
void |
setValue(Data.Value value,
boolean fireEvents) |
void |
setValue(Map<String,String> translations) |
void |
setValue(String id,
String translation) |
public KSPicker.BasicWidget(com.google.gwt.user.client.ui.Widget basicWidget)
public void setResults(List<SelectedResults> results)
public void clear()
public void setValue(String id, String translation)
setValue
in interface TranslatableValueWidget
public void setValue(Data.Value value, boolean fireEvents)
public String getDisplayValue()
public Data.Value getValue()
getValue
in interface HasDataValue
public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<String> handler)
public void addValuesChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<List<String>> handler)
public void addSelectionChangeHandler(SelectionChangeHandler handler)
public void addValueChangeCallback(Callback<Data.Value> callback)
addValueChangeCallback
in interface HasDataValue
public void addFocusLostCallback(Callback<Boolean> callback)
addFocusLostCallback
in interface HasFocusLostCallbacks
public void setValue(Data.Value value)
setValue
in interface HasDataValue
public com.google.gwt.user.client.ui.Widget get()
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.