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

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.TempSearchBackedTable
All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener

public class TempSearchBackedTable
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  PagingScrollTableBuilder<ResultRow> builder
           
private  List<com.google.gwt.gen2.table.client.AbstractColumnDefinition<ResultRow,?>> columnDefs
           
private  com.google.gwt.user.client.ui.VerticalPanel layout
           
private  com.google.gwt.gen2.table.client.PagingOptions pagingOptions
           
protected  com.google.gwt.gen2.table.client.PagingScrollTable<ResultRow> pagingScrollTable
           
private  String resultIdColumnKey
           
private  List<ResultRow> resultRows
           
private  SearchRpcServiceAsync searchRpcServiceAsync
           
private  GenericTableModel<ResultRow> tableModel
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
TempSearchBackedTable()
           
 
Method Summary
 void addSelectionHandler(com.google.gwt.gen2.table.event.client.RowSelectionHandler selectionHandler)
           
 void clearTable()
           
private  com.google.gwt.gen2.table.client.PagingOptions createPagingOptions(com.google.gwt.gen2.table.client.PagingScrollTable<ResultRow> pagingScrollTable)
           
 List<String> getAllIds()
           
 List<ResultRow> getAllRows()
           
 List<String> getSelectedIds()
           
 List<ResultRow> getSelectedRows()
           
 void initializeTable(List<LookupResultMetadata> listResultMetadata, String resultIdKey)
           
 void performSearch(SearchRequest searchRequest, List<LookupResultMetadata> listResultMetadata, String resultIdKey)
           
 void redraw()
           
 void removeSelected()
           
 
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

resultRows

private List<ResultRow> resultRows

columnDefs

private List<com.google.gwt.gen2.table.client.AbstractColumnDefinition<ResultRow,?>> columnDefs

tableModel

private GenericTableModel<ResultRow> tableModel

builder

private PagingScrollTableBuilder<ResultRow> builder

resultIdColumnKey

private String resultIdColumnKey

pagingScrollTable

protected com.google.gwt.gen2.table.client.PagingScrollTable<ResultRow> pagingScrollTable

layout

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

pagingOptions

private com.google.gwt.gen2.table.client.PagingOptions pagingOptions

searchRpcServiceAsync

private SearchRpcServiceAsync searchRpcServiceAsync
Constructor Detail

TempSearchBackedTable

public TempSearchBackedTable()
Method Detail

createPagingOptions

private com.google.gwt.gen2.table.client.PagingOptions createPagingOptions(com.google.gwt.gen2.table.client.PagingScrollTable<ResultRow> pagingScrollTable)

clearTable

public void clearTable()

removeSelected

public void removeSelected()

performSearch

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

initializeTable

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

redraw

public void redraw()

addSelectionHandler

public void addSelectionHandler(com.google.gwt.gen2.table.event.client.RowSelectionHandler selectionHandler)

getSelectedRows

public List<ResultRow> getSelectedRows()

getSelectedIds

public List<String> getSelectedIds()

getAllIds

public List<String> getAllIds()

getAllRows

public List<ResultRow> getAllRows()


Copyright © 2010 The Kuali Foundation. All rights reserved.