org.cruxframework.crux.widgets.client.grid
Interface GridBaseTable

All Known Subinterfaces:
GridBaseFlexTable
All Known Implementing Classes:
FlexTablelessGridStructure, GridFlexTable, GridHtmlTable, TablelessGridStructure

public interface GridBaseTable

Defines the contract to implement an underlying table for the Grid.

Author:
Gesse Dafe

Method Summary
 com.google.gwt.user.client.ui.Widget asWidget()
           
 com.google.gwt.user.client.Element getBodyElement()
           
 com.google.gwt.user.client.Element getCellElement(int row, int col)
           
 com.google.gwt.dom.client.Element getElement()
           
 com.google.gwt.user.client.Element getRowElement(int row)
           
 com.google.gwt.user.client.ui.Widget getWidget(int index, int column)
           
 void onAfterRender()
           
 void removeAllRows()
           
 void resize(int rowCount, int columnCount)
           
 void setCellAlignment(int index, int colIndex, com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant horizontalAlign, com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant verticalAlign)
           
 void setCellPadding(int i)
           
 void setCellSpacing(int cellSpacing)
           
 void setCellWidth(int index, int colIndex, String width)
           
 void setVisible(boolean visible)
           
 void setWidget(int index, int column, com.google.gwt.user.client.ui.Widget widget)
           
 void setWidth(String string)
           
 

Method Detail

getCellElement

com.google.gwt.user.client.Element getCellElement(int row,
                                                  int col)

getRowElement

com.google.gwt.user.client.Element getRowElement(int row)

getBodyElement

com.google.gwt.user.client.Element getBodyElement()

setCellSpacing

void setCellSpacing(int cellSpacing)

setCellPadding

void setCellPadding(int i)

setWidth

void setWidth(String string)

getElement

com.google.gwt.dom.client.Element getElement()

asWidget

com.google.gwt.user.client.ui.Widget asWidget()

removeAllRows

void removeAllRows()

resize

void resize(int rowCount,
            int columnCount)

getWidget

com.google.gwt.user.client.ui.Widget getWidget(int index,
                                               int column)

setWidget

void setWidget(int index,
               int column,
               com.google.gwt.user.client.ui.Widget widget)

setCellAlignment

void setCellAlignment(int index,
                      int colIndex,
                      com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant horizontalAlign,
                      com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant verticalAlign)

setCellWidth

void setCellWidth(int index,
                  int colIndex,
                  String width)

setVisible

void setVisible(boolean visible)

onAfterRender

void onAfterRender()


Copyright © 2014. All rights reserved.