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.shared.HasHandlers, com.google.gwt.user.client.EventListener

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
private  boolean isMultiSelect
           
private  com.google.gwt.user.client.ui.VerticalPanel layout
           
private  KSButton mslabel
           
private  int PAGE_SIZE
           
private  String resultIdColumnKey
           
private  SearchRequest searchRequest
           
private  SearchRpcServiceAsync searchRpcServiceAsync
           
private  Table table
           
private  DefaultTableModel tableModel
           
private  boolean withMslable
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
SearchResultsTable()
           
 
Method Summary
 Table getContentTable()
           
 KSButton getMslabel()
           
 List<String> getSelectedIds()
           
 List<ResultRow> getSelectedRows()
           
 void initializeTable(List<LookupResultMetadata> listResultMetadata, String resultIdKey)
           
private  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 redraw()
           
 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
addDomHandler, addHandler, 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, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PAGE_SIZE

private final int PAGE_SIZE
See Also:
Constant Field Values

searchRpcServiceAsync

private SearchRpcServiceAsync searchRpcServiceAsync

layout

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

tableModel

private DefaultTableModel tableModel

resultIdColumnKey

private String resultIdColumnKey

searchRequest

private SearchRequest searchRequest

table

private Table table

isMultiSelect

private boolean isMultiSelect

withMslable

private boolean withMslable

mslabel

private KSButton mslabel
Constructor Detail

SearchResultsTable

public SearchResultsTable()
Method Detail

getMslabel

public KSButton getMslabel()

setMslabel

public void setMslabel(KSButton mslabel)

getContentTable

public Table getContentTable()

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)

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

private void performOnDemandSearch(int startAt,
                                   int size)

getSelectedRows

public List<ResultRow> getSelectedRows()

getSelectedIds

public List<String> getSelectedIds()


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.