org.kuali.student.common.ui.client.widgets.pagetable
Class TableSelectionToLabelHandler
java.lang.Object
org.kuali.student.common.ui.client.widgets.pagetable.TableSelectionToLabelHandler
- All Implemented Interfaces:
- com.google.gwt.gen2.event.shared.EventHandler, com.google.gwt.gen2.table.event.client.RowSelectionHandler
public class TableSelectionToLabelHandler
- extends Object
- implements com.google.gwt.gen2.table.event.client.RowSelectionHandler
When this event handler is added to a table that extends
- Author:
- Kuali Student Team (gstruthers@berkeley.edu)
- See Also:
com.google.gwt.gen2.table.client.AbstractScrollTable
Where all columns contain text, the text of every selected row is copied
to a Label
Method Summary |
void |
onRowSelection(com.google.gwt.gen2.table.event.client.RowSelectionEvent event)
Copy the text from every column in every selected row to a Label |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dataTable
private com.google.gwt.gen2.table.client.FixedWidthGrid dataTable
selection
private KSLabel selection
labelPrefix
private String labelPrefix
TableSelectionToLabelHandler
public TableSelectionToLabelHandler(com.google.gwt.gen2.table.client.FixedWidthGrid dataTable,
KSLabel selection)
onRowSelection
public void onRowSelection(com.google.gwt.gen2.table.event.client.RowSelectionEvent event)
- Copy the text from every column in every selected row to a Label
- Specified by:
onRowSelection
in interface com.google.gwt.gen2.table.event.client.RowSelectionHandler
- See Also:
RowSelectionHandler.onRowSelection(com.google.gwt.gen2.table.event.client.RowSelectionEvent)
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.