org.eaglei.datatools.client.ui
Class ResourcesGrid

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.eaglei.datatools.client.ui.ResourcesGrid
All Implemented Interfaces:
com.google.gwt.event.dom.client.HasClickHandlers, 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.SourcesTableEvents, java.lang.Iterable<com.google.gwt.user.client.ui.Widget>

public class ResourcesGrid
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
 
Field Summary
 org.eaglei.model.EIInstance[] aryInstance
           
static java.lang.String[] RESOURCE_COLUMN_NAMES
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
ResourcesGrid(java.util.List<org.eaglei.model.EIInstance> instances)
           
ResourcesGrid(java.util.List<org.eaglei.model.EIInstance> instances, java.lang.String type)
           
ResourcesGrid(java.lang.String type, FilterPanel fp, java.lang.String userUri)
           
ResourcesGrid(java.lang.String userUri, java.lang.String type, boolean isLab)
          Creates a grid with resources of a particular lab
 
Method Summary
 void createInstanceRow(int row, org.eaglei.model.EIInstance instance)
           
 com.google.gwt.user.client.ui.CheckBox[] getChkBoxRefAry()
           
 org.eaglei.model.EIInstance getInstanceInGridByRow(int row)
           
 void setChkBoxRefAry(com.google.gwt.user.client.ui.CheckBox[] chkBoxRefAry)
           
 
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, 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, setRowFormatter, setText, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, adopt, disown, doAttachChildren, doDetachChildren, onLoad, onUnload, orphan
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addDomHandler, addHandler, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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, 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
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Field Detail

RESOURCE_COLUMN_NAMES

public static final java.lang.String[] RESOURCE_COLUMN_NAMES

aryInstance

public org.eaglei.model.EIInstance[] aryInstance
Constructor Detail

ResourcesGrid

public ResourcesGrid(java.lang.String type,
                     FilterPanel fp,
                     java.lang.String userUri)
Parameters:
type - - uri of the resource
fp -
userUri -

ResourcesGrid

public ResourcesGrid(java.lang.String userUri,
                     java.lang.String type,
                     boolean isLab)
Creates a grid with resources of a particular lab

Parameters:
type -
isLab -

ResourcesGrid

public ResourcesGrid(java.util.List<org.eaglei.model.EIInstance> instances,
                     java.lang.String type)

ResourcesGrid

public ResourcesGrid(java.util.List<org.eaglei.model.EIInstance> instances)
Method Detail

createInstanceRow

public void createInstanceRow(int row,
                              org.eaglei.model.EIInstance instance)

getInstanceInGridByRow

public org.eaglei.model.EIInstance getInstanceInGridByRow(int row)

getChkBoxRefAry

public com.google.gwt.user.client.ui.CheckBox[] getChkBoxRefAry()

setChkBoxRefAry

public void setChkBoxRefAry(com.google.gwt.user.client.ui.CheckBox[] chkBoxRefAry)


Copyright © 2009-2010 Eagle-I. All Rights Reserved.