org.kuali.student.common.ui.client.widgets.search
Class SearchResultsTable

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.kuali.student.common.ui.client.widgets.search.SearchResultsTable
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 SearchResultsTable
extends com.google.gwt.user.client.ui.Composite


Nested Class Summary
 
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
 
Field Summary
protected  boolean isMultiSelect
           
protected  com.google.gwt.user.client.ui.VerticalPanel layout
           
protected  KSButton mslabel
           
protected  int PAGE_SIZE
           
protected  String resultDisplayKey
           
protected  String resultIdColumnKey
           
protected  SearchRequest searchRequest
           
protected  SearchRpcServiceAsync searchRpcServiceAsync
           
protected  List<Callback<List<SelectedResults>>> selectedCompleteCallbacks
           
private  Table table
           
private  DefaultTableModel tableModel
           
protected  boolean withMslable
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
SearchResultsTable()
           
 
Method Summary
 void addSelectionCompleteCallback(Callback<List<SelectedResults>> callback)
           
 KSButton getMslabel()
           
 List<String> getSelectedIds()
           
 List<ResultRow> getSelectedRows()
           
 void initializeTable(List<LookupResultMetadata> listResultMetadata, String resultIdKey, String resultDisplayKey)
           
protected  void performOnDemandSearch(int startAt, int size)
           
 void performSearch(SearchRequest searchRequest, List<LookupResultMetadata> listResultMetadata, String resultIdKey)
           
 void performSearch(SearchRequest searchRequest, List<LookupResultMetadata> listResultMetadata, String resultIdKey, boolean pagedResults)
           
 void performSearch(SearchRequest searchRequest, List<LookupResultMetadata> listResultMetadata, String resultIdKey, String resultDisplayKey, boolean pagedResults)
           
 void redraw()
           
 void removeContent()
           
 void setMslabel(KSButton mslabel)
           
 void setMutipleSelect(boolean isMultiSelect)
           
 void setWithMslable(boolean withMslable)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PAGE_SIZE

protected final int PAGE_SIZE
See Also:
Constant Field Values

searchRpcServiceAsync

protected SearchRpcServiceAsync searchRpcServiceAsync

layout

protected com.google.gwt.user.client.ui.VerticalPanel layout

tableModel

private DefaultTableModel tableModel

resultIdColumnKey

protected String resultIdColumnKey

resultDisplayKey

protected String resultDisplayKey

searchRequest

protected SearchRequest searchRequest

table

private Table table

isMultiSelect

protected boolean isMultiSelect

withMslable

protected boolean withMslable

mslabel

protected KSButton mslabel

selectedCompleteCallbacks

protected List<Callback<List<SelectedResults>>> selectedCompleteCallbacks
Constructor Detail

SearchResultsTable

public SearchResultsTable()
Method Detail

getMslabel

public KSButton getMslabel()

setMslabel

public void setMslabel(KSButton mslabel)

removeContent

public void removeContent()

redraw

public void redraw()

setMutipleSelect

public void setMutipleSelect(boolean isMultiSelect)

setWithMslable

public void setWithMslable(boolean withMslable)

initializeTable

public void initializeTable(List<LookupResultMetadata> listResultMetadata,
                            String resultIdKey,
                            String resultDisplayKey)

performSearch

public void performSearch(SearchRequest searchRequest,
                          List<LookupResultMetadata> listResultMetadata,
                          String resultIdKey,
                          String resultDisplayKey,
                          boolean pagedResults)

performSearch

public void performSearch(SearchRequest searchRequest,
                          List<LookupResultMetadata> listResultMetadata,
                          String resultIdKey,
                          boolean pagedResults)

performSearch

public void performSearch(SearchRequest searchRequest,
                          List<LookupResultMetadata> listResultMetadata,
                          String resultIdKey)

performOnDemandSearch

protected void performOnDemandSearch(int startAt,
                                     int size)

getSelectedRows

public List<ResultRow> getSelectedRows()

getSelectedIds

public List<String> getSelectedIds()

addSelectionCompleteCallback

public void addSelectionCompleteCallback(Callback<List<SelectedResults>> callback)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.