org.kuali.student.common.ui.client.widgets.search
Class SearchPanel
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.SearchPanel
- All Implemented Interfaces:
- com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget
public class SearchPanel
- extends com.google.gwt.user.client.ui.Composite
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, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
layout
private VerticalFlowPanel layout
searchSelectorPanel
private com.google.gwt.user.client.ui.SimplePanel searchSelectorPanel
resultsTablePanel
private VerticalFlowPanel resultsTablePanel
enteredCriteriaString
private HorizontalBlockFlowPanel enteredCriteriaString
modifySearchPanel
private CollapsablePanel modifySearchPanel
criteriaInstructions
private String criteriaInstructions
enteredCriteriaHeading
private KSLabel enteredCriteriaHeading
table
protected SearchResultsTable table
isMultiSelect
private boolean isMultiSelect
actionCancelButtons
private ActionCancelGroup actionCancelButtons
actionLabel
private String actionLabel
resultsSelected
private boolean resultsSelected
hasSearchParams
private boolean hasSearchParams
lookups
private List<LookupMetadata> lookups
multiSelect
private boolean multiSelect
resultsShown
private boolean resultsShown
activeSearchParametersWidget
private SearchPanel.SearchParametersWidget activeSearchParametersWidget
searchParameterWidgetMap
private Map<String,SearchPanel.SearchParametersWidget> searchParameterWidgetMap
searchFields
private List<SearchPanel.SearchField> searchFields
lookupChangedCallbacks
private List<Callback<LookupMetadata>> lookupChangedCallbacks
selectedLookupName
private String selectedLookupName
selectedCompleteCallbacks
private List<Callback<List<SelectedResults>>> selectedCompleteCallbacks
actionCompletedCallbacks
private List<Callback<Boolean>> actionCompletedCallbacks
actionCancelCallback
private Callback<ButtonEnumerations.ButtonEnum> actionCancelCallback
SearchPanel
public SearchPanel(LookupMetadata meta)
SearchPanel
public SearchPanel(List<LookupMetadata> metas)
getButtons
public ButtonGroup getButtons()
setMutipleSelect
public void setMutipleSelect(boolean isMultiSelect)
setupButtons
public void setupButtons()
setupSearch
public void setupSearch()
createSearchParamPanel
private com.google.gwt.user.client.ui.Widget createSearchParamPanel(LookupMetadata meta)
getSearchParam
private static SearchParam getSearchParam(com.google.gwt.user.client.ui.Widget widget,
String key)
getSearchText
private static String getSearchText(com.google.gwt.user.client.ui.Widget widget)
showCriteriaChosen
private void showCriteriaChosen(List<SearchPanel.HasSearchParam> fields)
getSelectedIds
public List<String> getSelectedIds()
getSelectedValues
public List<SelectedResults> getSelectedValues()
isMultiSelect
public boolean isMultiSelect()
setMultiSelect
public void setMultiSelect(boolean multiSelect)
getMessage
private String getMessage(String msgKey)
addLookupChangedCallback
public void addLookupChangedCallback(Callback<LookupMetadata> callback)
getActionCompleteCallback
public Callback<Boolean> getActionCompleteCallback()
getSearchRequest
public SearchRequest getSearchRequest()
setActionCancelButtonGroup
public void setActionCancelButtonGroup(ActionCancelGroup actionCancelButtons)
getSelectedLookupName
public String getSelectedLookupName()
setSelectedLookupName
public void setSelectedLookupName(String selectedLookupName)
addSelectionCompleteCallback
public void addSelectionCompleteCallback(Callback<List<SelectedResults>> callback)
addActionCompleteCallback
public void addActionCompleteCallback(Callback<Boolean> callback)
getActionLabel
public String getActionLabel()
setActionLabel
public void setActionLabel(String actionLabel)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.