org.kuali.student.common.ui.client.widgets.table.summary
Class SummaryTable

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.Panel
              extended by com.google.gwt.user.client.ui.HTMLTable
                  extended by com.google.gwt.user.client.ui.FlexTable
                      extended by org.kuali.student.common.ui.client.widgets.table.summary.SummaryTable
All Implemented Interfaces:
com.google.gwt.event.dom.client.HasClickHandlers, com.google.gwt.event.dom.client.HasDoubleClickHandlers, 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.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, com.google.gwt.user.client.ui.SourcesTableEvents, Iterable<com.google.gwt.user.client.ui.Widget>

public class SummaryTable
extends com.google.gwt.user.client.ui.FlexTable


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.FlexTable
com.google.gwt.user.client.ui.FlexTable.FlexCellFormatter
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.HTMLTable
com.google.gwt.user.client.ui.HTMLTable.Cell, com.google.gwt.user.client.ui.HTMLTable.CellFormatter, com.google.gwt.user.client.ui.HTMLTable.ColumnFormatter, com.google.gwt.user.client.ui.HTMLTable.RowFormatter
 
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
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
 
Field Summary
private  SummaryTableModel model
           
private  int rowIndex
           
private  HashMap<String,Integer> rowMap
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
SummaryTable()
           
 
Method Summary
private  void addSection(SummaryTableBlock section)
           
private  void addSectionRow(SummaryTableRow row)
           
 void clearHighlightCell(String rowKey, int cellIndex)
           
 void clearHighlightedRows(String removeThisStyle)
           
 void clearHighlightRow(String rowKey, String removeThisStyle)
           
 boolean containsKey(String key)
           
 void doLayout()
           
 SummaryTableModel getModel()
           
 void highlightCell(String rowKey, int cellIndex, String style)
           
 void highlightRow(String rowKey, String style)
           
 void markDiffs(String style)
           
 void setModel(SummaryTableModel model)
           
 
Methods inherited from class com.google.gwt.user.client.ui.FlexTable
addCell, getCellCount, getFlexCellFormatter, getRowCount, insertCell, insertRow, prepareCell, prepareRow, removeAllRows, removeCell, removeCells, removeRow
 
Methods inherited from class com.google.gwt.user.client.ui.HTMLTable
addClickHandler, addDoubleClickHandler, addTableListener, checkCellBounds, checkRowBounds, clear, clear, clearCell, createCell, getBodyElement, getCellForEvent, getCellFormatter, getCellPadding, getCellSpacing, getColumnFormatter, getDOMCellCount, getDOMCellCount, getDOMRowCount, getDOMRowCount, getEventTargetCell, getHTML, getRowFormatter, getText, getWidget, insertCells, internalClearCell, isCellPresent, iterator, onEnsureDebugId, prepareColumn, remove, removeTableListener, setBorderWidth, setCellFormatter, setCellPadding, setCellSpacing, setColumnFormatter, setHTML, setHTML, setRowFormatter, setText, setWidget, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, add, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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, 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
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Field Detail

model

private SummaryTableModel model

rowIndex

private int rowIndex

rowMap

private HashMap<String,Integer> rowMap
Constructor Detail

SummaryTable

public SummaryTable()
Method Detail

getModel

public SummaryTableModel getModel()

setModel

public void setModel(SummaryTableModel model)

doLayout

public void doLayout()

markDiffs

public void markDiffs(String style)

containsKey

public boolean containsKey(String key)

highlightRow

public void highlightRow(String rowKey,
                         String style)

clearHighlightRow

public void clearHighlightRow(String rowKey,
                              String removeThisStyle)

clearHighlightedRows

public void clearHighlightedRows(String removeThisStyle)

highlightCell

public void highlightCell(String rowKey,
                          int cellIndex,
                          String style)

clearHighlightCell

public void clearHighlightCell(String rowKey,
                               int cellIndex)

addSection

private void addSection(SummaryTableBlock section)

addSectionRow

private void addSectionRow(SummaryTableRow row)


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