org.kuali.student.common.ui.client.widgets.search
Class KSPicker
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.kuali.student.common.ui.client.widgets.search.KSPicker
- All Implemented Interfaces:
- com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.HasValueChangeHandlers<String>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget, HasCrossConstraints, HasDataValue, HasFocusLostCallbacks, TranslatableValueWidget, HasInputWidget
- Direct Known Subclasses:
- CluSetEditorWidget.Picker, CluSetsConfigurer.Picker, ClusetView.Picker
public class KSPicker
- extends com.google.gwt.user.client.ui.Composite
- implements HasFocusLostCallbacks, com.google.gwt.event.logical.shared.HasValueChangeHandlers<String>, HasDataValue, TranslatableValueWidget, HasInputWidget, HasCrossConstraints
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
Methods inherited from class com.google.gwt.user.client.ui.Composite |
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
fireEvent |
KSPicker
public KSPicker(WidgetConfigInfo config)
KSPicker
public KSPicker(LookupMetadata inLookupMetadata,
List<LookupMetadata> additionalLookupMetadata)
getSearchPanel
public SearchPanel getSearchPanel()
getInputWidget
public com.google.gwt.user.client.ui.Widget getInputWidget()
- Specified by:
getInputWidget
in interface HasInputWidget
getSearchWindow
public AdvancedSearchWindow getSearchWindow()
addBasicSelectionCompletedCallback
public void addBasicSelectionCompletedCallback(Callback<SelectedResults> callback)
addBasicSelectionTextChangeCallback
public void addBasicSelectionTextChangeCallback(Callback<String> callback)
addValueChangeCallback
public void addValueChangeCallback(Callback<Data.Value> callback)
- Specified by:
addValueChangeCallback
in interface HasDataValue
setValue
public void setValue(Data.Value value)
- Specified by:
setValue
in interface HasDataValue
setValue
public void setValue(String value)
setValue
public void setValue(Data.Value value,
boolean fireEvents)
clear
public void clear()
setValue
public void setValue(String id,
String translation)
- Specified by:
setValue
in interface TranslatableValueWidget
getValue
public Data.Value getValue()
- Specified by:
getValue
in interface HasDataValue
getDisplayValue
public String getDisplayValue()
addValueChangeHandler
public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<String> handler)
- Specified by:
addValueChangeHandler
in interface com.google.gwt.event.logical.shared.HasValueChangeHandlers<String>
addValuesChangeHandler
public void addValuesChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<List<String>> handler)
addSelectionChangeHandler
public void addSelectionChangeHandler(SelectionChangeHandler handler)
addFocusLostCallback
public void addFocusLostCallback(Callback<Boolean> callback)
- Specified by:
addFocusLostCallback
in interface HasFocusLostCallbacks
setAdvancedSearchCallback
public void setAdvancedSearchCallback(Callback<List<SelectedResults>> advancedSearchCallback)
setValue
public void setValue(Map<String,String> translations)
- Specified by:
setValue
in interface TranslatableValueWidget
getCrossConstraints
public HashSet<String> getCrossConstraints()
- Specified by:
getCrossConstraints
in interface HasCrossConstraints
reprocessWithUpdatedConstraints
public void reprocessWithUpdatedConstraints()
- Specified by:
reprocessWithUpdatedConstraints
in interface HasCrossConstraints
getAdvancedSearchCallback
public Callback<List<SelectedResults>> getAdvancedSearchCallback()
onEnsureDebugId
protected void onEnsureDebugId(String baseID)
- Overrides:
onEnsureDebugId
in class com.google.gwt.user.client.ui.UIObject
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.